:root {
    --background: #F9F6F2;
    --primary: #D97448;
    --secondary: #7A8450;
    --text: #3A3A3A;
    --text-light: #6D6D6D;
    --transition-slow: 0.5s ease;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.15s ease;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes wavyBorder {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes colorShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 20%, rgba(122, 132, 80, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(217, 116, 72, 0.03) 0%, transparent 60%);
    z-index: -1;
    animation: colorShift 20s ease infinite;
    background-size: 200% 200%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--primary);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
    display: inline-block;
}

button:hover, .button:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

input, textarea, select {
    width: 100%;
    padding: var(--space-sm);
    margin-bottom: var(--space-md);
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(122, 132, 80, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: "";
    position: absolute;
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, rgba(217, 116, 72, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float 15s ease-in-out infinite;
}

.section:nth-child(odd)::before {
    top: -10rem;
    right: -10rem;
}

.section:nth-child(even)::before {
    bottom: -10rem;
    left: -10rem;
    background: radial-gradient(circle, rgba(122, 132, 80, 0.05) 0%, transparent 70%);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }

.header {
    position: relative;
    z-index: 100;
    padding: var(--space-md) 0;
    background-color: rgba(249, 246, 242, 0.9);
    backdrop-filter: blur(5px);
    transition: all var(--transition-medium);
}

.header.compact {
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
}

.logo::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    opacity: 0.2;
    animation: wavyBorder 5s ease-in-out infinite;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1000;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary);
    transition: all var(--transition-medium);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-md);
}

.nav-item a {
    font-size: 1.1rem;
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary);
    transition: width var(--transition-medium);
}

.nav-item a:hover::after {
    width: 100%;
}

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: url("../pictures/hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
    background: rgb(249, 246, 242, 0.5);
    padding: var(--space-lg);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    line-height: 1.1;
    position: relative;
}

.hero-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin-top: var(--space-sm);
    background: var(--primary);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shape {
    position: absolute;
    width: 55%;
    height: 110%;
    top: -5%;
    right: -2%;
    background-color: var(--secondary);
    opacity: 0.05;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: wavyBorder 15s ease-in-out infinite;
}

.product-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-medium);
    position: relative;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.product-card:hover::before {
    opacity: 0.15;
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: var(--space-md);
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.product-description {
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.product-price {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}

.cta-section {
    background: linear-gradient(135deg, rgba(217, 116, 72, 0.1) 0%, rgba(122, 132, 80, 0.1) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    margin: var(--space-xl) 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.about-section {
    position: relative;
}

.about-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.about-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(217, 116, 72, 0.1), rgba(122, 132, 80, 0.1));
    z-index: -1;
}

.contact-form-container::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(122, 132, 80, 0.1), rgba(217, 116, 72, 0.1));
    z-index: -1;
}

.footer {
    background-color: rgba(58, 58, 58, 0.05);
    padding: var(--space-lg) 0;
    margin-top: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    top: 0;
    left: 0;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: var(--space-md);
}

.copyright {
    margin-top: var(--space-lg);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cookie-consent {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    max-width: 350px;
    padding: var(--space-md);
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    z-index: 1000;
    display: none;
}

.cookie-consent-active {
    display: block;
    animation: fadeIn 0.5s forwards;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.cookie-accept {
    background-color: var(--primary);
    flex: 1;
}

.cookie-decline {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text);
}

.map-container {
    position: relative;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.page-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: var(--space-xl) 0;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: var(--space-md);
    position: relative;
    opacity: 0.8;
}

.error-code::after {
    content: "Oops!";
    position: absolute;
    font-size: 1.5rem;
    top: -20px;
    right: -40px;
    background-color: var(--secondary);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transform: rotate(10deg);
}

.legal-container {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
}

.legal-title {
    color: var(--primary);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.legal-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.thank-you-container {
    text-align: center;
    padding: var(--space-xl) 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: var(--space-lg);
}

.thank-you-message {
    max-width: 600px;
    margin: 0 auto;
}

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    opacity: 0.5;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    animation: float 15s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background-color: var(--secondary);
    top: 60%;
    right: 5%;
    animation-delay: -5s;
    animation-duration: 20s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background-color: var(--primary);
    bottom: 10%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 18s;
}

@media (max-width: 1200px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero-title { font-size: 3rem; }
    .hero { height: 80vh; }
}

@media (max-width: 992px) {
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-image {
        opacity: 0.2;
        width: 100%;
    }
    .hero-shape {
        width: 100%;
        right: -20%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    .nav-toggle {
        display: block;
    }
    .nav {
        position: fixed;
        top: 0;
        display: none;
        width: 70%;
        height: 100vh;
        background-color: var(--background);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-medium);
        z-index: 100;
    }
    .nav-active {
        right: 0;
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
        gap: var(--space-lg);
    }
    .nav-item a {
        font-size: 1.3rem;
    }
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .about-image {
        height: 300px;
    }
    .about-content {
        margin-top: -50px;
    }
    .cta-section {
        padding: var(--space-lg) var(--space-md);
    }
}

@media (max-width: 576px) {
    .section {
        padding: var(--space-lg) 0;
    }
    .hero {
        height: auto;
        min-height: 70vh;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-text {
        font-size: 1.1rem;
    }
    .hero-shape {
        height: 100%;
    }
    .product-image {
        height: 200px;
    }
    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
    .error-code {
        font-size: 5rem;
    }
    .error-code::after {
        font-size: 1.2rem;
        top: -15px;
        right: -30px;
    }
}

@media (max-width: 400px) {
    html {
        font-size: 12px;
    }
}

.spinner {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.spinner:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--primary);
    border-color: var(--primary) transparent var(--primary) transparent;
    animation: spinner 1.2s linear infinite;
}

@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(249, 246, 242, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.menu-open{
    overflow: hidden;
}