/* assets/hero-fix.css */

/* --- DESKTOP / BASE STYLES (UNCHANGED) --- */
#hero {
    height: 100vh !important;
    min-height: 100vh !important;
    background-image: url('/assets/hero-meeting-room.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

#hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 30, 50, 0.6) !important;
    z-index: 1 !important;
}

#hero>div {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Desktop Alignment Logic */
[dir="rtl"] #hero>div {
    align-items: flex-start !important;
    text-align: right !important;
}

[dir="ltr"] #hero>div {
    align-items: flex-start !important;
    text-align: left !important;
}

/* Hide existing side image on desktop if present */
#hero img {
    display: none !important;
}

/* Desktop Typography */
#hero h1 {
    font-size: 36px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    color: white !important;
    margin: 0 0 12px 0 !important;
}

#hero h2 {
    font-size: 16px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

#hero p {
    font-weight: 300 !important;
    font-size: 0.9em !important;
    margin-top: 10px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: none !important;
}

#hero button,
#hero .cta-button {
    margin-top: 50px !important;
}


/* --- MOBILE OVERRIDES (v12 FIXED IMAGE PATH) --- */
@media (max-width: 767px) {
    #hero {
        /* Changed from '../unnamed.jpg' to 'unnamed.jpg' as it is now in assets folder */
        background-image: url('unnamed.jpg') !important;
        background-position: center top !important;
        background-size: 130% !important;
        background-color: #0a1c35 !important;
        background-repeat: no-repeat !important;
        min-height: 90vh !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    #hero::before {
        display: none !important;
    }

    #hero>div {
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 40px 24px !important;
        margin: 20px !important;
        max-width: 90% !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    [dir="rtl"] #hero>div,
    [dir="ltr"] #hero>div {
        align-items: center !important;
        text-align: center !important;
    }

    #hero h1 {
        font-size: 28px !important;
        line-height: 1.25 !important;
        margin-top: 20px !important;
        margin-bottom: 8px !important;
        text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8) !important;
    }

    #hero h2 {
        font-size: 14px !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.8) !important;
        text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8) !important;
    }

    #hero p {
        text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.8) !important;
    }

    /* Mobile Navigation Menu Fixes */
    #mobile-menu,
    .nav-mobile,
    header nav[class*="mobile"],
    [class*="MobileNav"],
    [class*="MobileMenu"] {
        background-color: rgba(10, 28, 53, 0.95) !important;
        color: #ffffff !important;
        z-index: 9998 !important;
    }

    #mobile-menu a,
    .nav-mobile a,
    header nav[class*="mobile"] a,
    [class*="MobileNav"] a,
    [class*="MobileMenu"] a,
    .menu a {
        color: #ffffff !important;
        font-size: 16px !important;
        text-decoration: none !important;
        display: block !important;
        padding: 10px 0 !important;
    }
}