/* =====================
   GLOBAL
===================== */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}

a {
    text-decoration: none;
    transition: 0.2s ease;
}

section {
    padding: 60px 0;
}

.white-section {
    background: white;
}

.gray-section {
    background: #f7f7f7;
}

/* =========================
   HERO BANNER
========================= */

.hero-banner {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Slides */

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;

    opacity: 0;

    transform: scale(1);

    transition:
        opacity 2s ease-in-out,
        transform 8s ease-in-out;

    z-index: 0;
}

/* Active Slide */

.hero-slide.active {
    opacity: 1;
    transform: scale(1.08);
}

/* Overlay */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* Content */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.hero-content h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-content p {
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: 35px;
    opacity: 0.95;
}

/* Buttons */

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    transition: all .25s ease;
}

/* Primary */

.hero-btn.primary {
    background: #F1CD73;
    color: white;
}

.hero-btn.primary:hover {
    transform: translateY(-2px);
    background: #c4a557;
}

/* Secondary */

.hero-btn.secondary {
    border: 2px solid white;
    color: white;
}

.hero-btn.secondary:hover {
    background: white;
    color: black;
}

/* Mobile */

@media (max-width: 768px) {

    .hero-banner {
        height: 75vh;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

}

/* =====================
   FEATURE CARDS / Categories
===================== */

.home-features {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding: 0 20px;
}

.feature {
    background: white;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.categories {
    max-width: 1200px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 20px;
    background: #f7f7f7;
}

.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    transition: transform .2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
}

.category-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.category-card h3 {
    padding: 20px;
    margin: 0;
    color: #222;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero {
        min-height: 400px;
    }

}
