/* ==========================================
   MOBILE HEADER - PREMIUM GLASS MORPHISM
   Hôtel Atlas Day — Brand Identity
   ========================================== */

/* Mobile Header Bar */
@media (max-width: 1023px) {
    /* Hide desktop nav elements */
    .header-1 .primary-nav {
        display: none !important;
    }

    .header-1 .header-cta-group {
        display: none !important;
    }

    .header-1 .header-divider,
    .header-1 .weather-widget {
        display: none !important;
    }

    /* Mobile Header Layout */
    .header-1.header-premium {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(5, 15, 27, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    }

    .header-1.header-premium .header-main {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
        height: 60px;
        min-height: 60px;
    }

    /* WhatsApp Quick Access - Left */
    .mobile-whatsapp-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: #25D366;
        border-radius: 50%;
        color: #FFFFFF;
        font-size: 20px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        flex-shrink: 0;
    }

    .mobile-whatsapp-btn:hover {
        transform: scale(1.08);
        box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
        color: #FFFFFF;
    }

    /* Logo - Center */
    .header-1.header-premium .header-left {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-1.header-premium .logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-1.header-premium .logo img {
        height: 38px;
        width: auto;
    }

    .header-1.header-premium .header-logo {
        display: block !important;
    }

    .header-1.header-premium .header-logo-2 {
        display: none !important;
    }

    /* Hamburger - Right */
    .header-1.header-premium .header-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .header-1.header-premium .header__hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Premium Hamburger Icon */
    .header-1.header-premium .sidebar__toggle .bar-icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.25);
        border-radius: 12px;
        cursor: pointer;
        padding: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .header-1.header-premium .sidebar__toggle .bar-icon:hover {
        border-color: #D4AF37;
        background: rgba(212, 175, 55, 0.1);
    }

    .header-1.header-premium .sidebar__toggle .bar-icon span {
        display: block;
        width: 20px;
        height: 2px;
        background: #FFFFFF;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }

    .header-1.header-premium .sidebar__toggle .bar-icon span:nth-child(1) {
        margin-bottom: 5px;
    }

    .header-1.header-premium .sidebar__toggle .bar-icon span:nth-child(3) {
        margin-top: 5px;
    }

    /* Hamburger Open State (X) */
    .header-1.header-premium .sidebar__toggle .bar-icon.is-active {
        border-color: #D4AF37;
        background: rgba(212, 175, 55, 0.15);
    }

    .header-1.header-premium .sidebar__toggle .bar-icon.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header-1.header-premium .sidebar__toggle .bar-icon.is-active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .header-1.header-premium .sidebar__toggle .bar-icon.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ==========================================
   PREMIUM MOBILE MENU OVERLAY
========================================== */
@media (max-width: 1023px) {
    /* Offcanvas Premium Styling */
    .offcanvas__info {
        width: 100% !important;
        max-width: 320px;
        background: linear-gradient(180deg, rgba(10, 26, 42, 0.98) 0%, rgba(5, 15, 27, 0.99) 100%) !important;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid rgba(212, 175, 55, 0.2) !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .offcanvas__wrapper {
        padding: 24px 20px !important;
        background: transparent !important;
    }

    /* Logo in Menu */
    .offcanvas__top {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.15);
        margin-bottom: 20px !important;
    }

    .offcanvas__logo img {
        height: 36px;
        width: auto;
        filter: brightness(0) invert(1);
    }

    /* Close Button */
    .offcanvas__close button {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(212, 175, 55, 0.15) !important;
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 12px;
        transition: all 0.3s ease;
    }

    .offcanvas__close button:hover {
        background: rgba(212, 175, 55, 0.25) !important;
        border-color: #D4AF37;
    }

    .offcanvas__close button i {
        color: #FFFFFF !important;
        font-size: 16px;
    }

    /* Mobile Menu Links */
    .mobile-menu .mean-nav > ul {
        padding: 0;
        margin: 0;
    }

    .mobile-menu .mean-nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .mobile-menu .mean-nav ul li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 0;
        color: rgba(255, 255, 255, 0.85) !important;
        font-family: 'Poppins', sans-serif;
        font-size: 15px;
        font-weight: 400;
        text-decoration: none;
        transition: all 0.3s ease;
        border: none !important;
        background: transparent !important;
    }

    .mobile-menu .mean-nav ul li a:hover,
    .mobile-menu .mean-nav ul li a.active {
        color: #D4AF37 !important;
        padding-left: 8px;
    }

    .mobile-menu .mean-nav ul li a i {
        width: 20px;
        color: #D4AF37;
        font-size: 14px;
        text-align: center;
    }

    /* Submenu */
    .mobile-menu .mean-nav ul li ul.submenu {
        background: rgba(0, 0, 0, 0.2) !important;
        border-radius: 8px;
        margin: 8px 0;
        padding: 8px 0 !important;
    }

    .mobile-menu .mean-nav ul li ul.submenu li {
        border-bottom: none;
    }

    .mobile-menu .mean-nav ul li ul.submenu li a {
        padding: 10px 16px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .mobile-menu .mean-nav ul li ul.submenu li a:hover {
        color: #C8A16B !important;
    }

    /* Mean Expand Button */
    .mobile-menu .mean-nav ul li a.mean-expand {
        width: 36px;
        height: 36px;
        background: rgba(212, 175, 55, 0.1) !important;
        border: 1px solid rgba(212, 175, 55, 0.2) !important;
        border-radius: 8px;
        color: #D4AF37 !important;
        font-size: 12px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        top: 8px;
        transition: all 0.3s ease;
    }

    .mobile-menu .mean-nav ul li a.mean-expand:hover {
        background: rgba(212, 175, 55, 0.2) !important;
    }

    /* CTA Buttons in Menu */
    .offcanvas__cta {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(212, 175, 55, 0.15);
    }

    .offcanvas__cta .cta-whatsapp-premium,
    .offcanvas__cta .cta-reception-premium {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .offcanvas__cta .cta-whatsapp-premium {
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        color: #FFFFFF;
    }

    .offcanvas__cta .cta-whatsapp-premium:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    }

    .offcanvas__cta .cta-reception-premium {
        background: linear-gradient(135deg, #D4AF37 0%, #C8A16B 100%);
        color: #FFFFFF;
    }

    .offcanvas__cta .cta-reception-premium:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    }

    .offcanvas__cta .cta-text {
        display: flex;
        flex-direction: column;
    }

    .offcanvas__cta .cta-label {
        font-size: 12px;
        opacity: 0.9;
    }

    .offcanvas__cta .cta-number {
        font-size: 14px;
        font-weight: 600;
    }

    .offcanvas__cta i {
        font-size: 22px;
    }

    /* Contact Info */
    .offcanvas__contact {
        margin-top: 20px !important;
        padding-top: 16px;
        border-top: 1px solid rgba(212, 175, 55, 0.15);
    }

    .offcanvas__contact h4 {
        color: #D4AF37 !important;
        font-size: 13px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 16px !important;
    }

    .offcanvas__contact ul li {
        margin-bottom: 12px !important;
    }

    .offcanvas__contact ul li a,
    .offcanvas__contact ul li span {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 13px !important;
    }

    .offcanvas__contact-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(212, 175, 55, 0.1);
        border-radius: 8px;
        margin-right: 12px !important;
    }

    .offcanvas__contact-icon i {
        color: #D4AF37 !important;
        font-size: 14px;
    }

    /* Social Icons */
    .offcanvas__contact .social-icon {
        margin-top: 20px !important;
        gap: 8px !important;
    }

    .offcanvas__contact .social-icon a {
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: rgba(255, 255, 255, 0.7) !important;
        transition: all 0.3s ease;
    }

    .offcanvas__contact .social-icon a:hover {
        background: #D4AF37 !important;
        border-color: #D4AF37 !important;
        color: #FFFFFF !important;
    }

    /* Overlay */
    .offcanvas__overlay.overlay-open {
        background: rgba(10, 26, 42, 0.8);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    /* Body Scroll Lock */
    body.menu-open {
        overflow: hidden;
    }
}

/* ==========================================
   ACCESSIBILITY - REDUCED MOTION
========================================== */
@media (prefers-reduced-motion: reduce) {
    .header-1.header-premium .sidebar__toggle .bar-icon,
    .header-1.header-premium .sidebar__toggle .bar-icon span,
    .offcanvas__info,
    .mobile-whatsapp-btn,
    .offcanvas__cta a {
        transition: none !important;
    }
}

/* Desktop: Show normal header */
@media (min-width: 1024px) {
    .mobile-whatsapp-btn {
        display: none !important;
    }

    /* Hide icons on desktop nav - only show in mobile menu */
    .primary-nav .primary-menu > li > a > i {
        display: none;
    }
}

