:root {
    /* Color Palette */
    --primary-color: #2e7d32; /* Deep Green */
    --primary-light: #60ad5e;
    --primary-dark: #005005;
    --accent-color: #f9a825; /* Earthy Gold */
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    --bg-light: #f4f7f6;
    --bg-white: #ffffff;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Effects */
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.text-center {
    text-align: center;
}

.mt-4 { margin-top: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
}

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

.btn-light:hover {
    background-color: var(--bg-light);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('assets/hero.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 20, 0, 0.8), rgba(0, 20, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* About Section */
.section {
    padding: 6rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 4px solid var(--bg-white);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-list {
    margin-top: 2rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.about-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Services Section */
.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header .section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--text-light);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--bg-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-us-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.why-us-card:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-5px);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.why-us-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.why-us-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.products-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.product-img {
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    height: 250px;
    overflow: hidden;
    padding: 1rem;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.product-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
    align-self: center;
}

.product-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Gallery Section */
.gallery {
    background-color: var(--bg-white);
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.gallery-item {
    width: calc(33.333% - 1rem); /* 3 items per row on desktop */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 250px;
}

@media (max-width: 992px) {
    .gallery-item {
        width: calc(50% - 0.75rem); /* 2 items per row on tablet */
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: 100%; /* 1 item per row on mobile */
    }
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
}

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

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

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding-top: 4rem;
}

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

.footer-logo {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: #aaa;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 1rem;
    color: #aaa;
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #777;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        right: 0;
        bottom: 0;
        transform: translate(20%, 20%);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; /* Mobile menu implementation left out for brevity */
    }
    
    .experience-badge {
        transform: translate(0, 0);
        position: relative;
        margin-top: -30px;
        z-index: 2;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 3%;
    }
    
    .logo {
        font-size: 1.1rem;
        gap: 0.2rem;
        white-space: nowrap;
    }
    
    .navbar .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
}
