:root {
  /* Colors */
  --color-background: #FFFDFC;
  --color-primary: #EAC7C7;
  --color-secondary: #F2E3D5;
  --color-text: #3B2F2F;
  --color-button: #D6A79D;
  --color-light: #FFFFFF;
  --color-shadow: rgba(59, 47, 47, 0.08);
  
  /* Typography */
  --font-primary: 'Cormorant Garamond', serif;
  --font-secondary: 'Montserrat', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-circle: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px var(--color-shadow);
  --shadow-md: 0 4px 8px var(--color-shadow);
  --shadow-lg: 0 8px 16px var(--color-shadow);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

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(--color-button);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-button);
  color: var(--color-light);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--color-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-button);
  border: 2px solid var(--color-button);
}

.btn-outline:hover {
  background-color: var(--color-button);
  color: var(--color-light);
}

/* Header */
.header {
  position: relative;
  padding: var(--space-md) 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  background-color: rgba(255, 253, 252, 0.95);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
}

.logo span {
  color: var(--color-button);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-link {
  margin-left: var(--space-md);
  font-size: 1rem;
  position: relative;
}

.nav-link a {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.5rem;
}

.nav-link a:hover {
  color: var(--color-button);
}

.nav-link a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-button);
  transition: width var(--transition-normal);
}

.nav-link a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero {
  padding: var(--space-xl) 0;
  background-color: var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-btns {
  display: flex;
  gap: var(--space-md);
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

/* Section */
.section {
  padding: var(--space-xl) 0;
}

.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: 3px;
  background-color: var(--color-primary);
}

/* Card */
.card {
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: var(--space-lg);
}

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

.card-price {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-button);
  margin-bottom: var(--space-md);
}

.card-text {
  margin-bottom: var(--space-md);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature {
  text-align: center;
  padding: var(--space-lg);
  animation: fadeIn 1s ease-out;
}

.feature-icon {
  margin-bottom: var(--space-md);
  font-size: 2.5rem;
  color: var(--color-primary);
}

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

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-lg);
  background-color: var(--color-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(59, 47, 47, 0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: border var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
}

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

/* Footer */
.footer {
  padding: var(--space-lg) 0;
  background-color: var(--color-secondary);
  color: var(--color-text);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-info {
  flex: 1;
  min-width: 250px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-nav-col {
  flex: 1;
  min-width: 160px;
}

.footer-nav-title {
  margin-bottom: var(--space-md);
  font-size: 1.2rem;
}

.footer-nav-links {
  list-style: none;
}

.footer-nav-link {
  margin-bottom: var(--space-sm);
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(59, 47, 47, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
  font-size: 0.875rem;
}

/* Cookies Policy Popup */
.cookies-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 400px;
  width: 90%;
  background-color: var(--color-light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
}

.cookies-popup.show {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

.cookies-popup-content {
  margin-bottom: var(--space-md);
}

.cookies-popup-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
}

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

/* 404 Page */
.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: var(--space-xl) 0;
}

.page-404 h1 {
  font-size: 6rem;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.page-404 h2 {
  margin-bottom: var(--space-lg);
}

/* Thank You Page */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: var(--space-xl) 0;
}

.thank-you h1 {
  margin-bottom: var(--space-md);
  color: var(--color-button);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

/* Custom Animations for Candles */
.candle-flicker {
  animation: pulse 2s ease-in-out infinite;
}

.candle-float {
  animation: float 6s ease-in-out infinite;
}

.candle-wiggle {
  animation: wiggle 6s ease-in-out infinite;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Special Section Animation */
.special-section {
  position: relative;
  overflow: hidden;
}

.special-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(234, 199, 199, 0.2), rgba(242, 227, 213, 0.2));
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.7s ease-out;
}

.special-section:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-background);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-button);
}

/* Animated Underline for Links */
.animated-link {
  position: relative;
}

.animated-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--color-button);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.animated-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Responsive Styles */
@media (max-width: 991px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-light);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: var(--space-md) 0;
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .nav-link {
    margin: 0;
    width: 100%;
    text-align: center;
    padding: var(--space-sm) 0;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .hero-btns {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-candle {
    display: none;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: var(--space-md) 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
  
  .copyright {
    order: 2;
  }
  
  .footer-legal {
    order: 1;
    justify-content: center;
    margin-bottom: var(--space-sm);
  }
}