/* CSS Variables for Theme Colors */
:root {
    --primary-green: #2C4C3B;
    --secondary-green: #4A7C59;
    --light-bg: #F9F8F3;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Top Bar */
.top-bar {
    background-color: var(--light-bg);
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid #eaeaea;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}
.logo img {
    max-height: 85px; 
    width: auto;
    object-fit: contain;
}
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-green);
}
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-green);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Slideshow Section */
.slideshow-container {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}
.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}
.slide.active { opacity: 1; }
.slide-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 76, 59, 0.45);
    z-index: 1;
}
.slide-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 90%;
    max-width: 900px;
}
.slide-content h1 {
    color: var(--white);
    font-size: 52px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.slide-content p {
    font-size: 20px;
    margin-bottom: 35px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Slideshow Controls */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    user-select: none;
    z-index: 3;
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}
.next { right: 20px; }
.prev { left: 20px; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); }
.dots-container {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 3;
}
.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.active-dot, .dot:hover { background-color: var(--white); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    background-color: var(--secondary-green);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.btn:hover { background-color: var(--primary-green); }

/* Generic Sections */
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--light-bg); }
.bg-white { background-color: var(--white); }

.section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-green);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.about-text h2 {
    font-size: 44px;
    margin-bottom: 25px;
    line-height: 1.2;
}
.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 17px;
}

/* Products Section */
.products-section { text-align: center; }
.products-section h2 {
    font-size: 40px;
    margin-bottom: 60px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.product-card {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.product-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}
.product-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}
.product-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 25px;
}
.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Why Choose Us Section */
.why-us-section { text-align: center; }
.why-us-section h2 {
    font-size: 40px;
    margin-bottom: 60px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.feature-item h2 {
    font-size: 48px;
    color: rgba(44, 76, 59, 0.1);
    margin-bottom: -15px;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
}
.feature-item h4 {
    font-family: 'Jost', sans-serif;
    font-size: 19px;
    margin: 15px 0 10px;
    color: var(--primary-green);
}
.feature-item p {
    font-size: 15px;
    color: var(--text-light);
}

/* Inner Page Headers (For About, Contact, etc.) */
.page-header {
    background: linear-gradient(rgba(44, 76, 59, 0.8), rgba(44, 76, 59, 0.8)), url('https://images.unsplash.com/photo-1588614959060-4d144f28b207?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}
.page-header h1 {
    color: var(--white);
    font-size: 48px;
}

/* Footer */
.footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Changed from 4 to 3 */
    gap: 40px;
    margin-bottom: 60px;
}
.footer h4 {
    color: var(--white);
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer ul li {
    margin-bottom: 12px;
    color: #d1dcd6;
}
.footer ul li a:hover {
    color: var(--white);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #d1dcd6;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .products-grid, .features-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .slide-content h1 { font-size: 38px; }
    .slide-content p { font-size: 18px; }
    .logo-text { font-size: 22px; }
}
@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; gap: 8px; text-align: center; }
    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background-color: var(--white);
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
    .logo img { max-height: 60px; }
    .logo-text { font-size: 20px; }
    .products-grid, .features-grid, .footer-grid { grid-template-columns: 1fr; }
    .slide-content h1 { font-size: 28px; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}