:root {
    /* Colors */
    --color-charcoal: #1A1A1A;
    --color-slate-blue: #2E4052;
    --color-forest-olive: #556E53;
    --color-warm-beige: #D9CAB3;
    --color-golden-amber: #E3B23C;
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Raleway', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Borders and Shadows */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 6px 15px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-medium: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-warm-beige);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-slate-blue);
    margin-bottom: var(--space-sm);
    font-weight: 700;
    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-forest-olive);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-golden-amber);
}

ul, ol {
    margin-left: var(--space-md);
    margin-bottom: var(--space-sm);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* Header Styles */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: relative;
    padding: var(--space-sm) 0;
    transition: var(--transition-medium);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--color-slate-blue);
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--color-golden-amber);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-slate-blue);
}

.mobile-menu-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-slate-blue);
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 2;
    transition: var(--transition-medium);
}

.mobile-menu-close:hover {
    color: var(--color-golden-amber);
    transform: rotate(90deg);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: var(--space-md);
}

.nav-link {
    display: block;
    padding: var(--space-xs) var(--space-sm);
    color: var(--color-slate-blue);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-forest-olive);
    transition: var(--transition-medium);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-forest-olive);
}

.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: var(--color-warm-beige);
    padding: var(--space-lg) 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 75vh;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-slate-blue);
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    color: var(--color-forest-olive);
}

.hero-brush {
    position: absolute;
    width: 45%;
    height: auto;
    opacity: 0.1;
    z-index: 0;
}

.hero-brush-left {
    left: -10%;
    top: 20%;
    transform: rotate(-20deg);
}

.hero-brush-right {
    right: -10%;
    bottom: 20%;
    transform: rotate(20deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: var(--transition-medium);
    cursor: pointer;
    text-align: center;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-forest-olive);
    color: white;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    background-color: var(--color-slate-blue);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
    color: white;
}

.btn-secondary {
    background-color: var(--color-golden-amber);
    color: var(--color-charcoal);
}

.btn-secondary:hover {
    background-color: var(--color-slate-blue);
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    padding: var(--space-lg) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-golden-amber);
}

.text-center {
    text-align: center;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.feature {
    background-color: white;
    border-radius: var(--border-radius-md);
    padding: var(--space-md);
    box-shadow: var(--box-shadow);
    transition: var(--transition-medium);
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-golden-amber);
}

.feature-title {
    margin-bottom: var(--space-sm);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: var(--space-md);
}

.product-title {
    margin-bottom: var(--space-xs);
}

.product-price {
    color: var(--color-forest-olive);
    font-size: 1.25rem;
    font-weight: 700;
    margin: var(--space-sm) 0;
}

/* Testimonials */
.testimonials {
    background-color: var(--color-slate-blue);
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    position: relative;
}

.testimonial-text {
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: var(--space-sm);
    object-fit: cover;
}

.testimonial-author-name {
    font-weight: 700;
    margin-bottom: 0;
}

.testimonial-author-title {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-forest-olive);
    outline: none;
    box-shadow: 0 0 0 3px rgba(85, 110, 83, 0.25);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.form-check-input {
    margin-right: var(--space-sm);
    margin-top: 0.25rem;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.contact-item {
    text-align: center;
    background-color: white;
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    transition: var(--transition-medium);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.contact-icon {
    font-size: 2rem;
    color: var(--color-golden-amber);
    margin-bottom: var(--space-sm);
}

/* Map */
.map-container {
    height: 400px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-top: var(--space-lg);
    box-shadow: var(--box-shadow);
}

/* Footer */
.footer {
    background-color: var(--color-slate-blue);
    color: white;
    padding: var(--space-md) 0;
    margin-top: var(--space-xl);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link {
    margin: 0 var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
    color: white;
}

.footer-social {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social-item {
    margin-left: var(--space-sm);
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
}

.footer-social-link:hover {
    color: white;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-slate-blue);
    color: white;
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: var(--transition-medium);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-text {
    margin-right: var(--space-md);
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
}

/* 404 Page */
.error-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-golden-amber);
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.error-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

/* Thank You Page */
.thanks-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    text-align: center;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--color-forest-olive);
    margin-bottom: var(--space-md);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background-color: white;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: var(--transition-medium);
        padding: var(--space-lg) var(--space-md);
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .mobile-menu-close {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        margin-top: var(--space-lg);
    }
    
    .nav-item {
        margin: var(--space-xs) 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature {
        margin-bottom: var(--space-md);
    }
    
    .contact-form {
        padding: var(--space-md);
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links, .footer-social {
        justify-content: center;
        margin: var(--space-sm) 0;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cookie-consent {
        flex-direction: column;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: var(--space-sm);
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 1.75rem;
    }
}