/* ============================================
   HEADER - YENİ TASARIM
   ============================================ */

/* Banner Section - Beyaz Arka Plan, Ortada Büyük Resim */
.header-banner-section {
    background: #fff;
    padding: 20px 0;
}

.header-banner-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-banner {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.header-banner img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Header Main - Yeşil Alan (Logo + Menü) - ORTALI */
.header-main {
    background: var(--primary, #1e6b4f);
    padding: 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

/* Logo - Büyük */
.header-main .logo {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.header-main .logo img {
    height: 90px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    /*filter: brightness(0) invert(1);*/
}

/* Navigation */
.header-main .header-nav {
    display: flex;
    align-items: center;
}

.header-main .header-nav ul.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-main .header-nav ul.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 1rem 1.25rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
}

.header-main .header-nav ul.nav-menu > li > a:hover,
.header-main .header-nav ul.nav-menu > li.active > a {
    background: rgba(255,255,255,0.15);
}

.header-main .header-nav ul.nav-menu > li > a i,
.header-main .header-nav ul.nav-menu > li > a svg {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Dropdown */
.header-main .header-nav ul.nav-menu > li {
    position: relative;
}

.header-main .header-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
}

.header-main .header-nav ul.nav-menu > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-main .header-nav .dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: #334155;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
}

.header-main .header-nav .dropdown a:hover {
    background: #f1f5f9;
    color: var(--primary, #1e6b4f);
}

/* Mobile Toggle - Gizli (Desktop) */
.menu-toggle-mobile {
    display: none;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .header-main .container {
        gap: 2rem;
    }
    
    .header-main .header-nav ul.nav-menu > li > a {
        padding: 0.875rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .header-main .logo img {
        height: 70px;
    }
    
    .header-banner img {
        max-height: 100px;
    }
}

/* Mobil */
@media (max-width: 991px) {
    /* Top bar gizle */
    .top-bar {
        display: none;
    }
    
    /* Banner gizle */
    .header-banner-section {
        display: none;
    }
    
    /* Header Main - Mobil (Yeşil) */
    .header-main {
        padding: 10px 0;
    }
    
    .header-main .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    
    /* Logo - Sol */
    .header-main .logo {
        padding: 0;
    }
    
    .header-main .logo img {
        height: 55px;
        max-width: 160px;
    }
    
    /* Menü - Gizle */
    .header-main .header-nav {
        display: none;
    }
    
    /* Menü Toggle - Sağ */
    .menu-toggle-mobile {
        display: flex;
        width: 50px;
        height: 50px;
        background: rgba(255,255,255,0.2);
        border-radius: 12px;
    }
    
    .menu-toggle-mobile:hover {
        background: rgba(255,255,255,0.3);
    }
}

@media (max-width: 576px) {
    .header-main .logo img {
        height: 48px;
        max-width: 140px;
    }
    
    .menu-toggle-mobile {
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }
}