/* =====================
   HERO
===================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.hero {
    position: relative;
    min-height: 100vh;
    /* min-h-[100svh] approx, simplified to 100vh for wide support or keep svh if preferred */
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0;
    /* Remove padding if adhering strictly to React 'flex items-center justify-center' full screen */
}

/* Background image + overlay */
.hero-bg {
    position: absolute;
    inset: 0;
    /* React: linear-gradient(rgba(35, 61, 124, 0.7), rgba(35, 61, 124, 0.5)) */
    background-image:
        linear-gradient(rgba(35, 61, 124, 0.7),
            rgba(35, 61, 124, 0.5)),
        url("https://images.unsplash.com/photo-1760611656148-063d3b9a8dbc?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxtb2Rlcm4lMjBmdXJuaXR1cmUlMjBzdG9yZSUyMGludGVyaW9yfGVufDF8fHx8MTc2NTg2NzI0NHww&ixlib=rb-4.1.0&q=80&w=1080");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 10;
    /* z-10 */
    max-width: 56rem;
    /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    /* px-4 */
    text-align: center;
    padding-top: 5rem;
    /* pt-20 */
    padding-bottom: 4rem;
    /* pb-16 */
    width: 100%;
}

@media (min-width: 640px) {
    .hero-content {
        padding-left: 1.5rem;
        /* sm:px-6 */
        padding-right: 1.5rem;
    }
}

.hero-content h1 {
    /* text-3xl sm:text-4xl md:text-5xl lg:text-6xl */
    font-size: 1.875rem;
    font-weight: 600;
    /* Default headings are usually bold, Tailwind default is font-normal? No, h1 usually bold. Replicating styles intuitively or strict classes. React class doesn't specify weight, assume standard bold or inherit. */
    color: #ffffff;
    margin-bottom: 1rem;
    /* mb-4 */
    line-height: 1.25;
    /* leading-tight */
    padding-left: 0.5rem;
    /* px-2 */
    padding-right: 0.5rem;
}

@media (min-width: 640px) {
    .hero-content h1 {
        font-size: 2.25rem;
        /* sm:text-4xl */
        margin-bottom: 1.5rem;
        /* sm:mb-6 */
    }
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
        /* md:text-5xl */
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.75rem;
        /* lg:text-6xl */
    }
}

.hero-content p {
    /* text-base sm:text-lg md:text-xl */
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    /* text-white/90 */
    margin-bottom: 1.5rem;
    /* mb-6 */
    max-width: 42rem;
    /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    /* px-4 */
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .hero-content p {
        font-size: 1.125rem;
        /* sm:text-lg */
        margin-bottom: 2rem;
        /* sm:mb-8 */
    }
}

@media (min-width: 768px) {
    .hero-content p {
        font-size: 1.25rem;
        /* md:text-xl */
    }
}

/* Buttons */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* gap-3 */
    justify-content: center;
    padding-left: 1rem;
    /* px-4 */
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
        /* sm:gap-4 */
    }
}

.hero-btn {
    width: 100%;
    /* w-full sm:w-auto px-6 sm:px-8 py-3 sm:py-4 */
    padding: 0.75rem 1.5rem;
    /* px-6 py-3 */
    border-radius: 9999px;
    /* rounded-full */
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    /* Default button font weight? */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    /* duration-300 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
}

@media (min-width: 640px) {
    .hero-btn {
        width: auto;
        padding: 1rem 2rem;
        /* sm:px-8 sm:py-4 */
        font-size: 1rem;
        /* sm:text-base */
    }
}

.hero-btn:hover {
    transform: scale(1.05);
    /* hover:scale-105 */
}

.hero-btn-primary {
    background-color: #A77D5C;
    color: #ffffff;
}

.hero-btn-primary:hover {
    background-color: #8f6949;
}

.hero-btn-secondary {
    background-color: #ffffff;
    color: #233D7C;
}

.hero-btn-secondary:hover {
    background-color: #F4EDE5;
}

/* =====================
   HERO SCROLL INDICATOR
===================== */

.hero-scroll {
    position: absolute;
    bottom: 1rem;
    /* bottom-4 */
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    animation: bounce 1s infinite;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-scroll {
        bottom: 2rem;
        /* sm:bottom-8 */
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateX(-50%) translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.chevron-icon {
    width: 2rem;
    /* size={32} -> 32px */
    height: 2rem;
}

@media (min-width: 640px) {
    .chevron-icon {
        width: 2.5rem;
        /* sm:w-10 */
        height: 2.5rem;
        /* sm:h-10 */
    }
}