/* ==========================================================================
   SREE TOURS - ROYAL SAPPHIRE LUXURY NAVBAR & DRAWER
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9990;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
    background: transparent;
}

.site-header.scrolled {
    padding: 0.9rem 0;
    background: rgba(5, 13, 26, 0.94);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--color-border-gold);
    box-shadow: 0 10px 30px rgba(2, 6, 12, 0.7);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    z-index: 2;
}

.nav-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.site-header.scrolled .nav-logo {
    height: 42px;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.nav-brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-gold);
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.82);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle Button (Dark / Light Mode) */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
    background: var(--color-btn-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: rotate(15deg);
}

[data-theme="light"] .theme-toggle-btn {
    background: #f1f5f9;
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.25);
}

/* Mobile Hamburger Toggle */
.hamburger-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-sm);
    color: var(--color-gold);
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.hamburger-toggle:hover {
    background: rgba(229, 192, 110, 0.15);
    color: #ffffff;
}

/* ==========================================================================
   MOBILE SLIDE-IN DRAWER
   ========================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 12, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9995;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: var(--color-sapphire-navy);
    border-left: 1px solid var(--color-border-gold);
    z-index: 9996;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-gold);
}

.drawer-close {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 1.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.drawer-close:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

.drawer-menu {
    list-style: none;
    margin: 2rem 0;
}

.drawer-item {
    margin-bottom: 1rem;
}

.drawer-link {
    display: block;
    font-family: var(--font-display);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-link:hover,
.drawer-link.active {
    color: var(--color-gold);
    padding-left: 0.5rem;
}

.drawer-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-gold);
}

.drawer-contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
}

.drawer-contact-row i {
    color: var(--color-gold);
}

@media (max-width: 992px) {
    .nav-menu,
    .nav-cta-btn {
        display: none;
    }
    .hamburger-toggle {
        display: flex;
    }
}

/* ==========================================================================
   LIGHT MODE: NON-HOME PAGES NAVBAR DARK FONT STYLES
   (Home page navbar retains full dark luxury over hero slideshow)
   ========================================================================== */
[data-theme="light"] body:not(.page-index) .site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(2, 132, 199, 0.16);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

[data-theme="light"] body:not(.page-index) .nav-brand-title {
    color: #0f172a !important;
}

[data-theme="light"] body:not(.page-index) .nav-brand-subtitle {
    color: #0284c7 !important;
}

[data-theme="light"] body:not(.page-index) .nav-link {
    color: #1e293b !important;
    font-weight: 600;
}

[data-theme="light"] body:not(.page-index) .nav-link:hover,
[data-theme="light"] body:not(.page-index) .nav-link.active {
    color: #0284c7 !important;
}

[data-theme="light"] body:not(.page-index) .hamburger-toggle {
    color: #0284c7;
    border-color: rgba(2, 132, 199, 0.3);
}

[data-theme="light"] body:not(.page-index) .hamburger-toggle:hover {
    background: #e0f2fe;
    color: #0369a1;
}

/* Home page navbar in Light Mode stays dark/white over hero slideshow */
[data-theme="light"] body.page-index .site-header {
    background: transparent;
}

[data-theme="light"] body.page-index .site-header.scrolled {
    background: rgba(5, 13, 26, 0.94);
    border-bottom: 1px solid var(--color-border-gold);
    box-shadow: 0 10px 30px rgba(2, 6, 12, 0.7);
}

[data-theme="light"] body.page-index .nav-brand-title {
    color: #ffffff !important;
}

[data-theme="light"] body.page-index .nav-brand-subtitle {
    color: var(--color-azure-accent) !important;
}

[data-theme="light"] body.page-index .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
}

[data-theme="light"] body.page-index .nav-link:hover,
[data-theme="light"] body.page-index .nav-link.active {
    color: var(--color-azure-light) !important;
}

[data-theme="light"] body.page-index .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--color-azure-accent) !important;
    border-color: var(--color-border-gold) !important;
}

[data-theme="light"] body.page-index .hamburger-toggle {
    color: var(--color-azure-accent) !important;
    border-color: var(--color-border-gold) !important;
}

/* ==========================================================================
   LIGHT MODE: MOBILE DRAWER DARK FONT STYLES
   ========================================================================== */
[data-theme="light"] .mobile-drawer {
    background: #ffffff !important;
    border-left: 1px solid #cbd5e1 !important;
    box-shadow: -15px 0 40px rgba(15, 23, 42, 0.18) !important;
}

[data-theme="light"] .drawer-header {
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .drawer-header .nav-brand-title {
    color: #0f172a !important;
}

[data-theme="light"] .drawer-close {
    color: #0284c7 !important;
}

[data-theme="light"] .drawer-close:hover {
    color: #0369a1 !important;
}

[data-theme="light"] .drawer-link {
    color: #0f172a !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .drawer-link:hover,
[data-theme="light"] .drawer-link.active {
    color: #0284c7 !important;
    padding-left: 0.5rem;
}

[data-theme="light"] .drawer-footer {
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .drawer-contact-row {
    color: #334155 !important;
}

[data-theme="light"] .drawer-contact-row span {
    color: #334155 !important;
}

[data-theme="light"] .drawer-contact-row i {
    color: #0284c7 !important;
}
