/* =====================
   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
===================== */

.hero {
    min-height: 500px;
    background:
        linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
        url('../images/home-banner.webp') center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 40px;
}

@media (max-width: 768px) {

    .hero {
        background:
            linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
            url('../images/home-banner-mobile.webp') center/cover no-repeat;

        min-height: 420px;
        padding: 20px;
    }

}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    background: #2f6b3f;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
}

.hero-btn:hover {
    background: #255632;
}

/* =====================
   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;
    }

}
