@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --primary-color: rgb(8, 109, 8);
    --secondary-color: #c6ffb5;
    --tertiary-color: #b1efee;
}

/* =========================
   Global Styles
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Domine", serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* =========================
   Header & Navigation
   ========================= */
header {
    background: rgba(8, 109, 8, 1);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
}

.logo img {
    height: 60px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #b8e986;
}

/* =========================
   Buttons
   ========================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-alt {
    background: var(--primary-color);
    color: #fff
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* =========================
   Hero Section (Home Page)
   ========================= */
.hero {
    background: var(--hero-bg);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 9rem 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    max-width: 900px;
}


/* =========================
   Page Header (Sub Pages)
   ========================= */
.page-header {
    background: var(--page-header-bg);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 9rem 2rem;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-header p {
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* =========================
   Features Section
   ========================= */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* =========================
   About Section
   ========================= */
.about-section {
    background: #f4f9f0;
    padding: 4rem 2rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: #2d5016;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

/* =========================
   Products Page
   ========================= */
.category-section {
    margin-bottom: 4rem;
}

.category-title {
    color: #2d5016;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #b8e986;
}

.category-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.product-image {
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    color: #2d5016;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.product-type {
    color: #4a7c2c;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 1rem;
}

.product-features li {
    padding: 0.3rem 0;
    color: #555;
    font-size: 0.95rem;
}

.product-features li::before {
    content: "✓ ";
    color: #4a7c2c;
    font-weight: bold;
    margin-right: 0.5rem;
}

.product-npk {
    background: #f4f9f0;
    padding: 0.8rem;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    color: #2d5016;
    margin-top: 1rem;
}

/* =========================
   Contact Page
   ========================= */
.contact-info-centered {
    max-width: 600px;
    margin: 0 auto;
    background: #f4f9f0;
    padding: 3rem;
    border-radius: 10px;
}

.contact-info-centered h2 {
    color: #2d5016;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.info-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-content h3 {
    color: #2d5016;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.info-content p {
    color: #666;
    line-height: 1.6;
}

/* =========================
   CTA Section
   ========================= */
.cta-section {
    background: #d6ffd6;
    color: var(--primary-color);
    text-align: center;
    padding: 4rem 2rem;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* =========================
   Footer
   ========================= */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
}

/* =========================
   Responsive Design
   ========================= */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-centered {
        padding: 2rem;
    }
}
