/* ================================
   GreekSimmers - Hero Section Styles
   ================================ */

.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    margin-top: -64px; /* Pull hero to very top, behind fixed header */
    padding-top: 64px; /* Compensate for negative margin to keep content centered */
    display: flex;
    align-items: center;
    background-color: var(--dark-blue);
    color: var(--white);
    overflow: hidden;
}

/* Adjust for offer bar */
body.has-offer-bar .hero {
    margin-top: -96px; /* 64px header + 32px offer bar */
    padding-top: 96px;
}

/* Video background container */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.78vh; /* 100vh * 16/9 */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Dark overlay for text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 22, 43, 0.6);
    z-index: 1;
}


.hero--loyalty,
.magazine-hero,
.lobby-hero {
    min-height: 80vh;
}

/* Hero Background Image with Opacity - disabled in favor of video background */
.hero::before {
    display: none;
}

/* Variant: hero sections that use a dedicated background image only */
.hero--image-only::before {
    content: none;
}

.hero--loyalty {
    background-color: var(--dark-blue);
}

.hero--loyalty::before {
    content: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--sp-xxl) 0;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: var(--h1-size);
    margin-bottom: var(--sp-ml);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-heading {
    margin: 0 0 var(--sp-ml);
}

.hero-heading-accent {
    display: block;
    color: var(--accent-1);
}

.hero-heading-secondary {
    display: block;
}

.hero p {
    color: var(--white);
    font-size: var(--h6-size);
    margin-bottom: var(--sp-xl);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--sp-l);
    flex-wrap: wrap;
}

/* Hero Badge — glassmorphism pill */
.hero-badge {
    display: inline-block;
    padding: var(--sp-xxs) var(--sp-m);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-circle);
    font-size: var(--p-sm-size);
    font-weight: var(--font-weight-regular);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: var(--sp-ml);
}

/* Responsive Hero */
@media (max-width: 1199px) {
    .hero {
        height: 100vh;
        min-height: 450px;
    }
}

@media (max-width: 799px) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }

    .hero-content {
        padding: var(--sp-xl) 0;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: var(--sp-l);
    }
}

/* Adjust negative margin for smaller mobile header */
@media (max-width: 460px) {
    .hero {
        margin-top: -42px;
        padding-top: 42px;
    }

    body.has-offer-bar .hero {
        margin-top: -74px; /* 42px header + 32px offer bar */
        padding-top: 74px;
    }
}

