:root {
    --color-background: #F8EFE6;
    --color-accent: #A6BBA3;
    --color-highlight: #C97B4A;
    --color-text: #555555;
    --color-light: #FFFFFF;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --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);

    --transition-fast: 0.2s ease;
    --transition-med: 0.3s ease;
    --transition-slow: 0.5s ease;

    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Quicksand', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text);
    background: var(--color-background);
    background-image:
            radial-gradient(circle at 10% 20%, rgba(166,187,163,0.1) 0%, rgba(166,187,163,0) 50%),
            radial-gradient(circle at 80% 70%, rgba(201,123,74,0.1) 0%, rgba(201,123,74,0) 60%);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

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-sm);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-highlight);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    background-color: var(--color-accent);
    color: var(--color-light);
    border: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-block;
}

button:hover, .btn:hover {
    background-color: var(--color-highlight);
    color: var(--color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm);
}

.header {
    position: relative;
    padding: var(--space-md) 0;
    transition: all var(--transition-med);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header.hidden {
    transform: translateY(-100%);
}

.header.visible {
    transform: translateY(0);
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: var(--space-xs);
    color: var(--color-highlight);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
}

.nav {
    display: flex;
    gap: var(--space-md);
}

.nav-link {
    position: relative;
    color: var(--color-text);
    font-weight: 500;
    padding: var(--space-xs);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-highlight);
    transition: width var(--transition-med);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hero {
    position: relative;
    padding: var(--space-xl) 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
    overflow: hidden;
    background: url("../pictures/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    background-size: 20px 20px;
    background-image:
            linear-gradient(to right, var(--color-accent) 1px, transparent 1px),
            linear-gradient(to bottom, var(--color-accent) 1px, transparent 1px);
}

.hero-content {
    max-width: 600px;
    background: rgb(255, 255, 255, 0.5);
    padding: var(--space-lg);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--transition-med) forwards;
    hyphens: auto;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    transform: translateY(20px);
    animation: fadeUp 1s 0.3s var(--transition-med) forwards;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    transform: translateY(20px);
    animation: fadeUp 1s 0.6s var(--transition-med) forwards;
}

.section {
    padding: var(--space-lg) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

.section-title {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--color-highlight);
}

.grid {
    display: grid;
    gap: var(--space-md);
}


.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-med);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img-container {
    position: relative;
    padding-top: 66.67%;
    overflow: hidden;
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-med);
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--space-sm);
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
}

.card-price {
    font-weight: 700;
    color: var(--color-highlight);
    margin-bottom: var(--space-xs);
}

.card-text {
    margin-bottom: var(--space-sm);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.feature-icon {
    font-size: 2rem;
    color: var(--color-highlight);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
}

.contact-form {
    background-color: var(--color-light);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--color-accent), var(--color-highlight));
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(166,187,163,0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.form-checkbox input {
    margin-top: 5px;
}

.map-container {
    height: 450px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-icon {
    color: var(--color-highlight);
    font-size: 1.2rem;
}

.footer {
    background-color: var(--color-accent);
    color: var(--color-light);
    padding: var(--space-md) 0;
    margin-top: var(--space-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-logo {
    color: var(--color-light);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-nav {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-light);
}

.footer-link:hover {
    color: var(--color-highlight);
}

.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: var(--space-md);
    font-size: 0.9rem;
    opacity: 0.8;
}

.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-light);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-med);
}

.privacy-popup.show {
    transform: translateY(0);
}

.privacy-popup-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.privacy-popup-text {
    flex: 1;
}

.privacy-popup-buttons {
    display: flex;
    gap: var(--space-xs);
}

.back-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    color: var(--color-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-med);
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-highlight);
    color: var(--color-light);
}

.not-found {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.not-found-title {
    font-size: 8rem;
    margin-bottom: var(--space-xs);
    color: var(--color-highlight);
}

.not-found-text {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.thank-you {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--color-highlight);
    margin-bottom: var(--space-md);
}

.thank-you-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.thank-you-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: var(--space-lg);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.filter-btn {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-accent);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.filter-btn.active {
    background-color: var(--color-accent);
    color: var(--color-light);
}

.product-grid {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--transition-med) forwards;
}

.about-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);

}

.about-content {
    padding: var(--space-md);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--color-accent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-lg);
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: var(--space-md);
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: var(--space-md);
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--color-highlight);
    border-radius: 50%;
    top: 0;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background-color: var(--color-light);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.workshop-card {
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.workshop-content {
    padding: var(--space-md);
    flex: 1;
}

.workshop-date {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-light);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-sm);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-med);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-med);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--color-light);
    text-align: center;
    padding: var(--space-xs);
}

.floating {
    animation: float 3s infinite ease-in-out;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        width: 100%;
        left: 0;
        padding-left: 80px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 30px !important;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        display: none;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-light);
        flex-direction: column;
        padding: var(--space-lg) var(--space-md);
        transition: right var(--transition-med);
        z-index: 1001;
        box-shadow: var(--shadow-lg);
    }

    .nav.open {
        display: flex;
        right: 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .logo{
        font-size: 1rem;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .privacy-popup-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form {
        padding: var(--space-md);
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title{
        font-size: 1.75rem;
    }
}
@media (max-width: 360px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }
}

.nav-open{
    overflow: hidden;
}