/* ===================================
   HEADER & MOBİL MENÜ - TAM EKRAN MODERN TASARIM
   Princess Suit Gaziantep
   =================================== */

/* ===================================
   HEADER - DESKTOP & MOBILE
   =================================== */
.header-main {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    transition: all 0.3s ease;
}

.header-main .navbar {
    padding: 0.75rem 0;
}

.header-main .logo {
    height: 55px;
    transition: all 0.3s ease;
}

/* ===================================
   DESKTOP NAVIGATION
   =================================== */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .navbar-collapse {
        display: flex !important;
    }
    
    .navbar-nav {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        margin: 0 auto;
    }
    
    .nav-link {
        color: #1a1a1a;
        padding: 0.5rem 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border-radius: 8px;
        position: relative;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 80%;
        height: 2px;
        background: linear-gradient(90deg, #c9a961, #a88a4d);
        transition: transform 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #c9a961;
        background: rgba(201, 169, 97, 0.05);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .header-buttons {
        display: flex;
    }
}

/* ===================================
   MOBİL MENÜ - TAM EKRAN TASARIM
   =================================== */
@media (max-width: 991px) {
    /* Hamburger Toggle Button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: linear-gradient(135deg, #c9a961, #a88a4d);
        border: none;
        border-radius: 12px;
        cursor: pointer;
        position: relative;
        z-index: 1065;
        box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .mobile-menu-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }
    
    .hamburger-line {
        display: block;
        width: 24px;
        height: 3px;
        background: white;
        border-radius: 3px;
        margin: 3px 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }
    
    /* Hamburger Animation - X */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Overlay - Soft Blur Effect */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        z-index: 1045;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
        animation: fadeIn 0.3s ease;
    }
    
    /* TAM EKRAN MOBİL MENÜ - AÇIK VE ŞIK TASARIM */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, #fdfcfa 0%, #ffffff 50%, #fdfcfa 100%);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1055;
        overflow-y: auto;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        -webkit-overflow-scrolling: touch;
        margin: 0;
        padding: 0;
    }
    
    .navbar-collapse.active {
        transform: translateX(0);
    }
    
    /* Mobil Menü Header - SOLA DAYALI LOGO */
    .mobile-menu-header {
        background: linear-gradient(135deg, #f8f4ed 0%, #ffffff 100%);
        padding: 1.75rem 2rem;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        box-shadow: 0 2px 12px rgba(201, 169, 97, 0.08);
        position: sticky;
        top: 0;
        z-index: 10;
        flex-shrink: 0;
        border-bottom: 1px solid rgba(201, 169, 97, 0.1);
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* Logo Container - Sola Dayalı */
    .mobile-menu-logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .mobile-menu-logo img {
        height: 55px;
        filter: drop-shadow(0 2px 4px rgba(201, 169, 97, 0.15));
        transition: all 0.3s ease;
    }
    
    /* Close Button - Kaldırıldı (gereksiz) */
    .mobile-menu-close {
        display: none;
    }
    
    /* Menü İçeriği Container - TAM GENİŞLİK */
    .mobile-menu-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding-bottom: 2rem;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* Navigation Links - MODERN ŞIK TASARIM */
    .navbar-nav {
        padding: 2rem 1.5rem 1.5rem;
        background: transparent;
        flex-shrink: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        list-style: none;
    }
    
    .nav-item {
        margin-bottom: 0.75rem;
        animation: slideInRight 0.4s ease forwards;
        opacity: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .navbar-collapse.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .navbar-collapse.active .nav-item:nth-child(2) { animation-delay: 0.15s; }
    .navbar-collapse.active .nav-item:nth-child(3) { animation-delay: 0.2s; }
    .navbar-collapse.active .nav-item:nth-child(4) { animation-delay: 0.25s; }
    .navbar-collapse.active .nav-item:nth-child(5) { animation-delay: 0.3s; }
    
    /* Nav Link - ŞIK VE DENGELI TASARIM */
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.1rem 1.5rem;
        background: #ffffff;
        color: #2c2c2c;
        font-weight: 500;
        font-size: 1rem;
        letter-spacing: 0.3px;
        border-radius: 14px;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(201, 169, 97, 0.06);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(201, 169, 97, 0.08);
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        text-align: center;
    }
    
    /* Subtle Border Effect */
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: linear-gradient(180deg, #c9a961, #b8985a);
        transform: scaleY(0);
        transition: transform 0.3s ease;
        border-radius: 14px 0 0 14px;
    }
    
    /* Hover & Active States - Subtle */
    .nav-link:active {
        transform: scale(0.98);
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        transform: scaleY(1);
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(135deg, #faf7f0 0%, #f5f0e8 100%);
        color: #c9a961;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(201, 169, 97, 0.12);
        border-color: rgba(201, 169, 97, 0.15);
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, #faf7f0 0%, #f5f0e8 100%);
        color: #c9a961;
        font-weight: 600;
        box-shadow: 0 3px 12px rgba(201, 169, 97, 0.1);
    }
    
    /* Rezervasyon Butonu - ŞIK VE DENGELI TASARIM */
    .header-buttons {
        padding: 0 1.5rem 2rem;
        background: transparent;
        flex-shrink: 0;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .header-buttons .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
        padding: 1.3rem 1.75rem;
        background: linear-gradient(135deg, #c9a961 0%, #b8985a 100%);
        color: white;
        font-weight: 600;
        font-size: 1.05rem;
        letter-spacing: 0.3px;
        border-radius: 14px;
        text-align: center;
        text-decoration: none;
        box-shadow: 0 4px 16px rgba(201, 169, 97, 0.25);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
        margin: 0;
    }
    
    /* Subtle Shine Effect */
    .header-buttons .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }
    
    .header-buttons .btn:hover::before {
        left: 100%;
    }
    
    .header-buttons .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
    }
    
    .header-buttons .btn:active {
        transform: translateY(0) scale(0.98);
    }
    
    .header-buttons .btn i {
        font-size: 1.15rem;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    }
    
    /* İletişim ve Sosyal Medya Kartları - KALDIRILDI (Daha temiz menü için) */
    /* 
    .mobile-menu-contact {
        padding: 1.5rem;
        background: white;
        margin: 0 1.5rem 1.5rem;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        flex-shrink: 0;
    }
    
    .mobile-menu-contact-title {
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 1.25rem;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .mobile-menu-contact-title::before {
        content: '';
        width: 4px;
        height: 20px;
        background: linear-gradient(180deg, #c9a961, #a88a4d);
        border-radius: 2px;
    }
    
    .mobile-menu-contact-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: #f8f9fa;
        border-radius: 14px;
        margin-bottom: 0.75rem;
        color: #1a1a1a;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .mobile-menu-contact-item:last-child {
        margin-bottom: 0;
    }
    
    .mobile-menu-contact-item:active {
        transform: scale(0.98);
    }
    
    .mobile-menu-contact-item:hover {
        background: white;
        border-color: #c9a961;
        box-shadow: 0 4px 15px rgba(201, 169, 97, 0.15);
    }
    
    .mobile-menu-contact-item i {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, #c9a961, #a88a4d);
        color: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
    }
    
    .mobile-menu-contact-item span {
        font-weight: 600;
        font-size: 0.95rem;
    }
    
    .mobile-menu-social {
        padding: 1.5rem;
        text-align: center;
        background: white;
        margin: 0 1.5rem 1.5rem;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        flex-shrink: 0;
    }
    
    .mobile-menu-social-title {
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 1.25rem;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .mobile-menu-social-links {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
    
    .mobile-menu-social-links a {
        width: 52px;
        height: 52px;
        background: #f8f9fa;
        color: #c9a961;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .mobile-menu-social-links a:active {
        transform: scale(0.9);
    }
    */
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   BODY SCROLL LOCK
   =================================== */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ===================================
   RESPONSIVE ADJUSTMENTS - ŞIK VE DENGELI
   =================================== */
@media (max-width: 576px) {
    .mobile-menu-header {
        padding: 1.5rem 1.5rem;
        width: 100%;
        justify-content: flex-start;
    }
    
    .mobile-menu-logo img {
        height: 55px;
    }
    
    .navbar-nav {
        padding: 1.75rem 1.25rem 1.25rem;
        width: 100%;
        max-width: 100%;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 0.65rem;
    }
    
    .nav-link {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 12px;
        width: 100%;
    }
    
    .nav-link::before {
        width: 3px;
    }
    
    .header-buttons {
        padding: 0 1.25rem 1.75rem;
        width: 100%;
    }
    
    .header-buttons .btn {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }
}

/* Extra Small Devices - Optimize */
@media (max-width: 375px) {
    .mobile-menu-header {
        padding: 1.25rem 1.25rem;
        justify-content: flex-start;
    }
    
    .mobile-menu-logo img {
        height: 50px;
    }
    
    .navbar-nav {
        padding: 1.5rem 1rem 1rem;
    }
    
    .nav-link {
        padding: 0.95rem 1.15rem;
        font-size: 0.92rem;
    }
    
    .header-buttons {
        padding: 0 1rem 1.5rem;
    }
    
    .header-buttons .btn {
        padding: 1.15rem 1.35rem;
        font-size: 0.98rem;
    }
}

/* ===================================
   SAFE AREA INSETS (iPhone Notch)
   =================================== */
@supports (padding: max(0px)) {
    @media (max-width: 991px) {
        .navbar-collapse {
            padding-left: max(0px, env(safe-area-inset-left));
            padding-right: max(0px, env(safe-area-inset-right));
        }
        
        .mobile-menu-header {
            padding-top: max(1.25rem, env(safe-area-inset-top));
        }
    }
}
