/* =========================================
   Variables & Reset
   ========================================= */
:root {
    /* Color Palette */
    --primary-color: #80c342;
    /* Light Green */
    --secondary-color: #176527;
    /* Dark Green */
    --accent-color: #f7a000;
    /* Subtle orange for highlights like stars */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9fdfa;
    --white: #ffffff;
    --border-color: #e2e8f0;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Transitions */
    --transition: all 0.3s ease-in-out;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.my-3 {
    margin: 1rem 0;
}

/* =========================================
   Typography & Titles
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.divider.center {
    margin: 0 auto 2rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary-color);
    border-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* =========================================
   Top Bar
   ========================================= */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    margin-right: 20px;
    color: var(--white);
    opacity: 0.9;
}

.contact-info a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-links a {
    margin-left: 15px;
    color: var(--white);
    opacity: 0.9;
}

.social-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.logo-highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    background: linear-gradient(rgba(23, 101, 39, 0.8), rgba(23, 101, 39, 0.8)), url('https://images.unsplash.com/photo-1596591606975-97ee5cef3a1e?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat;
    height: calc(100vh - 120px);
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* =========================================
   About Section
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-features i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.2rem;
}

/* =========================================
   Products Section
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-light);
}

.more-categories {
    grid-column: 1 / -1;
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}

/* =========================================
   Why Choose Us
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(128, 195, 66, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-box p {
    color: var(--text-light);
}

/* =========================================
   Gallery Section
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 101, 39, 0.3);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::before {
    opacity: 1;
}

/* =========================================
   Reviews Section
   ========================================= */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.review-card::before {
    content: '\201C';
    font-family: serif;
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: rgba(128, 195, 66, 0.1);
    line-height: 1;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.reviewer {
    font-weight: 700;
    color: var(--secondary-color);
}

/* =========================================
   Contact Section
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info-card {
    padding: 50px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details li {
    display: flex;
    margin-bottom: 25px;
}

.contact-details i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-details strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--text-light);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.map-container {
    min-height: 400px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-logo {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin: 0 10px;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   WhatsApp Float
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        /* Cover full height to allow scrolling if needed */
        right: -100%;
        width: 100%;
        /* Or 300px if you want a side drawer */
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
        /* Ensure hamburger is above nav-links */
        position: relative;
        /* Need position relative for z-index to apply over fixed elements ideally, or just ensure proper stacking context */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }

    .top-bar {
        display: none;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 50px 0;
    }

    .contact-info-card {
        padding: 30px 20px;
    }
}