/* 
 * Base Hero Style (for all interior pages).
 * This is the smaller, more compact version.
*/
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 80px 0;
    min-height: 600px;
}


/* 
 * Full-Height Modifier (for the Front Page only).
 * This class overrides the base styles to make the hero take up the full viewport height.
*/
.hero-section--full {
    height: 100vh;
    min-height: 700px;
    padding-top: 84px;
}

.hero-section--full .hero-wrapper {
    padding-top: 0;
}

/* This wrapper remains the same, centering content. */
.hero-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Styles the container for the text and buttons inside the hero. */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    overflow: hidden;
}

.hero-content::before,
.hero-content::after {
    content: '';
    position: absolute;
}

/* Styles the main headline. */
.hero-title {
    margin: 0 0 20px 0;
}

/* Styles the subheading text. */
.hero-subtitle {
    margin: 0;
    font-size: 20px;
    color: #1A1A1A;
}

/* Buttons  */

.hero-buttons {
    margin: 30px 0 0 0;
    display: flex;
    gap: 30px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f6e66d;
    color: #000000;
    padding: 10px 50px;
    font-size: 20px;
    transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #cdc05e;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1A1A1A;
    padding: 10px 40px;
    font-size: 20px;
    transition: all 0.3s ease-in-out;
}

.btn-secondary:hover {
    background-color: #000000;
    color: #fff;
    padding: 10px 40px;
    font-size: 20px;
}

/*
   Fade Up + Stagger Animation
   Each .hero-animate element starts hidden
   and rises into place on page load.
*/

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

.hero-animate {
    opacity: 0;
    animation: heroFadeUp 0.6s ease forwards;
}

/* Stagger delays per element */
.hero-animate--1 { animation-delay: 0.1s; }   /* Headline */
.hero-animate--2 { animation-delay: 0.28s; }  /* Subheading */
.hero-animate--3 { animation-delay: 0.46s; }  /* Buttons */

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-animate {
        animation: none;
        opacity: 1;
        transform: none;
    }
}


/* ─────────────────────────────────────────
   Responsivity
───────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 480px;
        padding: 60px 0;

    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }

    .hero-buttons {
        align-items: center;
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-section--full {
        height: 100dvh;
        padding-top: 84px;
        padding-bottom: 0;
    }

    .hero-wrapper {
        padding: 0 24px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding: 40px;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(23px);
        -webkit-backdrop-filter: blur(23px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            inset 0 -1px 0 rgba(255, 255, 255, 0.1),
            inset 0 0 6px 3px rgba(255, 255, 255, 0.3);
    }

    .hero-content::before {
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent
        );
    }

    .hero-content::after {
        top: 0;
        left: 0;
        width: 1px;
        height: 100%;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.8),
            transparent,
            rgba(255, 255, 255, 0.3)
        );
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        gap: 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 32px;
        font-size: 18px;
    }
}

/* Mobile (640px) */
@media (max-width: 640px) {
    .hero-section {
        align-items: center;
        min-height: 420px;
        padding: 60px 0;
        margin-bottom: 24px;

    }

    .hero-section--full {
        align-items: center;
        height: 100dvh;
        padding-top: 0;
        padding-bottom: 0;
        
    }

    .hero-wrapper {
        padding: 0 20px 0px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .hero-section--full .hero-wrapper {
        padding-top: 84px; /* keeps content below header on mobile */
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 24px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 12px 30px;
        font-size: 1rem;
        text-align: center;
    }
}