/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors - Pastel Olive Green Complementary Palette */
    --olive: #d4ddc7; /* Main pastel olive green */
    --olive-light: #e8f0e3; /* Lighter olive tint */
    --peach-soft: #f4e8e0; /* Soft peach complement */
    --sage-deep: #9ba68f; /* Deeper olive sage */
    --green-charcoal: #3d4a3d; /* Deep green-grey */
    --terracotta: #9ba68f; /* Warm terracotta accent */
    --white: #fefffe;

    /* Typography */
    --font-brand: "Playfair Display", serif;
    --font-heading: "Lora", serif;
    --font-body: "Inter", sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ===== BASE STYLES ===== */
body {
    font-family: var(--font-body);
    background-color: var(--olive);
    color: var(--green-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== HEADER STYLES ===== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.logo-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.brand-name {
    font-family: var(--font-brand);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--terracotta);
    letter-spacing: -0.02em;
}

.tagline {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--sage-deep);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== HERO SECTION STYLES ===== */
.hero {
    padding: var(--spacing-xxl) 0;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--olive) 0%,
        var(--olive-light) 100%
    );
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--terracotta);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PRODUCTS SECTION STYLES ===== */
.products {
    padding: var(--spacing-xxl) 0;
    background-color: var(--olive-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--green-charcoal);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.02em;
}

/* ===== CAROUSEL STYLES ===== */
.carousel-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    background-color: var(--olive);
}

.carousel-item {
    display: none;
    text-align: center;
    padding: var(--spacing-lg);
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-item.active {
    display: block;
}

.product-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
}

.product-info {
    padding: var(--spacing-sm) 0;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--green-charcoal);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.product-price {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--terracotta);
}

/* ===== CAROUSEL DOTS STYLES ===== */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: var(--olive);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: var(--sage-deep);
    transform: scale(1.1);
}

.dot.active {
    background-color: var(--sage-deep);
    transform: scale(1.2);
}

/* ===== FOOTER STYLES ===== */
.footer {
    background-color: var(--olive-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.social-link,
.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    color: var(--terracotta);
    font-family: var(--font-body);
    font-weight: 400;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.social-link:hover,
.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--green-charcoal);
}

.icon {
    width: 20px;
    height: 20px;
}

.footer-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--sage-deep);
    font-style: italic;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }

    .brand-name {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .contact-links {
        flex-direction: row;
        justify-content: center;
    }

    .product-image {
        height: 350px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-container {
        max-width: 700px;
    }

    .product-image {
        height: 400px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.dot:focus,
.social-link:focus,
.contact-link:focus {
    outline: 2px solid var(--terracotta);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --green-charcoal: #000000;
        --terracotta: #654321;
        --sage-deep: #666666;
    }
}
