/* ================= RESET & VARIABLES ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --- UPDATE THESE CODES TO MATCH YOUR LOGO --- */
    --primary: #2e7d32;
    /* Main Green (Darker) */
    --secondary: #81c784;
    /* Lighter/Accent Green */
    --accent: #ffab00;
    /* Optional: A contrast color (like Orange/Yellow) for buttons */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f4f7f6;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ================= NAVBAR ================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand img {
    height: 60px;
    /* Adjust based on logo shape */
}

/* Mobile Menu Toggle Logic could go here */
.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    transition: 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

/* ================= HERO ================= */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1625246333195-58197bd47f26?auto=format&fit=crop&w=1950');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-box h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-box p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f1f1f1;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid var(--primary);
}

.btn:hover {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

/* ================= SECTIONS ================= */
section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.title {
    text-align: center;
    margin-bottom: 50px;
}

.title h2 {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
}

/* ================= PRODUCTS ================= */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filters button {
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
}

.filters button:hover,
.filters button.active {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 4px solid var(--secondary);
}

/* Placeholder for missing images */
.img-placeholder {
    width: 100%;
    height: 220px;
    background-color: #f0f0f0;
    /* Light gray */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    border-bottom: 4px solid var(--secondary);
}

.img-placeholder i {
    font-size: 3rem;
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.pack {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    background: #f0f0f0;
    padding: 8px 12px;
    border-radius: 6px;
    align-self: flex-start;
}

/* ================= FOOTER ================= */
footer {
    background: #1b1b1b;
    /* Almost black */
    color: #fff;
    padding: 60px 20px 20px;
}

.foot {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

footer h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

footer p {
    color: #bbb;
    margin-bottom: 10px;
}

footer i {
    color: var(--primary);
    width: 25px;
}

.copy {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}