:root {
    --wax-beige: #F2E4D8;
    --candle-honey: #F7C89C;
    --craft-paper: #FFE8C7;
    --atelier-brown: #3E2C1C;
    --artisan-tan: #A67F5B;
    --flame-peach: #FFDFB9;
    --flame-glow: #FFE8C7;
    
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Mukta', sans-serif;
    
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--atelier-brown);
    background-color: var(--wax-beige);
    line-height: 1.6;
    overflow-x: hidden;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--atelier-brown);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

a {
    color: var(--artisan-tan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--candle-honey);
}


.texture-overlay {
    position: relative;
}

.texture-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, transparent 0%, rgba(0,0,0,0.02) 100%),
        radial-gradient(circle at 80% 80%, transparent 0%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
    opacity: 0.3;
}


header {
    background: linear-gradient(135deg, var(--atelier-brown) 0%, var(--artisan-tan) 100%);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(62, 44, 28, 0.2);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--flame-glow);
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--wax-beige);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--flame-glow);
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--wax-beige);
    border-radius: 2px;
    transition: all 0.3s ease;
}


.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, var(--flame-glow) 0%, var(--wax-beige) 70%);
    overflow: hidden;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 231, 199, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(247, 200, 156, 0.2) 0%, transparent 50%);
    animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    color: var(--atelier-brown);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero p {
    font-size: 1.3rem;
    color: var(--atelier-brown);
    margin-bottom: var(--spacing-lg);
}


.flame-container {
    display: inline-block;
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    animation: flicker 2s ease-in-out infinite;
}

@keyframes flicker {
    0%, 100% { 
        transform: scale(1) rotate(-1deg);
        filter: brightness(1);
    }
    25% { 
        transform: scale(1.05) rotate(1deg);
        filter: brightness(1.1);
    }
    50% { 
        transform: scale(0.98) rotate(-0.5deg);
        filter: brightness(0.95);
    }
    75% { 
        transform: scale(1.02) rotate(0.5deg);
        filter: brightness(1.05);
    }
}


.wax-drip {
    position: absolute;
    width: 60px;
    height: 80px;
    background: linear-gradient(180deg, var(--artisan-tan) 0%, var(--atelier-brown) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.3;
    animation: drip 3s ease-in-out infinite;
}

.wax-drip:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.wax-drip:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.wax-drip:nth-child(3) {
    bottom: 15%;
    left: 25%;
    animation-delay: 2s;
}

@keyframes drip {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(10px) scale(1.1); }
}


.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--artisan-tan) 0%, var(--candle-honey) 100%);
    color: var(--atelier-brown);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(166, 127, 91, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(166, 127, 91, 0.4);
    background: linear-gradient(135deg, var(--candle-honey) 0%, var(--flame-peach) 100%);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--artisan-tan);
    color: var(--atelier-brown);
}

.btn-secondary:hover {
    background: var(--artisan-tan);
    color: var(--wax-beige);
}


section {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--candle-honey), transparent);
    margin: var(--spacing-sm) auto;
}


.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.workshop-card {
    background: var(--craft-paper);
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: 0 4px 20px rgba(62, 44, 28, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.workshop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--candle-honey), var(--flame-peach));
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(62, 44, 28, 0.2);
}

.workshop-card h3 {
    color: var(--atelier-brown);
    margin-bottom: var(--spacing-sm);
}

.workshop-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--artisan-tan);
    margin: var(--spacing-sm) 0;
}

.difficulty {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: var(--wax-beige);
    border-radius: 20px;
    font-size: 0.9rem;
    margin: var(--spacing-sm) 0;
}


.timeline {
    position: relative;
    padding: var(--spacing-xl) 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--candle-honey), var(--artisan-tan));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--craft-paper);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(62, 44, 28, 0.1);
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--candle-honey);
    border: 4px solid var(--wax-beige);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--artisan-tan);
    z-index: 2;
}


.feature-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-block {
    background: linear-gradient(135deg, var(--wax-beige) 0%, var(--craft-paper) 100%);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(62, 44, 28, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}


.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.tool-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--craft-paper);
    border-radius: 8px;
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}


.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.testimonial {
    background: var(--wax-beige);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(62, 44, 28, 0.1);
    position: relative;
    border-left: 4px solid var(--candle-honey);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--candle-honey);
    opacity: 0.3;
    font-family: var(--font-heading);
}


.gallery {
    columns: 3;
    column-gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: var(--spacing-md);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(62, 44, 28, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


.polaroid-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    margin: var(--spacing-lg) 0;
}

.polaroid {
    background: var(--wax-beige);
    padding: 15px 15px 60px 15px;
    box-shadow: 0 4px 20px rgba(62, 44, 28, 0.2);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    max-width: 300px;
}

.polaroid:nth-child(even) {
    transform: rotate(2deg);
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.05);
}

.polaroid img {
    width: 100%;
    height: auto;
    display: block;
}

.polaroid::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--candle-honey);
    border-radius: 50%;
    opacity: 0.5;
}


.studio-timeline {
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    position: relative;
    padding-left: var(--spacing-lg);
}

.studio-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--candle-honey), var(--artisan-tan));
}

.timeline-entry {
    position: relative;
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-md);
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--candle-honey);
    border: 3px solid var(--wax-beige);
    border-radius: 50%;
}


.contact-section {
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%238B6914"/><circle cx="20" cy="20" r="2" fill="%23654321" opacity="0.3"/><circle cx="80" cy="30" r="1.5" fill="%23654321" opacity="0.3"/><circle cx="40" cy="70" r="2" fill="%23654321" opacity="0.3"/><circle cx="90" cy="80" r="1.5" fill="%23654321" opacity="0.3"/></svg>') repeat;
    padding: var(--spacing-xl);
    min-height: 600px;
    position: relative;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.note-paper {
    background: var(--craft-paper);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 40px rgba(62, 44, 28, 0.3), 
                0 0 0 1px rgba(62, 44, 28, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: rotate(-1deg);
    position: relative;
    border-radius: 2px;
}

.note-paper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--artisan-tan);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.note-paper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--atelier-brown);
    border-radius: 50%;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--atelier-brown);
    font-family: var(--font-heading);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--artisan-tan);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--wax-beige);
    color: var(--atelier-brown);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--candle-honey);
    box-shadow: 0 0 0 3px rgba(247, 200, 156, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.divider-doodle {
    text-align: center;
    margin: var(--spacing-md) 0;
    font-size: 1.5rem;
    color: var(--artisan-tan);
    opacity: 0.5;
}




.thank-you-container {
    text-align: center;
    padding: var(--spacing-xl);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.candle-illustration {
    font-size: 8rem;
    margin-bottom: var(--spacing-lg);
    animation: flicker 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(247, 200, 156, 0.5));
}


.error-page {
    text-align: center;
    padding: var(--spacing-xl);
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-page h1 {
    font-size: 8rem;
    color: var(--artisan-tan);
    margin-bottom: var(--spacing-md);
}


footer {
    background: var(--atelier-brown);
    color: var(--wax-beige);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    margin-top: var(--spacing-xl);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    color: var(--wax-beige);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--candle-honey);
}


.cookies-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--atelier-brown);
    color: var(--wax-beige);
    padding: var(--spacing-md);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
}

.cookies-popup.show {
    display: block;
}

.cookies-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookies-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookies-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.cookies-buttons button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--candle-honey);
    color: var(--atelier-brown);
}

.btn-accept:hover {
    background: var(--flame-peach);
}

.btn-decline {
    background: transparent;
    color: var(--wax-beige);
    border: 2px solid var(--wax-beige);
}

.btn-decline:hover {
    background: var(--wax-beige);
    color: var(--atelier-brown);
}


.legal-page {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-md);
    background: var(--wax-beige);
    color: var(--atelier-brown);
    line-height: 1.8;
}

.legal-page h1 {
    margin-bottom: var(--spacing-md);
}

.legal-page h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.legal-page p {
    margin-bottom: var(--spacing-sm);
}


@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 50px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--atelier-brown);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: var(--spacing-lg);
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .gallery {
        columns: 1;
    }
    
    .cookies-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookies-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .workshop-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .feature-blocks {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .polaroid-container {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-page {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .note-paper {
        padding: var(--spacing-md);
    }
    
    .contact-section {
        padding: var(--spacing-md);
        min-height: auto;
    }
    
    section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    h3 {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }
}

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }
    
    section {
        padding: var(--spacing-md) var(--spacing-xs);
    }
    
    .hero {
        min-height: 50vh;
        padding: var(--spacing-md) var(--spacing-xs);
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .flame-container {
        font-size: 3rem;
    }
    
    .workshop-grid {
        grid-template-columns: 1fr;
    }
    
    .workshop-card {
        padding: var(--spacing-sm);
    }
    
    .feature-blocks {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .nav-links {
        padding: var(--spacing-md);
    }
    
    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .legal-page {
        padding: var(--spacing-sm) var(--spacing-xs);
    }
    
    .legal-page h1 {
        font-size: 1.8rem;
    }
    
    .legal-page h2 {
        font-size: 1.4rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .footer-links a {
        font-size: 0.8rem;
    }
    
    .note-paper {
        padding: var(--spacing-sm);
    }
    
    .contact-section {
        padding: var(--spacing-sm);
    }
    
    .cookies-content {
        padding: var(--spacing-sm);
    }
    
    .cookies-content p {
        font-size: 0.9rem;
    }
    
    .cookies-buttons button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .timeline-item {
        padding-left: var(--spacing-md);
    }
    
    .polaroid {
        max-width: 250px;
    }
    
    p {
        font-size: 0.95rem;
    }
}

