
/* EKRAN DONMA KİLİDİ (Menü açıkken arka planı kilitler) */
/* EKRAN DONMA KİLİDİ (GÜNCELLENDİ) */
html.no-scroll,
body.no-scroll {
    overflow: hidden !important;
    height: 100%; /* Özellikle iOS cihazlarda arka planın esnemesini durdurur */
}

/* ==========================================================================
   HEADER GENEL VE MASAÜSTÜ STİLLERİ
   ========================================================================== */
/* HEADER Z-INDEX EN ÜSTE ALINDI VE DRAWER-ACTIVE CLASS'I EKLENDİ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000; /* Çekmecenin üstünde kalması için 9999'dan 10000'e çıkarıldı */
    transition: background-color 0.4s ease-in-out, padding 0.4s ease-in-out;
}

/* Durum 1: Şeffaf Siyah (Sayfa en üstteyken) */
.site-header.transparent-bg {
    background-color: rgba(18, 18, 20, 0.5); /* Hafif karartı */
    padding: 24px 0;
}

/* Durum 2: Saf Siyah (100vh geçildiğinde) */
.site-header.solid-bg {
    background-color: rgba(18, 18, 20, 1); /* Oniks siyahı */
    padding: 12px 0; /* Padding biraz daralır, daha şık durur */
}

/* Çekmece açıldığında Header'ın altı göstermeyen katı siyah olması için */
.site-header.drawer-active,
.site-header.mega-active {
    background-color: rgba(18, 18, 20, 1) !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 36px;
}

.logo {
    font-size: 30px;
    text-decoration:none;
}

.casting-button {
	background:#ecde4e;
	padding:12px;
	border-radius: 6px;
	color:#000 !important;
    transition: background-color 0.3s;
	margin-left:8px;
}
.casting-button:hover {
	background:#ffe800;
    transition: background-color 0.3s;
}

.mobile-nav-list .casting-button {
	margin: 1em 0 0 0;
	display: block;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.desktop-nav > ul > li > a {
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    /* text-transform: uppercase; */
    /* letter-spacing: 1px; */
    text-decoration: none;
    transition: color 0.3s;
	border:1px solid transparent;
	padding:12px;
	border-radius:6px;
}

.desktop-nav > ul > li > a:hover {
    color: #ecde4e; /* Sizin sarı tonunuz */
	border-color:#ecde4e;
}

/* ==========================================================================
   MASAÜSTÜ MEGA MENÜ STİLLERİ (YENİ)
   ========================================================================== */
.has-mega-menu {
    position: static; /* Mega menünün tam genişlik alması için zorunludur */
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 20, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
    padding: 40px 0 50px 0;
}

/* Kullanıcı Xidmətlər üzerine gelince mega menü açılır */
.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.mega-column {
    flex: 1;
}

.mega-column h4 {
    color: #ecde4e;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.mega-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start; /* Listeyi sola yaslar */
}

.mega-column ul a {
    color: #ccc;
    font-size: 14px;
    text-transform: none;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: block;
}

.mega-column ul a:hover {
    color: #fff;
    transform: translateX(5px); /* Hover olunca hafif sağa kayar (Nöro-etki) */
}

.mega-column ul li:first-child a {
    color: #fff;
    font-weight: bold;
}

/* ==========================================================================
   MOBİL MENÜ (HAMBURGER & DRAWER) STİLLERİ
   ========================================================================== */
.hamburger-menu {
    display: none; 
    cursor: pointer;
    z-index: 10001; 
}

.hamburger-menu .bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background-color: #ecde4e;
    transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   MOBİL MENÜ STİLLERİ (GÜNCELLENDİ)
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 320px; 
    max-width: 100vw; /* Ekran 320px'den küçükse taşmayı önler */
    height: 100vh;
    background-color: rgba(18, 18, 20, 0.98); 
    backdrop-filter: blur(10px);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    z-index: 9990; /* Header'ın (10000) Altından kayması için düşürüldü */
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    overflow: hidden; 
}

.mobile-drawer.active {
    right: 0; 
}

/* İçeriğin Scroll Edilebilir Alanı */
.mobile-drawer-inner {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box; /* Taşmayı kökten çözer */
    padding: 100px 25px 50px 25px; /* Boşluklar optimize edildi */
}

.mobile-nav-list {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.mobile-nav-list > li {
    margin: 24px 0;
}

.mobile-link {
    font-size: 16px;
    text-decoration: none;
    color: #eee;
    font-weight: 500;
}

.mobile-link i {
    margin-right: .5em;
}

/* ==========================================================================
   MOBİL AKORDEON STİLLERİ (YENİ)
   ========================================================================== */
/* Akordeon başlıklarına sağdan güvenli bölge eklendi */
.accordion-header, .sub-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    padding-right: 10px; /* Scrollbar'a yapışmayı engeller */
}
.accordion-header {
    padding-right: 0 !important;
}

/* ==========================================================================
   MOBİL AKORDEON STİLLERİ
   ========================================================================== */

/* SADECE BU KOD KALACAK - FONT AWESOME KENDİ YAPIYI KURACAK */
/* Orijinal, temiz ikon kodu (margin-right hack'i silindi) */
.toggle-icon, .sub-toggle {
    color: #ecde4e; 
    font-size: 18px;
    transition: transform 0.3s ease;
}

.accordion-content {
    display: none; /* Başlangıçta gizli */
    padding-top: 15px;
    padding-left: 10px;
}

.sub-accordion {
    margin-bottom: 6px;
	margin-top:6px;
	margin-left:24px;
}

.sub-accordion-header {
    color: #ccc;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.sub-accordion-content {
    display: none; /* Başlangıçta gizli */
    list-style: none;
    padding-left: 15px;
    margin-top: 10px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.sub-accordion-content li {
    margin-bottom: 12px;
}

.sub-accordion-content a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}

.sub-accordion-content a:hover {
    color: #ecde4e;
}

/* ==========================================================================
   RESPONSIVE KONTROLLERİ
   ========================================================================== */
@media (max-width: 992px) {
    .nav-container {
        padding: 0 25px; 
    }
    .desktop-nav {
        display: none; 
    }
    .hamburger-menu {
        display: block; 
    }
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}