/* Full-Bleed Hero Section for Healing Happens Here Campaign */

/* Hero Container */
.hero-fullbleed {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000000;
}

/* Background Image with Overlay */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* 20% dark overlay */
    z-index: 2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Typography Tokens */
:root {
    --brand-blue-600: #0892D0;
    --brand-teal: #0892D0;
    --text-white: #ffffff;
}

/* Headline XL - "HEALING HAPPENS" */
.headline-xl {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    z-index: 11;
}

.text-white {
    color: var(--text-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Display XXL - "HERE" */
.display-xxl {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    z-index: 12;
    margin-top: -1rem;
}

.text-brand-blue {
    color: var(--brand-blue-600);
    text-shadow: 0 4px 12px rgba(8, 146, 208, 0.4);
}

/* Mix Blend Mode for "HERE" */
.hero-here-text {
    mix-blend-mode: screen;
    opacity: 0.95;
}

/* Hero Text Stack */
.hero-text-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 2rem;
    gap: 1rem;
}

.hero-text-stack .eyebrow-label {
    margin-bottom: 0.5rem;
}

/* Bottom Right Lockup */
.hero-lockup {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-lockup-logo {
    height: 50px;
    width: auto;
}

.hero-lockup-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-lockup-title {
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    opacity: 0.8;
}

.hero-lockup-subtitle {
    color: var(--brand-blue-600);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02em;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero-scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-lockup {
        bottom: 2rem;
        right: 2rem;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .hero-lockup-logo {
        height: 40px;
    }

    .hero-lockup-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 1.5rem;
    }

    .hero-text-stack {
        align-items: center;
        text-align: center;
    }

    .display-xxl {
        font-size: clamp(4rem, 18vw, 8rem);
        margin-top: -0.5rem;
    }

    .hero-text-stack {
        margin-bottom: 6rem;
    }

    .hero-lockup {
        bottom: 1.5rem;
        right: 1.5rem;
        left: 1.5rem;
        padding: 1rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .hero-lockup-logo {
        height: 35px;
    }

    .hero-lockup-title {
        font-size: 0.65rem;
    }

    .hero-lockup-subtitle {
        font-size: 0.9rem;
    }

    .hero-scroll-indicator {
        bottom: 8rem;
    }
}

.hero-subheadline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    max-width: 32ch;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-cta.ghost {
    border-color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
    .hero-cta-group {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .headline-xl {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .display-xxl {
        font-size: clamp(3.5rem, 20vw, 6rem);
    }

    .hero-lockup {
        padding: 0.875rem 1rem;
    }

    .hero-lockup-logo {
        height: 30px;
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    .hero-background::before {
        background: rgba(0, 0, 0, 0.5);
    }

    .text-white {
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
    }

    .text-brand-blue {
        text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
    }
}

/* Print Styles */
@media print {
    .hero-fullbleed {
        min-height: auto;
        page-break-after: always;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

/* Animation on Load */
.hero-fullbleed {
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.headline-xl {
    animation: slideInFromTop 0.8s ease-out 0.2s both;
}

.display-xxl {
    animation: slideInFromBottom 0.8s ease-out 0.4s both;
}

.hero-lockup {
    animation: fadeInScale 0.8s ease-out 0.6s both;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ensure text contrast meets WCAG AA */
.hero-content * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
