/* =========================================================
   CASANOVA CAR RENTAL — HOME PAGE: HERO SECTION
   Colors: Amber #FFBF01 | Rich Black #111111 | White #FFFFFF
   Font: Neue Montreal (Regular / Medium / Bold)
========================================================= */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-rich-black);
    background-image: url('../../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

/* Dark gradient overlay so text stays readable on any image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(17, 17, 17, 0.55) 0%,
        rgba(17, 17, 17, 0.65) 45%,
        rgba(17, 17, 17, 0.92) 100%
    );
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: heroFadeUp 1s ease both;
}

/* -----------------------------------------
   Eyebrow
----------------------------------------- */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-amber);
    margin-bottom: 22px;
}

.eyebrow-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: var(--color-amber);
}

/* -----------------------------------------
   Heading
----------------------------------------- */
.hero-heading {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(38px, 5.5vw, 72px);
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
    text-transform: capitalize;
}

.hero-heading span {
    color: var(--color-amber);
    display: block;
}

/* -----------------------------------------
   Subtext
----------------------------------------- */
.hero-subtext {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 540px;
    margin: 0 auto 40px;
}

/* -----------------------------------------
   CTA Buttons
----------------------------------------- */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions .btn {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    padding: 12px 26px;
    border-radius: 50px;
    line-height: 1.2;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.hero-actions .btn-cta {
    background-color: var(--color-amber);
    color: var(--color-rich-black);
}

.hero-actions .btn-cta:hover {
    background-color: #e6ac00;
    transform: translateY(-2px);
}

.hero-actions .btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-rich-black);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* -----------------------------------------
   Scroll Indicator
----------------------------------------- */
.hero-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    z-index: 2;
    animation: heroFadeUp 1.2s ease 0.3s both;
}

.scroll-mouse {
    display: flex;
    justify-content: center;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background-color: var(--color-amber);
    animation: scrollDot 1.6s ease infinite;
}

/* -----------------------------------------
   Animations
----------------------------------------- */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        transform: translateY(14px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */
@media (max-width: 1024px) {
    .hero-container {
        padding: 0 24px;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-section {
        background-attachment: scroll; /* fixed bg can lag/flicker on tablets */
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */
@media (max-width: 860px) {
    .hero-section {
        min-height: 80svh;
        text-align: center;
    }

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

    .hero-actions {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 34px;
    }

    .hero-subtext {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 14px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-scroll-indicator {
        bottom: 20px;
    }
}