/* ==========================================
   NAVBAR STYLES - MOBILE OPTIMIZED
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9998;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
}

/* Navbar Scrolled State */
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Logo */
.navbar-logo img {
    transition: all 0.3s ease;
    height: 60px;
}

.navbar.scrolled .navbar-logo img {
    height: 40px;
}

/* Desktop Navigation Links */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    padding-bottom: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, white, rgba(255,255,255,0.5));
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link.active {
    color: white !important;
}

/* Contact Button */
.contact-button {
    transition: all 0.3s ease;
}

.navbar.scrolled .contact-button {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 9px;
}

/* ==========================================
   MOBILE NAVIGATION
   ========================================== */

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    
    transition: opacity 0.3s ease, visibility 0.3s ease;
    
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile Nav Content */
.mobile-nav-content {
    width: 100%;
    max-width: 500px;
    padding: 80px 24px 40px;
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Mobile Nav Links */
.mobile-nav-link {
    position: relative;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: white;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after,
.mobile-nav-link.active::after {
    width: 60%;
}

/* Mobile Close Button */
.mobile-nav-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: white;
}

.mobile-nav-close .material-symbols-outlined {
    font-size: 32px;
}

/* Mobile Contact Button */
.contact-button-mobile {
    margin-top: 24px;
    padding: 12px 32px;
    font-size: 11px;
    letter-spacing: 0.15em;
    font-weight: 900;
    text-transform: uppercase;
    background: white;
    color: black;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button-mobile:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* ==========================================
   MOBILE MENU TOGGLE (Hamburger) - SADECE MOBİLDE
   ========================================== */

.mobile-menu-toggle {
    display: none !important; /* Desktop'ta gizli */
    position: relative;
    z-index: 10000;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 8px !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: auto !important;
    height: auto !important;
}

/* Mobil cihazlarda göster */
@media (max-width: 1023px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
}

.mobile-menu-toggle .menu-line {
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    min-height: 2px !important;
    background: white !important;
    background-color: white !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

/* Active state */
.mobile-menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translateY(8px) !important;
    background: white !important;
}

.mobile-menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0 !important;
    transform: translateX(-20px) !important;
}

.mobile-menu-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px) !important;
    background: white !important;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* Tablet */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 0;
    }
    
    .navbar.scrolled {
        padding: 8px 0;
    }
    
    .navbar-logo img {
        height: 40px;
    }
    
    .navbar.scrolled .navbar-logo img {
        height: 32px;
    }
    
    .mobile-nav-link {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .navbar {
        padding: 14px 0;
    }
    
    .navbar.scrolled {
        padding: 6px 0;
    }
    
    .navbar-logo img {
        height: 36px;
    }
    
    .navbar.scrolled .navbar-logo img {
        height: 28px;
    }
    
    .mobile-nav-content {
        padding: 70px 20px 30px;
    }
    
    .mobile-nav-link {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    .mobile-nav nav {
        gap: 20px;
    }
    
    .contact-button-mobile {
        padding: 10px 28px;
        font-size: 10px;
    }
    
    .mobile-nav-close {
        top: 16px;
        right: 16px;
    }
    
    .mobile-nav-close .material-symbols-outlined {
        font-size: 28px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar-logo img {
        height: 32px;
    }
    
    .navbar.scrolled .navbar-logo img {
        height: 26px;
    }
    
    .mobile-nav-link {
        font-size: 14px;
        letter-spacing: 0.08em;
    }
    
    .mobile-nav nav {
        gap: 18px;
    }
    
    .contact-button-mobile {
        padding: 8px 24px;
        font-size: 9px;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .mobile-nav-content {
        padding: 40px 16px 20px;
    }
    
    .mobile-nav-link {
        font-size: 14px;
        padding: 4px 10px;
    }
    
    .mobile-nav nav {
        gap: 12px;
    }
}

/* Language Selector */
.language-selector {
    position: relative;
    z-index: 1002;
}

.language-dropdown {
    min-width: 100px;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1003;
}

.language-selector:hover .language-dropdown {
    transform: translateY(0);
}