/* ==========================================================================
   HEADER GENEL VE MASAÜSTÜ STİLLERİ
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    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 */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.logo {
    font-size: 30px;
	text-decoration:none;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.desktop-nav a {
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.desktop-nav a:hover {
    color: amber;
}

/* ==========================================================================
   MOBİL MENÜ (HAMBURGER & DRAWER) STİLLERİ
   ========================================================================== */
.hamburger-menu {
    display: none; /* Masaüstünde gizli */
    cursor: pointer;
    z-index: 10001; /* Çekmecenin de üstünde kalmalı ki kapanabilsin */
}

.hamburger-menu .bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background-color: #ecde4e;;
    transition: all 0.3s ease-in-out;
}

/* Sağdan Sola Kayan Çekmece */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%; /* Başlangıçta ekranın sağında, tamamen gizli */
    width: 280px; /* Menünün genişliği */
    height: 100vh;
	overflow-x:scroll;
    background-color: rgba(18, 18, 20, 0.98); /* Neredeyse tam siyah, arkası çok hafif buzlu */
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Nöro-ergonomik akışkan kayma */
    z-index: 10000;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
}

.mobile-drawer.active {
    right: 0; /* Ekrana girer */
}

.mobile-nav-list {
    list-style: none;
    text-align: left;
}

.mobile-nav-list li {
    margin: 1em 0;
}

.mobile-link {
    font-size: 1em;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
	
}
/*.mobile-divider { width:200px; height:1px; overflow:hidden; background:rgba(255,255,255,.5); margin-left:40px; }*/

/* ==========================================================================
   RESPONSIVE KONTROLLERİ (Medya Sorguları)
   ========================================================================== */
@media (max-width: 992px) {
    .nav-container {
        padding: 0 25px; /* Mobilde kenar boşlukları küçülür */
    }
    
    .desktop-nav {
        display: none; /* Masaüstü menüyü yok et */
    }

    .hamburger-menu {
        display: block; /* Hamburger ikonu ortaya çıksın */
    }
}

/* İkon tıklandığında üç çizginin "X" şeklini alması */
.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);
}