:root {
    --ivory-white: #F8F5F0;
    --nordic-blue: #4A6FA5;
    --terracotta: #C97A63;
    --sage-green: #A9B89E;
    --charcoal: #2F2F2F;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--charcoal);
    background-color: var(--ivory-white);
    background-image:
            radial-gradient(circle at 100% 100%, rgba(169, 184, 158, 0.1) 0%, transparent 40%),
            radial-gradient(circle at 0% 0%, rgba(74, 111, 165, 0.1) 0%, transparent 50%);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: var(--space-md);
    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-md);
}

a {
    color: var(--nordic-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: bolder;
}

a:hover {
    color: var(--terracotta);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    background-color: var(--terracotta);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    transition: all var(--transition-fast);
    display: inline-block;
}

button:hover, .btn:hover {
    background-color: var(--nordic-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--charcoal);
}

.logo span {
    color: var(--terracotta);
}

header {
    position: relative;
    padding: var(--space-md) 0;
    z-index: 1000;
    transition: all var(--transition-medium);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: var(--space-lg);
}

.burger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--charcoal);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all var(--transition-fast);
}

.burger span:nth-child(1) {
    top: 0px;
}

.burger span:nth-child(2) {
    top: 8px;
}

.burger span:nth-child(3) {
    top: 16px;
}

.burger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.burger.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-lg);
    background-color: rgba(248, 245, 240, 0.8);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(5px);
    animation: fadeIn 1s ease;
}

.hero h1 {
    margin-bottom: var(--space-md);
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
}

.section {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--terracotta);
    margin: var(--space-sm) auto;
}

.card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.card-content {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.card-price {
    color: var(--terracotta);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.card-buttons {
    margin-top: auto;
    display: flex;
    gap: var(--space-sm);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.contact-form {
    background-color: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.form-input, .form-textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid #ddd;
    border-radius: var(--border-radius-md);
    font-family: 'Quicksand', sans-serif;
    transition: border var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--nordic-blue);
    outline: none;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.form-checkbox input {
    margin-right: var(--space-sm);
    margin-top: 0.3em;
}

.form-submit {
    width: 100%;
}

.footer {
    background-color: var(--charcoal);
    color: white;
    padding: var(--space-lg) 0;
    margin-top: var(--space-xl);
}

.footer a {
    color: var(--ivory-white);
}

.footer a:hover {
    color: var(--sage-green);
}

.footer-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.copyright {
    text-align: center;
    margin-top: var(--space-md);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.map-container {
    height: 450px;
    margin-bottom: var(--space-lg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
}

.feature {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: var(--space-md);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium);
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: var(--nordic-blue);
    margin-bottom: var(--space-md);
}

.about-section {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.about-img {
    flex: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.about-content {
    flex: 1;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: all var(--transition-medium);
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-text {
    margin-right: var(--space-md);
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
}

.not-found {
    text-align: center;
    padding: var(--space-xl) 0;
}

.not-found h1 {
    font-size: 6rem;
    margin-bottom: var(--space-md);
}

.not-found p {
    margin-bottom: var(--space-lg);
}

.legal-content {
    background-color: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-content h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: var(--space-sm);
    margin-top: var(--space-lg);
}

.home-button {
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.filter-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.filter-btn {
    background-color: white;
    color: var(--charcoal);
    border: 1px solid #ddd;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--nordic-blue);
    color: white;
    border-color: var(--nordic-blue);
}

.featured-item {
    padding: var(--space-lg);
    background-color: rgba(169, 184, 158, 0.1);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.featured-item::before {
    content: "Handmade of the Month";
    position: absolute;
    top: 40px;
    right: -70px;
    background-color: var(--terracotta);
    color: white;
    padding: 5px 50px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 600;
}

.thank-you-container {
    text-align: center;
    padding: var(--space-xl) 0;
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--sage-green);
    margin-bottom: var(--space-lg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.section:nth-child(even) {
    background-color: rgba(169, 184, 158, 0.1);
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.parallax-content {
    background-color: rgba(248, 245, 240, 0.85);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    max-width: 800px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .burger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--ivory-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right var(--transition-medium);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: var(--space-md) 0;
    }

    .about-section {
        flex-direction: column;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        margin-right: 0;
        margin-bottom: var(--space-md);
    }

    .parallax {
        height: 300px;
    }

    .thank-you-actions{
        flex-direction: column;
    }

    .logo{
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-content{
        background-color: rgba(248, 245, 240, 0.3);
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .feature {
        min-width: 100%;
    }

    .nav-menu {
        width: 100%;
    }

    .logo{
        font-size: 1.2rem;
    }
}