/* ============================================================
   NOVITRIP HERO BANNER UPGRADE
   Matches the exact typography, comfortable proportions, trust badges,
   handwritten script, and animated video teaser play button.
   ============================================================ */

/* Container wrapper above search bar */
.hero-top-banner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto 28px auto;
    padding: 0 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    text-align: left;
}

/* Left side of the banner */
.hero-banner-left {
    flex: 1;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Top country badge: MOROCCO */
.hero-country-badge {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Main title: Real places. Real stories. Real bookings. - Big bold localhost size */
.hero .hero-banner-headline,
.hero h1.hero-banner-headline,
.hero-banner-headline {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 2.4rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    text-align: left !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
}

.hero-banner-headline .highlight-blue {
    color: #00a2ff !important; /* Vibrant electric cyan/blue from reference */
    display: inline-block;
}

/* Subtitle under headline */
.hero-banner-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(0.95rem, 1.2vw, 1.1rem) !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    max-width: 520px !important;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    text-align: left !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45) !important;
}

/* Trust Badges Bar */
.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 2px;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.hero-trust-item i {
    font-size: 13px;
    color: #ffffff;
    opacity: 0.95;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

/* Right side of the banner: Location badge & Video Teaser */
.hero-banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 18px;
    padding-bottom: 6px;
}

/* Location Tag: 📍 Riad in Marrakech */
.hero-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 9999px;
    padding: 5px 13px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-location-badge:hover {
    background: rgba(15, 23, 42, 0.65);
    transform: translateY(-1px);
}

.hero-location-badge i {
    color: #ef4444; /* Red map pin */
    font-size: 12px;
}

/* Video Teaser Interactive Component */
.hero-video-teaser {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-video-teaser:hover {
    transform: translateY(-2px);
}

/* Handwritten script text + arrow */
.hero-teaser-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    text-align: right;
}

.hero-handwritten-script {
    font-family: 'Caveat', cursive, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.05;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
    transform: rotate(-3deg);
    display: inline-block;
    white-space: nowrap;
}

/* Curved arrow pointing directly to the Play Button */
.hero-teaser-arrow {
    width: 60px;
    height: 28px;
    margin-top: 2px;
    margin-right: -4px;
    align-self: flex-end;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Circular Play Button */
.hero-play-button {
    position: relative;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2.5px solid rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    flex-shrink: 0;
}

.hero-video-teaser:hover .hero-play-button {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.38);
    border-color: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 162, 255, 0.4), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-play-icon {
    font-size: 20px;
    color: #ffffff;
    margin-left: 4px; /* Optical center for play triangle */
    transition: transform 0.25s ease;
}

.hero-video-teaser:hover .hero-play-icon {
    transform: scale(1.1);
}

/* Continuous Subtle Pulsing Ring */
.hero-play-pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.65);
    animation: heroPulseLoop 2.4s infinite cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

@keyframes heroPulseLoop {
    0% {
        transform: scale(0.96);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.22);
        opacity: 0;
    }
    100% {
        transform: scale(0.96);
        opacity: 0;
    }
}

/* Spotlight glow on target reels section when triggered */
@keyframes reelsSpotlightHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 162, 255, 0);
    }
    30% {
        box-shadow: 0 0 50px 12px rgba(0, 162, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 162, 255, 0);
    }
}

.sharing-experiences-section.reels-spotlight {
    animation: reelsSpotlightHighlight 2.4s ease-out;
    border-radius: 20px;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (769px to 991px) */
@media (min-width: 769px) and (max-width: 991px) {
    .hero-top-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 16px;
        margin-bottom: 20px;
    }

    .hero-banner-left {
        max-width: 60%;
    }

    .hero-banner-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 14px;
        padding-bottom: 4px;
    }

    .hero-teaser-text-wrap {
        align-items: flex-end;
        text-align: right;
    }

    .hero-handwritten-script {
        font-size: 20px;
    }

    .hero-play-button {
        width: 56px;
        height: 56px;
    }

    .hero-play-icon {
        font-size: 16px;
    }
}

/* Dedicated Mobile Layout (max-width: 768px) - Clean, Minimalist & Focused */
@media (max-width: 768px) {
    .hero-top-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin: 0 auto 14px auto;
        padding: 0 16px;
        box-sizing: border-box;
        text-align: left;
    }

    .hero-banner-left {
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .hero-country-badge {
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 4px;
        opacity: 0.9;
    }

    /* Headline on mobile: NOT small, bold, and side-by-side (br hidden) */
    .hero .hero-banner-headline,
    .hero h1.hero-banner-headline,
    .hero-banner-headline {
        font-size: clamp(1.45rem, 5.2vw, 1.85rem) !important;
        line-height: 1.22 !important;
        letter-spacing: -0.02em !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* Prevent forced line breaks: make phrases flow side-by-side */
    .hero .hero-banner-headline br,
    .hero-banner-headline br {
        display: none !important;
    }

    /* Subtitle on mobile */
    .hero-banner-subtitle {
        font-size: 0.84rem !important;
        line-height: 1.4 !important;
        margin: 0 0 10px 0 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        max-width: 100% !important;
        padding: 0 !important;
        text-align: left !important;
    }

    /* DELETE trust badges from mobile per user request */
    .hero-trust-bar {
        display: none !important;
    }

    /* DELETE play button and video teaser from mobile per user request */
    .hero-video-teaser {
        display: none !important;
    }

    /* Location badge sits neatly at the bottom on mobile */
    .hero-banner-right {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        margin-top: 2px;
        padding: 0;
        border-top: none;
    }

    .hero-location-badge {
        display: inline-flex;
        padding: 4px 11px;
        font-size: 11px;
        gap: 5px;
        background: rgba(15, 23, 42, 0.52);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 9999px;
        white-space: nowrap;
    }

    .hero-location-badge i {
        font-size: 11px;
    }
}
