﻿   /* =============================================== */
    /* --- ANA (GLOBAL) STİL DOSYASI - GÜNCEL --- */
    /* =============================================== */

    /* --- Değişkenler ve Temel Ayarlar --- */
    :root {
         --primary-color: #4c553c;
        /*--primary-color: #2e6b34;*/
        --secondary-color: #ffffff;
        --dark-text: #222222;
        /*--light-text: #f8f9fa;*/
        --light-text: #cbb26a;
        --background-gray: #f7f7f7;
        --border-color: #dddddd;
    }

    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        font-size: 16px;
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Poppins', sans-serif;
        line-height: 1.7;
        color: var(--dark-text);
        background-color: var(--secondary-color);
        margin: 0;
        padding-top: 130px; /* Sabit header için doğru tam yükseklik */
    }

    .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        text-align: center;
        font-size: 1.1rem;
        color: #666;
        margin-bottom: 3rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* --- Header Alanı --- */
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--secondary-color);
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .header-top-bar {
        background-color: #333;
        color: var(--light-text);
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }

        .header-top-bar .container {
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

        .header-top-bar a {
            color: var(--light-text);
            text-decoration: none;
            margin-left: 20px;
        }

.main-navigation {
    padding: 0.875rem 0;
    position: relative;
}

        .main-navigation .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

    .logo a img {
        max-height: 70px;
        width: auto;
        display: block;
    }

    /* --- Navigasyon Sistemleri --- */
    /* Masaüstü Navigasyonu */
    .desktop-nav > ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        align-items: center;
    }

    .desktop-nav li {
        margin: 0 15px;
    }

    .desktop-nav > ul > li > a {
        color: var(--dark-text);
        text-decoration: none;
        font-weight: 500;
        white-space: nowrap;
    }
    /* Masaüstü açılır menü için temel, isteğe bağlı eklenebilir. */
    .desktop-nav .has-submenu {
        position: relative;
    }

    /* Mobil Navigasyon (Hamburger & Panel) */
    /*.hamburger-toggle {
        background: none;
        border: none;
        color: var(--dark-text);
        font-size: 1.8rem;
        cursor: pointer;
    }

    .mobile-nav-panel {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        padding-top: 60px;
        transition: left 0.3s ease-in-out;
        z-index: 2000;
        overflow-y: auto;
    }

        .mobile-nav-panel.is-open {
            left: 0;
        }

    .close-toggle {
        position: absolute;
        top: 20px;
        right: 25px;
        background: none;
        border: none;
        color: var(--secondary-color);
        font-size: 2rem;
        cursor: pointer;
    }

    .mobile-nav-panel > ul {
        list-style: none;
        padding: 40px 0;
        margin: 0;
    }

    .mobile-nav-panel li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .mobile-nav-panel li a {
            display: block;
            padding: 15px 30px;
            color: var(--secondary-color);
            text-decoration: none;
            font-size: 1.2rem;
        }

    .mobile-nav-panel .has-submenu > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .mobile-nav-panel .has-submenu > a::after {
            content: '›';
            font-size: 1.5rem;
            transform: rotate(90deg);
            transition: transform 0.3s ease;
        }

    .mobile-nav-panel .submenu {
        display: none;
        background-color: rgba(0, 0, 0, 0.15);
        padding-left: 20px;
    }

    .mobile-nav-panel .menu-item-open > .submenu {
        display: block;
    }

    .mobile-nav-panel .menu-item-open > a::after {
        transform: rotate(-90deg);
    }*/

/* --- MOBİL NAV (SAYFALI / SLIDE MENÜ) --- */

.hamburger-toggle {
    background: none;
    border: none;
    color: var(--dark-text);
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    transition: left 0.3s ease-in-out;
    z-index: 2000;
    overflow: hidden;
}

    .mobile-nav-panel.is-open {
        left: 0;
    }

.close-toggle {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 2rem;
    cursor: pointer;
}

/* ROOT MENU */
.mobile-nav-panel > ul {
    position: relative;
    list-style: none;
    padding: 60px 0 40px;
    margin: 0;
}

.mobile-nav-panel li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .mobile-nav-panel li a {
        display: block;
        padding: 15px 30px;
        color: var(--secondary-color);
        text-decoration: none;
        font-size: 1.1rem;
    }

.mobile-nav-panel .has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .mobile-nav-panel .has-submenu > a::after {
        content: "›";
        font-size: 1.4rem;
    }

/* ALT MENÜLER PANEL OLDU */
.mobile-nav-panel .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    padding: 60px 0 40px;
    list-style: none;
    margin: 0;
    transition: transform 0.3s ease-in-out;
    transform: translateX(0);
    z-index: 1;
}

/* AÇILINCA EKRANA GİRER */
.menu-item-open > .submenu {
    transform: translateX(-100%);
}

/* GERİ BUTONU */
.submenu .back-item button {
    width: 100%;
    padding: 15px 30px;
    border: none;
    background: none;
    color: var(--secondary-color);
    font-size: 1.1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

    .submenu .back-item button i {
        font-size: 1.2rem;
    }

    /* --- Genel Buton Stilleri --- */
    .btn {
        text-decoration: none;
        padding: 12px 28px;
        border-radius: 5px;
        font-weight: bold;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .btn-primary {
        background-color: var(--primary-color);
        color: var(--secondary-color);
    }

        .btn-primary:hover {
            background-color: #3e4530;
        }

    /* --- Alt Sayfalar İçin Ortak Başlık --- */
    .page-header {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        padding: 60px 0;
        text-align: center;
    }

        .page-header h1 {
            font-size: 2.8rem;
            margin: 0;
        }

        .page-header p {
            font-size: 1.2rem;
            opacity: 0.8;
            margin-top: 10px;
        }

    /* --- Çözüm Ortakları (Logo Kaydırma) Bölümü --- */
    .partners-section {
        padding: 2rem 0;
        background-color: var(--background-gray);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }

        .partners-section h3 {
            text-align: center;
            font-weight: 500;
            color: #888;
            margin-top: 0;
            margin-bottom: 2rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

    .logos-wrapper {
        overflow: hidden;
        width: 100%;
        position: relative;
        -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
        mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    }

    .logos-scroll {
        display: flex;
        width: max-content;
        animation: scroll 30s linear infinite;
    }

    .logo-item {
        display: flex;
        align-items: center;
        padding: 0 40px;
    }

        .logo-item img {
            max-height: 50px;
            width: auto;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all 0.3s ease;
        }

        .logo-item:hover img {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.1);
        }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    /* --- Footer Alanı --- */
    .site-footer {
        background-color: #222;
        color: var(--light-text);
        padding: 4rem 0 0 0;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .footer-column h4 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        color: var(--secondary-color);
    }

    .footer-column ul {
        list-style: none;
        padding: 0;
    }

    .footer-column li {
        margin-bottom: 1rem;
    }

    .footer-column a {
        color: var(--light-text);
        text-decoration: none;
        opacity: 0.7;
        transition: opacity 0.3s;
    }

        .footer-column a:hover {
            opacity: 1;
        }

    .footer-bottom {
        border-top: 1px solid #444;
        text-align: center;
        padding: 1.5rem 0;
        margin-top: 3rem;
        font-size: 0.9rem;
        opacity: 0.7;
    }

    /* =============================================== */
    /* --- RESPONSIVE KONTROL (Menü Değişimi) --- */
    /* =============================================== */
    /* Mobil-Öncelikli: Varsayılan olarak masaüstü gizli, mobil görünür */
    .desktop-nav {
        display: none;
    }

    .mobile-nav-container {
        display: block;
    }

    /* Geniş ekranlarda (masaüstü) tam tersi */
    @media (min-width: 992px) {
        .desktop-nav {
            display: block;
        }

        .mobile-nav-container {
            display: none;
        }
    }

/* ======================================================= */
/* --- MASAÜSTÜ MEGA MENÜ (XPEL BENZERİ) --- */
/* ======================================================= */

/* Ürünler li'si normal konumda dursun */
.desktop-nav .has-submenu {
    position: static;
}

/* Panel: header altına tam genişlikte yayılıyor (varsayılan kapalı) */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%; /* main-navigation'ın altı */
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--secondary-color);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-top: 1px solid var(--border-color);
    padding: 1.75rem 0 2.5rem;
    z-index: 1001; /* overlay'den yukarıda */
}

/* CLICK ile aç: .is-open class'ı geldiğinde göster */
.desktop-nav .has-submenu.is-open > .mega-menu {
    display: block;
}

/* İçerik hizalama */
.mega-menu-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Üstteki "Tüm Ürünler →" satırı */
.mega-menu-header {
    margin-bottom: 1.75rem;
    text-align: left;
}

    .mega-menu-header a {
        font-size: 1.35rem;
        font-weight: 600;
        color: var(--dark-text);
        text-decoration: none;
    }

        .mega-menu-header a span {
            margin-left: 0.35rem;
            font-size: 1.3rem;
        }

/* 3 sütunlu grid */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
}

/* Sütun başlığı */
.mega-menu-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 0.75rem 0;
}

/* Link listesi */
.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .mega-menu-links li a {
        display: block;
        padding: 0.25rem 0;
        font-size: 0.95rem;
        color: #444;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .mega-menu-links li a:hover {
            color: var(--primary-color);
        }

/* BLUR OVERLAY (sadece alt kısmı bulanıklaştırır) */
.mega-menu-overlay {
    position: fixed;
    top: 130px; /* header yüksekliğine göre ayarla */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 900; /* içerikten yüksek, mega menüden düşük */
}

    /* Açıkken overlay aktif */
    .mega-menu-overlay.is-active {
        display: block;
    }

    /* ======================================================= */
    /* --- MASAÜSTÜ MEGA MENÜ STİLLERİ --- */
    /* ======================================================= */

    /*.desktop-nav .has-submenu {
        position: relative;
    }

    .mega-menu {
        display: none;*/ /* Varsayılan olarak gizli */
        /*position: absolute;
        top: 120%;*/ /* Link ile arasında küçük bir boşluk bırakarak başla */
        /*left: 50%;
        transform: translateX(-50%);
        width: 700px;*/ /* Panel genişliği */
        /*background-color: var(--secondary-color);
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        padding: 2rem;
        border-radius: 8px;
        opacity: 0;
        visibility: hidden;
        transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s;
        z-index: 100;
    }*/

    /* Üzerine gelince mega menüyü göster */
    /*.desktop-nav .has-submenu:hover > .mega-menu {
        display: block;
        top: 100%;*/ /* Hover olunca boşluğu kapat ve görünür yap */
        /*opacity: 1;
        visibility: visible;
    }*/

    /* Mega menü içeriği */
    /*.mega-menu-grid {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 2rem;
    }

    .mega-menu-column h4 {
        font-size: 1.1rem;
        color: var(--primary-color);
        margin-top: 0;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--background-gray);
    }

        .mega-menu-column h4 a {
            text-decoration: none;
            color: inherit;
        }

    .mega-menu-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .mega-menu-links li a {
            display: block;
            padding: 8px 0;
            color: #333;
            text-decoration: none;
            border-bottom: none !important;
            font-size: 0.95rem;
            transition: color 0.2s;
        }

            .mega-menu-links li a:hover {
                color: var(--primary-color);
            }

    .tpu-series-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .tpu-series-item h5 {
        font-size: 0.9rem;
        font-weight: 600;
        margin-top: 0;
        margin-bottom: 0.5rem;
        color: #555;
    }*/