﻿.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 0 8%;
    text-align: left;
    background: url("../images/plane-window.jpg") center center/cover no-repeat;
    background-color: #1f1f1f;
    z-index: 1;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.38);
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    color: #fff;
}

.hero-eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.8);
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
}

.hero-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 42rem;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #ffffff;
    color: #111;
}

    .btn-primary:hover {
        background: #f2f2f2;
    }

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    background: rgba(255,255,255,0.08);
}

    .btn-secondary:hover {
        background: rgba(255,255,255,0.14);
    }

@media (max-width: 600px) {

    /* Align hero content at the top with some top padding */
    .hero {
        align-items: flex-start;
        padding-top: 140px; /* Adjust this value as needed */
    }

    /* UPDATED: don’t crush the headline on mobile */
    .hero-content h1 {
        font-size: 2rem; /* was 1rem */
        font-weight: 800;
        line-height: 1.15;
    }

    .hero-content .lead {
        font-size: 1.05rem; /* was 1rem */
        line-height: 1.6;
    }
}