/* ==========================================================================
   IMZAPALET.COM.TR - SAWMALL INDEX-3 OZEL TEMA KATMANI (#ab7442)
   ========================================================================== */

:root {
    --imza-amber: #ab7442;
    --imza-dark-amber: #8a5b31;
    --imza-dark: #222222;
    --imza-ink: #2c2a29;
    --imza-muted: #66635e;
    --imza-warm-bg: #f8f6f2;
    --imza-border: #e5dfd6;
}

.preloader,
.color-palate {
    display: none !important;
}

html {
    scroll-behavior: auto !important;
}

body {
    font-family: 'Raleway', 'Archivo', sans-serif;
    color: var(--imza-ink);
    overflow-x: hidden;
}

/* Header & 3 Seviyeli Menu Duzeltmeleri */
.header-style-three .header-upper {
    padding: 16px 0;
    background: #ffffff;
}

.header-style-three .logo-box .logo img {
    max-height: 68px;
    width: auto;
}

.sticky-header .logo img {
    max-height: 55px;
    width: auto;
}

.header-style-three .header-upper .info-box {
    margin-bottom: 0;
}

.header-style-three .header-upper .info-box ul li {
    text-transform: none !important;
}

.header-style-three .header-lower {
    background: #222222;
}

.main-menu .navigation>li>a {
    text-transform: uppercase !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.header-style-three .main-menu .navigation>li.current>a,
.header-style-three .main-menu .navigation>li:hover>a,
.sticky-header .main-menu .navigation>li.current>a,
.sticky-header .main-menu .navigation>li:hover>a {
    color: var(--imza-amber) !important;
    font-weight: 800 !important;
}

.main-menu .navigation>li>ul {
    width: max-content !important;
    min-width: 265px;
    max-width: 340px;
    transition: opacity 0.15s ease !important;
    z-index: 9999 !important;
}

.main-menu .navigation>li>ul>li>ul {
    width: max-content !important;
    min-width: 275px;
    max-width: 360px;
    max-height: 75vh;
    overflow-y: auto;
    left: 100% !important;
    top: 0 !important;
    background: #ffffff;
    border: 3px solid var(--imza-amber);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    z-index: 9999 !important;
}

.main-menu .navigation li.dropdown:hover>ul {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.main-menu .navigation>li>ul li>a {
    text-transform: none !important;
    white-space: normal !important;
    padding: 9px 30px 9px 18px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.main-menu .navigation>li>ul li.current>a {
    background: var(--imza-amber) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Ana Sayfa Hero Slider */
.main-slider.style-two .slide {
    padding: 135px 0 145px !important;
    background-size: cover;
    background-position: center;
    position: relative;
}

.main-slider.style-two .slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(18, 18, 18, 0.86) 0%, rgba(18, 18, 18, 0.56) 60%, rgba(18, 18, 18, 0.35) 100%);
    z-index: 0;
}

.main-slider.style-two .slide .auto-container {
    position: relative;
    z-index: 2;
}

.main-slider.style-two h1,
.main-slider.style-two h2 {
    font-size: clamp(2rem, 3.6vw, 3.1rem) !important;
    line-height: 1.18 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: none !important;
}

.main-slider.style-two .slide .title,
.main-slider.style-two .slide .text,
.main-slider.style-two .slide .link-box {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* What We Do / Cozumlerimiz (Sawmall Section) */
.what-we-section {
    padding: 85px 0 65px;
}

.services-block-two .inner-box {
    height: 100%;
    background: #ffffff !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-block-two .inner-box::before,
.services-block-two .inner-box::after {
    display: none !important;
}

.services-block-two .inner-box:hover {
    transform: translateY(-4px);
    border-color: var(--imza-amber) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.imza-product-thumb img[src*="/urunler/"],
.imza-featured-photo img[src*="/urunler/"] {
    object-fit: contain !important;
    background: #ffffff !important;
    padding: 10px;
}

/* Urun Kartlari */
.imza-section-pad {
    padding: 68px 0;
    background: var(--imza-warm-bg);
}

.imza-product-card {
    background: #ffffff;
    border: 1px solid var(--imza-border);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.imza-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--imza-amber);
    box-shadow: 0 14px 32px rgba(171, 116, 66, 0.14);
}

.imza-product-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: #f5f3ef;
    overflow: hidden;
    border-bottom: 1px solid var(--imza-border);
}

.imza-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imza-product-card:hover .imza-product-thumb img {
    transform: scale(1.04);
}

.imza-product-body {
    padding: 20px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.imza-product-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--imza-amber);
    margin-bottom: 6px;
}

.imza-product-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.imza-product-title a {
    color: var(--imza-dark);
}

.imza-product-title a:hover {
    color: var(--imza-amber);
}

.imza-product-desc {
    color: var(--imza-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 14px;
}

.imza-read-more {
    color: var(--imza-amber);
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.imza-read-more:hover {
    color: var(--imza-dark);
}

/* Fluid Why Choose Us & Fact Counter */
.fluid-section-two .image-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* News / Palet Bilgileri */
.news-section .news-block-three .image img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

/* Ic Sayfa Page Banner (Sawmall Page Title Style) */
.imza-page-banner {
    background-color: #1f1d1b;
    background-size: cover;
    background-position: center;
    padding: 72px 0 64px;
    color: #ffffff;
    position: relative;
}

.imza-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(22, 20, 18, 0.90) 35%, rgba(45, 34, 22, 0.78) 100%);
}

.imza-page-banner .auto-container {
    position: relative;
    z-index: 2;
}

.imza-page-banner h1 {
    font-size: clamp(1.75rem, 2.8vw, 2.55rem);
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}

.imza-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}

.imza-breadcrumb li {
    color: #e6cbb1;
}

.imza-breadcrumb li a {
    color: #ffffff;
    font-weight: 500;
}

.imza-breadcrumb li a:hover {
    color: var(--imza-amber);
}

.imza-breadcrumb li+li::before {
    content: "/";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.45);
}

/* Ic Sayfa Prose, Meta, Etiket & Sidebar */
.imza-article-card {
    background: #ffffff;
    border: 1px solid var(--imza-border);
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.04);
}

.imza-featured-photo {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid var(--imza-border);
    background: #f5f3ef;
}

.imza-featured-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.imza-hosgeldiniz-section .imza-featured-photo {
    max-width: 576px;
    margin-left: auto;
    margin-right: auto;
}

.imza-hosgeldiniz-section .imza-featured-photo img {
    aspect-ratio: 576 / 528 !important;
    object-fit: contain !important;
}

.imza-meta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 10px 15px;
    background: var(--imza-warm-bg);
    border: 1px solid var(--imza-border);
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--imza-muted);
    margin-bottom: 22px;
}

.imza-meta-strip i {
    color: var(--imza-amber);
}

.imza-prose {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--imza-ink);
}

.imza-prose h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 26px;
    margin-bottom: 12px;
    padding-bottom: 7px;
    border-bottom: 2px solid var(--imza-border);
    color: var(--imza-dark);
}

.imza-prose h3 {
    font-size: 18.5px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--imza-dark-amber);
}

.imza-prose p {
    margin-bottom: 14px;
}

.imza-prose ul,
.imza-prose ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.imza-prose li {
    margin-bottom: 8px;
    list-style: disc;
}

.content-tags-area {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--imza-border);
}

.imza-tag-pill {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 6px 8px 0;
    background: var(--imza-warm-bg);
    border: 1px solid var(--imza-border);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: var(--imza-dark);
    transition: all 0.2s ease;
}

.imza-tag-pill:hover {
    background: var(--imza-amber);
    border-color: var(--imza-amber);
    color: #ffffff;
}

/* Sidebar */
.imza-side-card {
    background: #ffffff;
    border: 1px solid var(--imza-border);
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.imza-side-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--imza-amber);
    color: var(--imza-dark);
}

.imza-side-links li+li {
    border-top: 1px solid var(--imza-border);
}

.imza-side-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 4px;
    color: var(--imza-ink);
    font-size: 14px;
    font-weight: 500;
}

.imza-side-links li.active a,
.imza-side-links a:hover {
    color: var(--imza-amber);
    font-weight: 700;
}

/* Sayfalama */
.imza-pagination .page-link {
    color: var(--imza-dark);
    border-color: var(--imza-border);
    margin: 0 3px;
    border-radius: 6px;
    font-weight: 600;
}

.imza-pagination .page-item.active .page-link {
    background: var(--imza-amber);
    border-color: var(--imza-amber);
    color: #ffffff;
}

/* Scroll-to-top + Sabit WhatsApp Konumlandirma */
.main-footer .footer-bottom .scroll-to-top {
    display: none;
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 980;
    width: auto;
    padding: 8px 14px;
    border-radius: 6px;
    background: var(--imza-dark);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.desktop-whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 995;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.22));
    transition: transform 0.2s ease;
}

.desktop-whatsapp-float:hover {
    transform: translateY(-3px);
}

.desktop-whatsapp-float img {
    width: 170px;
    height: auto;
    display: block;
}

/* Sabit Mobil Iletisim Cubugu (ankarahosting.com standardi) */
.mobile-bottom-bar {
    display: none !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1f1d1b;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 12px;
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.28);
}

.mobile-bottom-bar a {
    flex: 1;
    text-align: center;
    padding: 11px 8px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-bottom-bar .btn-call {
    background: var(--imza-amber);
    color: #ffffff !important;
}

.mobile-bottom-bar .btn-wa {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
}

@media (max-width: 991px) {
    body {
        padding-bottom: 66px;
    }

    .main-slider.style-two .slide {
        padding: 90px 0 95px !important;
    }

    .desktop-whatsapp-float {
        display: none !important;
    }

    .mobile-bottom-bar {
        display: flex !important;
    }

    #aichatbot_ra_div_id .rcw-widget-container {
        bottom: 72px !important;
    }

    .main-footer .footer-bottom .scroll-to-top {
        bottom: 78px !important;
    }

    .imza-article-card {
        padding: 18px;
    }
}