:root {
  --color-ivory: #FFF9F4;
  --color-beige: #F4E5D6;
  --color-sand: #CFAE83;
  --color-taupe: #8C7961;
  --color-cocoa: #2A1E14;
  --color-bg-primary: var(--color-ivory);
  --color-bg-secondary: var(--color-beige);
  --color-accent: var(--color-sand);
  --color-text-primary: var(--color-cocoa);
  --color-text-secondary: var(--color-taupe);
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --shadow-soft: 0 5px 15px rgba(42, 30, 20, 0.05);
  --shadow-medium: 0 8px 30px rgba(42, 30, 20, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition-slow: all 0.5s ease;
  --transition-medium: all 0.3s ease;
  --transition-fast: all 0.1s ease;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: var(--transition-medium);
}

a:hover, a:focus {
  color: var(--color-accent);
}

p, ul, ol {
  margin-bottom: var(--space-md);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, .btn {
  cursor: pointer;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-lg);
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  transition: var(--transition-medium);
  text-align: center;
  display: inline-block;
}

button:hover, .btn:hover {
  background-color: var(--color-taupe);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

input, textarea, select {
  width: 100%;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-md);
  font-family: 'Nunito Sans', sans-serif;
  transition: var(--transition-medium);
  background-color: white;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(207, 174, 131, 0.25);
}
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
  padding: var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section:has(.legal-page),
.section:has(.legal-page) ~ .section {
  opacity: 1 !important;
  transform: none !important;
}

.thank-you-container,
.error-page {
  opacity: 1 !important;
  transform: none !important;
}

body:has(.legal-page) .section,
body:has(.thank-you-container) .section {
  opacity: 1 !important;
  transform: none !important;
}
header {
  background-color: var(--color-bg-primary);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(140, 121, 97, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  min-width: 0;
  flex-wrap: nowrap;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--color-text-primary);
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.logo:hover {
  color: var(--color-accent);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-desktop li {
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-desktop a {
  white-space: nowrap;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  padding: var(--space-sm);
  font-size: 1.5rem;
  color: var(--color-text-primary);
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle:hover {
  color: var(--color-accent);
  background: transparent;
  transform: none;
  box-shadow: none;
}

.nav-toggle:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  min-width: 280px;
  height: 100vh;
  background-color: var(--color-beige);
  padding: var(--space-xl) var(--space-lg);
  transition: right 0.3s ease;
  z-index: 2000;
  box-shadow: var(--shadow-medium);
  overflow-y: auto;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile ul {
  list-style: none;
  margin: var(--space-xl) 0;
}

.nav-mobile li {
  margin-bottom: var(--space-md);
}

.nav-mobile a {
  font-size: 1.2rem;
  display: block;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(140, 121, 97, 0.2);
  transition: var(--transition-medium);
}

.nav-mobile a:hover {
  padding-left: var(--space-sm);
  color: var(--color-accent);
}

.nav-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  padding: var(--space-sm);
  font-size: 1.5rem;
  color: var(--color-text-primary);
  cursor: pointer;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: var(--transition-medium);
}

.nav-close:hover {
  background-color: rgba(42, 30, 20, 0.1);
  color: var(--color-accent);
}

.nav-close:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-beige);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(244, 229, 214, 0) 0%, rgba(244, 229, 214, 0.8) 80%);
  z-index: 1;
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-inline: auto;
}

.candle-flame {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-lg);
}

.flame {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 15px;
  height: 30px;
  background: linear-gradient(to top, #ff9d00, #ff0);
  border-radius: 50% 50% 20% 20% / 40% 40% 60% 60%;
  transform: translateX(-50%);
  animation: flicker 1.5s infinite alternate;
  box-shadow: 0 0 15px rgba(255, 157, 0, 0.6), 0 0 30px rgba(255, 157, 0, 0.4), 0 0 45px rgba(255, 157, 0, 0.2);
}

@keyframes flicker {
  0% {
    height: 30px;
    background: linear-gradient(to top, #ff9d00, #ff0);
  }
  100% {
    height: 35px;
    background: linear-gradient(to top, #ff7e00, #ffca7a);
  }
}
.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
}

.card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-img-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  aspect-ratio: 3/4;
  background-color: var(--color-beige);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-title {
  margin-bottom: var(--space-sm);
}

.card-price {
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-md);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.about-layout {
  display: flex;
  flex-direction: column;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  margin-top: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.checkbox-container input {
  width: auto;
  margin-right: var(--space-sm);
  margin-top: 5px;
}

.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}
footer {
  background-color: var(--color-beige);
  padding: var(--space-lg) 0;
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-link {
  font-size: 0.9rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl);
  line-height: 1.8;
}

.legal-page h1 {
  margin-bottom: var(--space-lg);
}

.legal-page h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page p, .legal-page ul {
  margin-bottom: var(--space-md);
}

.legal-page ul {
  padding-left: var(--space-lg);
}
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: var(--space-md);
}

.mb-2 {
  margin-bottom: var(--space-lg);
}

.mb-3 {
  margin-bottom: var(--space-xl);
}

.mt-1 {
  margin-top: var(--space-md);
}

.mt-2 {
  margin-top: var(--space-lg);
}

.mt-3 {
  margin-top: var(--space-xl);
}
@media (max-width: 768px) {
  .nav-desktop {
    display: none !important;
  }
  
  .nav-toggle {
    display: block !important;
  }
  
  .header-container {
    padding: 0 var(--space-sm);
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .container {
    padding: var(--space-sm);
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .hero {
    min-height: 70vh;
    padding: var(--space-lg);
  }
  
  .hero-content {
    padding: var(--space-lg);
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
  
  .legal-page {
    padding: var(--space-md);
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .about-layout {
    flex-direction: column;
  }
  
  .contact-form-container,
  .contact-info {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .nav-mobile {
    width: 90%;
    min-width: 260px;
  }
  
  .nav-mobile a {
    font-size: 1.1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .scent-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  .nav-mobile {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
  
  .nav-mobile a {
    font-size: 0.95rem;
    padding: var(--space-xs) 0;
  }
  
  .nav-toggle {
    padding: var(--space-xs);
    font-size: 1.3rem;
  }
  
  .nav-close {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
    top: var(--space-xs);
    right: var(--space-xs);
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .header-container {
    padding: 0 var(--space-xs);
  }
  
  .container {
    padding: var(--space-xs);
  }
  
  .hero {
    min-height: 60vh;
    padding: var(--space-md);
  }
  
  .hero-content {
    padding: var(--space-md);
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .card {
    padding: var(--space-md);
  }
  
  .card-title {
    font-size: 1.25rem;
  }
  
  .legal-page {
    padding: var(--space-sm);
    font-size: 0.9rem;
  }
  
  .legal-page h1 {
    font-size: 1.5rem;
  }
  
  .legal-page h2 {
    font-size: 1.25rem;
  }
  
  .btn {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.9rem;
  }
  
  .footer-logo {
    font-size: 1.2rem;
  }
  
  .footer-link {
    font-size: 0.85rem;
  }
}

@media (min-width: 769px) {
  .nav-desktop {
    display: block !important;
  }
  
  .nav-toggle {
    display: none !important;
  }
  
  .nav-mobile {
    display: none !important;
  }
  
  .nav-overlay {
    display: none !important;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .about-layout {
    flex-direction: row;
    gap: var(--space-xl);
    align-items: center;
  }
  
  .about-image {
    margin-top: 0;
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .contact-form-container,
  .contact-info {
    flex: 1;
  }
}
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: var(--space-xl);
}

.error-code {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-lg);
}
.thank-you-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: var(--space-xl);
}

.thank-you-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: inline-block;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1.2s ease forwards;
}
.stagger-fade-in > * {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.stagger-fade-in > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-fade-in > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-fade-in > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-fade-in > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-fade-in > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-fade-in > *:nth-child(6) { animation-delay: 0.6s; }
