/* ==========================================================================
   Base/Hero — Full-viewport hero with background image overlay
   Merged from Hero.css + ThemeHero.css (tokenized version)
   ========================================================================== */

.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: var(--overlay-text);
    font-family: var(--font-sans);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--hero-bg-url);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(38,40,49,0.34) 0%, rgba(38,40,49,0.62) 90%);
    z-index: 2;
}

.hero-text-container {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 1.5rem;
}

.hero-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-logo img {
    max-width: 220px;
    max-height: 120px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.hero-title {
    /* Fluid type (the idiom Hero.FullBanner.css already uses): a fixed 3.5rem
       broke to ONE WORD PER LINE at 390px — measured on bob 2026-08-05. Desktop
       is unchanged (the clamp maxes at the original 3.5rem). NOTE: vw in
       font-size is the fluid-type idiom and is unrelated to the vw-WIDTH species
       fixed the same day. */
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-shadow: 1px 1px 3px var(--overlay-shadow);
    overflow-wrap: break-word;
}

.hero-subtext {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px var(--overlay-shadow);
}

.hero-button {
    background-color: var(--primary-color);
    color: var(--primary-contrast);
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 3px 10px var(--primary-shadow);
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
}

    .hero-button:hover {
        background-color: var(--accent-color);
        color: var(--primary-color);
        border-color: var(--accent-color);
    }
