/* ====================
   VARIABLES
===================== */
:root {
    /* Colors */
    --color-primary: #F3F4F6;
    --color-secondary: #FFFFFF;
    --color-accent: #FFAB91;
    --color-highlight: #81C1A3;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-lighter: #999999;
    --color-border: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Outfit', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-round: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ====================
   RESET & BASE STYLES
===================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text);
    background-color: var(--color-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-highlight);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover, a:focus {
    color: var(--color-accent);
}

ul, ol {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* ====================
   TYPOGRAPHY
===================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    z-index: -1;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    max-width: 700px;
}

/* ====================
   BUTTONS
===================== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-highlight);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
}

.btn:hover, .btn:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-primary {
    background-color: var(--color-highlight);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-highlight);
    color: var(--color-highlight);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--color-highlight);
    color: white;
}

.btn-accent {
    background-color: var(--color-accent);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ====================
   HEADER
===================== */
.site-header {
    position: relative;
    padding: var(--space-sm) 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 100;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    z-index: 10;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-highlight);
    margin: 0;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 10;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text);
    transition: all var(--transition-fast);
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    gap: var(--space-md);
}

.nav-list a {
    color: var(--color-text);
    font-weight: 500;
    transition: color var(--transition-normal);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-highlight);
    transition: width var(--transition-normal);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a.active {
    color: var(--color-highlight);
}

/* Header scroll effect */
.header-hidden {
    transform: translateY(-100%);
}

.header-visible {
    box-shadow: var(--shadow-md);
}

/* ====================
   HERO SECTION
===================== */
.hero {
    padding: var(--space-xl) 0;
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.hero-ctas {
    display: flex;
    gap: var(--space-sm);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    background-image: url('../images/image-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.visual-element {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.eco-pattern {
    background-image: linear-gradient(135deg, var(--color-highlight) 25%, transparent 25%), 
                      linear-gradient(225deg, var(--color-highlight) 25%, transparent 25%),
                      linear-gradient(45deg, var(--color-highlight) 25%, transparent 25%),
                      linear-gradient(315deg, var(--color-highlight) 25%, transparent 25%);
    background-position: 10px 0, 10px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
    opacity: 0.15;
    border-radius: var(--radius-lg);
}

.leaf-overlay {
    background-repeat: space;
    background-size: 80px 80px;
    opacity: 0.1;
    animation: floatLeaves 20s linear infinite;
}

@keyframes floatLeaves {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

/* ====================
   BENEFITS SECTION
===================== */
.benefits {
    padding: var(--space-xl) 0;
    background-color: var(--color-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.benefit-card {
    padding: var(--space-md);
    background-color: var(--color-primary);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--color-highlight);
    margin-bottom: var(--space-sm);
}

.benefit-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

/* ====================
   PRODUCTS SECTION
===================== */
.featured-products {
    padding: var(--space-xl) 0;
    background-color: var(--color-primary);
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.product-card {
    background-color: var(--color-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 200px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: var(--space-md);
}

.product-description {
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
}

.product-price {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-highlight);
    margin-bottom: var(--space-sm);
}

/* ====================
   TESTIMONIALS
===================== */
.testimonials {
    padding: var(--space-xl) 0;
    background-color: var(--color-secondary);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    width: 100%;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-content {
    background-color: var(--color-primary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.testimonial-content::before {
    content: """";
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--color-highlight);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0;
}

.author-position {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-md);
    gap: var(--space-sm);
}

.slider-arrow {
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.slider-arrow:hover {
    color: var(--color-highlight);
}

.slider-dots {
    display: flex;
    gap: var(--space-xs);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-round);
    background-color: var(--color-text-lighter);
    cursor: pointer;
    transition: background-color var(--transition-normal), transform var(--transition-normal);
}

.slider-dot:hover {
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: var(--color-highlight);
}

/* ====================
   CTA SECTION
===================== */
.cta-section {
    padding: var(--space-xl) 0;
    background-color: var(--color-highlight);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content .section-title {
    color: white;
}

.cta-content .section-title::after {
    background-color: white;
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-md);
}

.cta-content .btn-primary {
    background-color: white;
    color: var(--color-highlight);
}

.cta-content .btn-secondary {
    border-color: white;
    color: white;
}

.cta-content .btn-secondary:hover {
    background-color: white;
    color: var(--color-highlight);
}

/* ====================
   FOOTER
===================== */
.site-footer {
    padding: var(--space-lg) 0 var(--space-md);
    background-color: var(--color-primary);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--space-md);
}

.footer-logo {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-highlight);
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.footer-nav h4, .footer-legal h4, .footer-contact h4 {
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.footer-nav ul, .footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-nav a, .footer-legal a {
    color: var(--color-text-light);
    font-size: 0.875rem;
    transition: color var(--transition-normal);
}

.footer-nav a:hover, .footer-legal a:hover {
    color: var(--color-highlight);
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.footer-contact i {
    color: var(--color-highlight);
}

.footer-bottom {
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* ====================
   COOKIE NOTICE
===================== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-secondary);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: var(--space-sm) 0;
    z-index: 1000;
    display: none;
}

.cookie-notice.show {
    display: block;
    animation: slideUp 0.5s ease;
}

.cookie-notice .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.cookie-notice p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ====================
   CONTACT PAGE
===================== */
.contact-section {
    padding: var(--space-xl) 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-info {
    padding: var(--space-md);
    background-color: var(--color-primary);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.contact-info-leaf {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%2381C1A3" d="M17,8C8,10,5.9,16.17,3.82,21.34L5.71,22l1-2.3A4.49,4.49,0,0,0,8,20,4,4,0,0,0,12,16.5a4.5,4.5,0,0,0-1.17-3A14,14,0,0,1,17,8Z"/></svg>');
    background-size: contain;
    transform: rotate(45deg);
    z-index: 0;
}

.contact-info-content {
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    margin-bottom: var(--space-md);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--color-highlight);
}

.method-details h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.method-details p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

.contact-hours {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.contact-hours h4 {
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.hours-list {
    color: var(--color-text-light);
}

.contact-form-wrapper {
    padding: var(--space-md);
    background-color: var(--color-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-form label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-primary);
    transition: border-color var(--transition-normal);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-highlight);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group {
    margin-bottom: var(--space-md);
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.consent-checkbox input {
    width: auto;
    margin: 5px 0 0;
}

.consent-checkbox label {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.map-section {
    padding: var(--space-lg) 0;
    background-color: var(--color-primary);
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ====================
   PRODUCTS PAGE
===================== */
.products-header {
    padding: var(--space-xl) 0;
    background-color: var(--color-primary);
    text-align: center;
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: var(--color-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-highlight);
    border-color: var(--color-highlight);
    color: white;
}

.products-grid {
    padding: var(--space-xl) 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
}

/* ====================
   404 PAGE
===================== */
.error-page {
    padding: var(--space-xl) 0;
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-highlight);
    line-height: 1;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.error-message {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.error-description {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    color: var(--color-text-light);
}

/* ====================
   THANK YOU PAGE
===================== */
.thank-you-page {
    padding: var(--space-xl) 0;
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--color-highlight);
    margin-bottom: var(--space-md);
}

.thank-you-message {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.thank-you-description {
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    color: var(--color-text-light);
}

/* ====================
   RESPONSIVE STYLES
===================== */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-visual {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-branding {
        grid-column: span 2;
        text-align: center;
        margin-bottom: var(--space-md);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 11111;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 100%;
        width: 80%;
        height: 100%;
        background-color: var(--color-secondary);
        box-shadow: var(--shadow-lg);
        padding: 80px var(--space-md) var(--space-md);
        transition: right var(--transition-normal);
        z-index: 9999;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .footer-branding {
        grid-column: span 1;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cookie-notice .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .products-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-visual {
        height: 250px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .error-code {
        font-size: 6rem;
    }
}

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }
    
    .container {
        width: 95%;
    }
}