/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2C1810;
    background-color: #F5F1EB;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
}

h1 {
    font-size: 2rem;
    color: #1D5C3F;
    margin-bottom: 0.25rem;
}

h2 {
    font-size: 2.5rem;
    color: #1D5C3F;
    margin-bottom: 2rem;
    text-align: left;
}

h3 {
    font-size: 1.25rem;
    color: #1D5C3F;
    text-align: center;
    margin-top: 1rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #4A4A4A;
}

/* Header */
.header {
    background-color: #F5F1EB;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 60px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text h1 {
    font-size: 1.75rem;
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.875rem;
    color: #B8860B;
    font-style: italic;
    font-family: 'Crimson Text', serif;
}

/* Navigation - Desktop */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #1D5C3F;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #34AA5C;
}

.language-toggle {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: 1px solid #1D5C3F;
    color: #1D5C3F;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: #1D5C3F;
    color: #F5F1EB;
}

.lang-btn:hover:not(.active) {
    background-color: #34AA5C;
    color: #F5F1EB;
    border-color: #34AA5C;
}

/* Navigation - Mobile */
.nav-mobile {
    display: none;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1D5C3F;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #F5F1EB;
    transition: left 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    padding: 2rem;
}

.mobile-nav-menu {
    list-style: none;
    margin-bottom: 2rem;
}

.mobile-nav-menu li {
    margin-bottom: 1.5rem;
}

.mobile-nav-menu a {
    text-decoration: none;
    color: #1D5C3F;
    font-size: 1.125rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.mobile-nav-menu a:hover {
    border-bottom-color: #34AA5C;
}

.mobile-language-toggle {
    display: flex;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #D4C4A8 0%, #B8A082 100%);
    position: relative;
    overflow: hidden;


}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('../images/hero-bg.jpg') center/cover no-repeat; */
    opacity: 0.7;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: #F5F1EB;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background-color: #34AA5C;
    color: #F5F1EB;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 170, 92, 0.3);
}

.cta-button:hover {
    background-color: #2E9650;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 170, 92, 0.4);
}

.hero-image {
    position: absolute ;
    top:0;
    left: 0;
    border: 1px solid black;

    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    object-fit:cover;


}

.hero-image img {
    object-fit:cover;
    object-fit:cover;
    width: 100%;
    height: 100%;
    filter: brightness(50%); /* Darkens image */

}

/* Our Story Section */
.our-story {
    padding: 5rem 0;
    background-color: #F5F1EB;
}

.our-story h2 {
    color: #1D5C3F;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.story-content {
    max-width: 800px;
    margin-bottom: 4rem;
}

.story-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4A4A4A;
}

.story-detailed {
    margin-top: 2rem;
}

.read-more-btn {
    background: none;
    border: 2px solid #34AA5C;
    color: #34AA5C;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.read-more-btn:hover {
    background-color: #34AA5C;
    color: #F5F1EB;
}

/* Product Categories */
.product-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

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

.category-image {
    width: 100%;
    height: 250px;
    margin-bottom: 1rem;
    border-radius: 8px;
    /* overflow: hidden; */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Products Mobile Section */
.products-mobile {
    display: none;
    padding: 3rem 0;
    background-color: #F5F1EB;
}

.products-mobile h2 {
    color: #1D5C3F;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.mobile-product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-product-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.mobile-product-image {
    width: 100%;
    height: 200px;
}

.mobile-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-product-card h3 {
    padding: 1rem;
    font-size: 1.125rem;
}

/* Sustainability Section */
.sustainability {
    padding: 5rem 0;
    background-color: #E8DDD1;
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.sustainability-text h2 {
    color: #1D5C3F;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.sustainability-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4A4A4A;
}

/* Contact Form */
.contact-form-container h2 {
    color: #1D5C3F;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #C4B59A;
    background-color: #F5F1EB;
    font-size: 1rem;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #34AA5C;
    box-shadow: 0 0 0 2px rgba(52, 170, 92, 0.1);
}

.contact-form button {
    background-color: #34AA5C;
    color: #F5F1EB;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #2E9650;
}

.contact-info {

    margin-top: 2rem;
}

.contact-info p {
    font-size: 1.125rem;
    color: #1D5C3F;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #F5F1EB;
    padding: 2rem 0;
    border-top: 1px solid #E0D5C7;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 33px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: #1D5C3F;
    margin: 0;
}

.footer-logo span {
    font-size: 0.75rem;
    color: #B8860B;
    font-style: italic;
    margin: 0;
}

.footer-email {
    color: #1D5C3F;
    font-weight: 500;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
    
    .logo-text span {
        font-size: 0.75rem;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .our-story {
        padding: 3rem 0;
    }
    
    .our-story h2 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .product-categories {
        display: none;
    }
    
    .products-mobile {
        display: block;
    }
    
    .sustainability-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sustainability h2,
    .contact-form-container h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .our-story h2,
    .sustainability h2,
    .contact-form-container h2 {
        font-size: 1.75rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Language switching animations */
.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 100px;
}

/* Loading states */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}