@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #a98467;
    --secondary-color: #adc178;
    --dark-color: #6c584c;
    --light-color: #f0ead2;
    --white-color: #ffffff;
    --text-color: #333;
    --section-bg: #dde5b6;
    --footer-bg: #6c584c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header & Navbar */
#header {
    background: var(--white-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

#navbar .logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

#navbar .logo img {
    height: 40px;
    margin-right: 10px;
}

#navbar .nav-menu {
    display: flex;
    gap: 30px;
}

#navbar .nav-menu a {
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

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

.btn {
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #937156;
}

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

.btn-secondary:hover {
    background-color: #97a96a;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/hero-bg.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
}

.hero-content {
    max-width: 800px;
}

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

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

/* General Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
    color: #555;
}


/* About Us Section */
.about-us {
    background: var(--white-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Products Section */
.our-products {
    background-color: var(--section-bg);
}

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

.product-card {
    background: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-card img {
    height: 80px;
    margin: 0 auto 20px auto;
}

.product-card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Gallery / Our Mill */
.our-mill {
     background-color: var(--light-color);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}
.gallery-item img:hover {
    transform: scale(1.05);
}

/* Testimonials */
.testimonials {
    background-color: var(--section-bg);
}

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

.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    float: left;
    margin-right: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    clear: right;
}

.testimonial-card h4 {
    font-weight: 700;
    color: var(--dark-color);
}
.testimonial-card span {
    font-size: 0.9rem;
    color: #777;
}

/* Contact Us */
.contact-us {
    background: var(--white-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contact-info ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info ul li i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.social-media {
    margin-top: 30px;
}

.social-media h4 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.social-media a {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-right: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
    color: var(--dark-color);
    transform: scale(1.1);
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.contact-form button {
    width: 100%;
    padding: 15px;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--light-color);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social a {
    color: var(--light-color);
    font-size: 1.5rem;
    margin-left: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Animations on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1;
    }
}


@media (max-width: 768px) {
    #navbar .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white-color);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    #navbar .nav-menu.active {
        display: flex;
    }
    #navbar .nav-menu li {
        text-align: center;
        margin: 10px 0;
    }
    
    #navbar .btn-primary {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        justify-content: center;
        text-align: center;
    }

    .footer-social {
        margin-top: 10px;
    }

    .footer-social a {
        margin: 0 15px;
    }
}