:root {
  --bg-primary: #FFF8F3;
  --text-primary: #1A1A1A;
  --accent-terracotta: #C97D60;
  --secondary-lavender: #9B8FB8;
  --highlight-amber: #E8A87C;
  --accent-mint: #A8D5BA;
  --accent-peach: #F4C2A1;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-xxxl: 2.5rem;
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --shadow-sm: 0 2px 8px rgba(201, 125, 96, 0.12);
  --shadow-md: 0 4px 16px rgba(201, 125, 96, 0.18);
  --shadow-lg: 0 8px 24px rgba(201, 125, 96, 0.25);
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: var(--font-size-base);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-size-xxxl);
}

h2 {
  font-size: var(--font-size-xxl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-sand);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 248, 243, 0.95) 0%, rgba(255, 248, 243, 0.85) 100%);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
  z-index: 100;
  border-bottom: 1px solid rgba(201, 125, 96, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  padding: var(--space-xs) 0;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-terracotta), var(--highlight-amber));
  transition: width var(--transition-base);
}

.logo:hover {
  color: var(--accent-terracotta);
  transform: translateX(2px);
}

.logo:hover::after {
  width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  font-size: var(--font-size-sm);
  text-transform: lowercase;
  letter-spacing: 0.1em;
  transition: all var(--transition-base);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-sm);
  position: relative;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-terracotta);
  transform: translateY(-50%);
  transition: width var(--transition-base);
}

.nav-menu li a:hover {
  color: var(--accent-terracotta);
  background: rgba(201, 125, 96, 0.05);
}

.nav-menu li a:hover::before {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: rgba(201, 125, 96, 0.1);
  border: 1px solid rgba(201, 125, 96, 0.2);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-lg);
  color: var(--accent-terracotta);
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  z-index: 1001;
  transition: all var(--transition-base);
}

.menu-toggle:hover {
  background: var(--accent-terracotta);
  color: var(--bg-primary);
}

.menu-toggle.active,
.mobile-menu.active ~ .header-content .menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #FEF5ED 100%);
  transform: translateY(-100%);
  transition: transform var(--transition-base);
  z-index: 1000;
  padding: var(--space-xxl) var(--space-lg);
  box-shadow: -4px 0 24px rgba(201, 125, 96, 0.2);
  overflow-y: auto;
  border-left: 1px solid rgba(201, 125, 96, 0.1);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: rgba(201, 125, 96, 0.1);
  border: 1px solid rgba(201, 125, 96, 0.2);
  border-radius: 50%;
  font-size: var(--font-size-lg);
  color: var(--accent-terracotta);
  cursor: pointer;
  padding: var(--space-xs);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.mobile-menu-close:hover {
  background: var(--accent-terracotta);
  color: var(--bg-primary);
  transform: rotate(90deg);
}

.mobile-nav {
  list-style: none;
  margin-top: var(--space-xl);
}

.mobile-nav li {
  margin-bottom: var(--space-md);
}

.mobile-nav li a {
  font-size: var(--font-size-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    background-size: 100% auto;
  }
  100% {
    background-size: 110% auto;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 248, 243, 0.75) 0%, rgba(201, 125, 96, 0.15) 50%, rgba(155, 143, 184, 0.1) 100%);
  z-index: 1;
}

.hero-figure {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  z-index: 2;
  opacity: 0.9;
  animation: floatCandle 6s ease-in-out infinite;
}

@keyframes floatCandle {
  0%, 100% {
    transform: translateY(-50%) translateX(0) rotate(0deg);
  }
  25% {
    transform: translateY(-55%) translateX(10px) rotate(2deg);
  }
  50% {
    transform: translateY(-50%) translateX(0) rotate(0deg);
  }
  75% {
    transform: translateY(-45%) translateX(-10px) rotate(-2deg);
  }
}

.hero-figure::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 80px;
  background: linear-gradient(180deg, #F5E6D3 0%, var(--accent-terracotta) 50%, var(--highlight-amber) 100%);
  border-radius: 25px 25px 6px 6px;
  box-shadow: 0 4px 16px rgba(201, 125, 96, 0.4), inset 0 -10px 20px rgba(201, 125, 96, 0.2);
  animation: flicker 3s ease-in-out infinite;
}

@keyframes flicker {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(201, 125, 96, 0.4), 0 0 20px rgba(232, 168, 124, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(201, 125, 96, 0.6), 0 0 30px rgba(232, 168, 124, 0.5);
  }
}

.hero-figure::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 30px;
  background: linear-gradient(180deg, var(--highlight-amber) 0%, var(--accent-terracotta) 100%);
  border-radius: 2px;
  animation: flame 2s ease-in-out infinite;
}

@keyframes flame {
  0%, 100% {
    height: 30px;
    opacity: 1;
  }
  50% {
    height: 35px;
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
  background: rgba(255, 248, 243, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(201, 125, 96, 0.2);
  box-shadow: 0 8px 32px rgba(201, 125, 96, 0.15);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: var(--font-size-xxxl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--accent-terracotta) 0%, var(--highlight-amber) 100%);
  color: var(--bg-primary);
  border: none;
  border-radius: 50px;
  font-size: var(--font-size-sm);
  text-transform: lowercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: var(--space-md);
  text-align: center;
  box-shadow: 0 4px 12px rgba(201, 125, 96, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 125, 96, 0.4);
  color: var(--bg-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-terracotta);
  box-shadow: none;
}

.btn-secondary::before {
  display: none;
}

.btn-secondary:hover {
  background: var(--accent-terracotta);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 125, 96, 0.3);
}

.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #FEF5ED 100%);
}

.section-title {
  text-align: left;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-left: var(--space-lg);
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-terracotta), var(--highlight-amber));
  border-radius: 2px;
}

.section-title h2 {
  font-size: var(--font-size-xxl);
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-terracotta), transparent);
  border-radius: 2px;
}

.section-title p {
  font-size: var(--font-size-md);
  color: var(--text-primary);
  opacity: 0.7;
  font-style: italic;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.feature-card {
  text-align: left;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(201, 125, 96, 0.03) 100%);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(201, 125, 96, 0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-terracotta), var(--highlight-amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 125, 96, 0.3);
}

.feature-icon {
  font-size: var(--font-size-xxl);
  color: var(--accent-terracotta);
  margin-bottom: var(--space-md);
  display: inline-block;
  padding: var(--space-sm);
  background: rgba(201, 125, 96, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--accent-terracotta);
  color: var(--bg-primary);
  transform: rotate(5deg) scale(1.1);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.product-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(201, 125, 96, 0.1);
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(201, 125, 96, 0.05) 0%, rgba(155, 143, 184, 0.05) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 125, 96, 0.3);
}

.product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-info {
  padding: var(--space-md);
}

.product-name {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

.product-price {
  font-size: var(--font-size-md);
  color: var(--accent-terracotta);
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(201, 125, 96, 0.1);
  border-radius: var(--border-radius-sm);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #FEF5ED 100%);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(201, 125, 96, 0.2);
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 125, 96, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid rgba(201, 125, 96, 0.2);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-base);
  font-family: inherit;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 3px rgba(201, 125, 96, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-size: var(--font-size-sm);
  text-transform: none;
  letter-spacing: normal;
}

.map-container {
  margin-top: var(--space-xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.footer {
  background: linear-gradient(135deg, var(--text-primary) 0%, #2D2D2D 100%);
  color: var(--bg-primary);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xxl);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-terracotta), var(--highlight-amber), var(--secondary-lavender));
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-section h4 {
  margin-bottom: var(--space-md);
  color: var(--bg-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--bg-primary);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--highlight-amber);
  padding-left: var(--space-xs);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.legal-content h1 {
  margin-bottom: var(--space-lg);
}

.legal-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p {
  margin-bottom: var(--space-md);
}

.table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

.legal-content table th,
.legal-content table td {
  padding: var(--space-sm);
  border: 1px solid var(--accent-sand);
  text-align: left;
}

.legal-content table th {
  background: linear-gradient(135deg, var(--accent-terracotta) 0%, var(--highlight-amber) 100%);
  color: var(--bg-primary);
  font-weight: 600;
}

.legal-content table td {
  border-color: rgba(201, 125, 96, 0.2);
}

.home-button {
  display: inline-block;
  margin-top: var(--space-xl);
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--accent-terracotta) 0%, var(--highlight-amber) 100%);
  color: var(--bg-primary);
  border-radius: 50px;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(201, 125, 96, 0.3);
}

.home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 125, 96, 0.4);
  color: var(--bg-primary);
}

.thank-you-page,
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.thank-you-page p,
.error-page p {
  max-width: none;
  font-size: var(--font-size-lg);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(42, 42, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: var(--bg-primary);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  margin: var(--space-md);
  box-shadow: var(--shadow-lg);
}

.popup-buttons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }


  h1 {
    font-size: var(--font-size-xxl);
  }

  h2 {
    font-size: var(--font-size-xl);
  }

  .hero {
    min-height: 60vh;
  }

  .hero h1 {
    font-size: var(--font-size-xxl);
  }

  .hero p {
    font-size: var(--font-size-base);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }

  .logo {
    font-size: var(--font-size-lg);
  }

  .hero-figure {
    width: 150px;
    height: 150px;
    right: 5%;
  }

  .hero-content {
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .hero-content {
    padding: var(--space-md);
    margin: 0 auto;
    text-align: center;
  }

  .form-container {
    padding: var(--space-md);
  }

  .logo {
    font-size: var(--font-size-md);
  }

  .hero-figure {
    display: none;
  }

  .section-title {
    padding-left: var(--space-md);
  }
}

@media (max-width: 320px) {
  .hero {
    min-height: 50vh;
  }

  .hero h1 {
    font-size: var(--font-size-xl);
  }

  .section-title h2 {
    font-size: var(--font-size-lg);
  }

  .header {
    padding: var(--space-xs) 0;
  }

  .logo {
    font-size: var(--font-size-sm);
  }
}

