/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-color: #2C4A3B; /* Dark Green */
    --secondary-color: #8B9D83; /* Sage Green */
    --bg-color: #F9F8F4; /* Cream / Off-white */
    --accent-color: #8E6B4A; /* Earth Brown */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--primary-color); }
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; }
.text-center { text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-light); margin-bottom: 3rem; font-size: 1.1rem; }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--accent-color); }
.btn-outline { background-color: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); }

/* Navigation */
.navbar {
    background-color: rgba(249, 248, 244, 0.95);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--primary-color); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.nav-links a:hover { color: var(--secondary-color); }

/* Language Switcher */
.lang-switcher {
    padding: 5px 10px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(44, 74, 59, 0.7), rgba(44, 74, 59, 0.7)), url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex; align-items: center; text-align: center; color: var(--white);
}
.hero h1 { color: var(--white); font-size: 4rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Cards */
.product-card {
    background: var(--white); border-radius: 12px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition);
    text-align: center; padding-bottom: 20px;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.product-img-wrapper { overflow: hidden; height: 250px; }
.product-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrapper img { transform: scale(1.1); }
.product-info { padding: 20px; }
.product-title { font-size: 1.2rem; margin-bottom: 10px; }
.product-desc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; }
.badge { background-color: var(--accent-color); color: var(--white); font-size: 0.8rem; padding: 4px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }

/* Benefits / Testimonial Cards */
.benefit-card, .testimonial-card {
    background: var(--white); padding: 30px; border-radius: 12px;
    text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.benefit-icon { font-size: 2.5rem; margin-bottom: 15px; }
.testimonial-text { font-style: italic; color: var(--text-light); margin-bottom: 15px; }
.testimonial-author { font-weight: 700; color: var(--primary-color); }

.cta-section { background-color: var(--secondary-color); color: var(--white); text-align: center; }
.cta-section h2 { color: var(--white); }

/* Product Page */
.product-details-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px; }
.product-gallery img { border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.price-display { font-size: 2rem; color: var(--accent-color); font-weight: 700; margin: 20px 0; }
.quantity-selector { margin: 20px 0; }
.quantity-options { display: flex; gap: 15px; margin-top: 10px; }
.radio-group input[type="radio"] { display: none; }
.radio-group label {
    display: block; padding: 10px 20px; border: 1px solid var(--secondary-color);
    border-radius: 30px; cursor: pointer; transition: var(--transition);
}
.radio-group input[type="radio"]:checked + label { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.action-buttons { display: flex; gap: 15px; margin-top: 30px; }

/* Contact Page */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; }
.form-group textarea { height: 150px; resize: vertical; }
.contact-info-card { background: var(--primary-color); color: var(--white); padding: 40px; border-radius: 12px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 20px; }
.contact-info-card p { margin-bottom: 15px; }
.map-placeholder { margin-top: 30px; height: 250px; background: #ccc; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #666; }

/* Footer */
footer { background-color: var(--primary-color); color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: var(--white); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--secondary-color); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .product-details-container, .contact-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; width: 100%; background-color: var(--bg-color);
        padding: 20px; text-align: center; box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
}