body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f8f4;
    color: #1c1c1c;
}

/* HEADER */

header {
    background: #ffffff;
    padding: 15px 40px;
    border-bottom: 1px solid #e5e5e5;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
}

#searchBar {
    padding: 8px;
    width: 250px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    position: relative;
    cursor: pointer;
    font-weight: bold;
}

.mega-menu {
    display: none;
    position: absolute;
    background: white;
    top: 40px;
    left: 0;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mega-menu a {
    display: block;
    padding: 8px 0;
    color: #2f6f3e;
    text-decoration: none;
}

.mega-parent:hover .mega-menu {
    display: block;
}

/* HERO */

.hero {
    text-align: center;
    padding: 90px 20px;
    background: linear-gradient(to right, #2f6f3e, #4CAF50);
    color: white;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: white;
    color: #2f6f3e;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

/* CATEGORIES */

.categories {
    padding: 60px 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    color: #2f6f3e;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* FOOTER */

footer {
    background: #1c1c1c;
    color: white;
    padding: 40px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-content a {
    display: block;
    color: #4CAF50;
    text-decoration: none;
    margin-bottom: 5px;
}

/* MOBILE */

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    #searchBar {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 30px;
    }
}
