/**
 * Hero Section Styles
 *
 * @package enhed
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: calc(80px + var(--space-16)); /* Account for fixed header */
    padding-bottom: var(--space-16);
}

@media (min-width: 768px) {
    .hero {
        min-height: 90vh;
    }
}

/* ==========================================================================
   Hero Container
   ========================================================================== */

.hero__container {
    position: relative;
    z-index: var(--z-above);
    width: 100%;
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .hero__container {
        padding: 0 var(--space-8);
    }
}

/* ==========================================================================
   Hero Content
   ========================================================================== */

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero__eyebrow {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-sand);
    margin-bottom: var(--space-6);
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-paper);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero__title span {
    color: var(--color-sand);
}

.hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-greige);
    margin-bottom: var(--space-10);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

.hero__actions .btn {
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(234, 197, 141, 0.25);
}

.hero__actions .btn:hover {
    box-shadow: 0 8px 30px rgba(234, 197, 141, 0.35);
}

/* ==========================================================================
   3D Bubbles Canvas
   ========================================================================== */

/* 3D Bubbles — removed from design */

/* ==========================================================================
   Hero Variations
   ========================================================================== */

/* Simple hero (for inner pages) */
.hero--simple {
    min-height: auto;
    padding-top: calc(80px + var(--space-12));
    padding-bottom: var(--space-12);
}

.hero--simple .hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-4);
}

.hero--simple .hero__subtitle {
    font-size: var(--text-lg);
    margin-bottom: 0;
}

/* Light hero variant */
.hero--light {
    background: var(--gradient-paper);
}

.hero--light .hero__title {
    color: var(--color-text-primary);
}

.hero--light .hero__subtitle {
    color: var(--color-text-secondary);
}

/* ==========================================================================
   Scroll Indicator (optional)
   ========================================================================== */

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-above);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 244, 230, 0.6);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.hero__scroll-indicator .icon {
    width: 20px;
    height: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 767px) {
    .hero {
        min-height: calc(100vh - 60px);
        min-height: calc(100svh - 60px); /* Account for mobile browser UI */
    }

    .hero__content {
        padding: var(--space-4) 0;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero__scroll-indicator {
        display: none;
    }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .hero__scroll-indicator {
        animation: none;
    }
}
