/* ===== CUSTOM PROPERTIES ===== */
:root {
  --burgundy-50: #fdf2f4;
  --burgundy-100: #fce7eb;
  --burgundy-200: #f9d0d9;
  --burgundy-300: #f4a8b8;
  --burgundy-400: #ec748e;
  --burgundy-500: #d94f68;
  --burgundy-600: #c23349;
  --burgundy-700: #a12537;
  --burgundy-800: #84202e;
  --burgundy-900: #6e1c28;
  --burgundy-950: #3a0c10;
  --blush-50: #fef9f8;
  --blush-100: #fdf0ed;
  --blush-200: #fce3db;
  --blush-300: #f9c9c0;
  --blush-400: #f4a496;
  --blush-500: #ee7d6e;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy-500);
  background: linear-gradient(135deg, var(--burgundy-100), var(--blush-100));
  padding: 6px 16px;
  border-radius: 50px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  color: var(--burgundy-950);
  line-height: 1.15;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--burgundy-700);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== BUTTONS ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }

/* ===== INPUT FIELDS ===== */
.input-field {
  appearance: none;
  background: var(--blush-50);
  border: 1.5px solid var(--burgundy-200);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--burgundy-950);
  transition: all 0.25s ease;
  outline: none;
  width: 100%;
}
.input-field::placeholder { color: var(--burgundy-400); }
.input-field:hover { border-color: var(--burgundy-400); background: white; }
.input-field:focus { border-color: var(--burgundy-600); background: white; box-shadow: 0 0 0 3px rgba(161, 37, 55, 0.1); }

/* ===== NAVBAR ===== */
#navbar {
  background: rgba(254, 249, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(249, 208, 217, 0.4);
}
#navbar.scrolled {
  background: rgba(254, 249, 248, 0.95);
  box-shadow: 0 4px 30px rgba(161, 37, 55, 0.06);
}

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy-500);
  border-radius: 1px;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== MOBILE MENU ===== */
.hamburger-line { transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
#menu-toggle.active #line1 { transform: rotate(45deg) translate(5px, 5px); }
#menu-toggle.active #line2 { opacity: 0; }
#menu-toggle.active #line3 { transform: rotate(-45deg) translate(5px, -5px); width: 20px; }
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
.mobile-link { transition: all 0.3s ease; }
.mobile-link:hover { transform: translateX(8px); }

/* ===== SERVICE CARDS ===== */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover { transform: translateY(-6px); }

/* ===== GALLERY ===== */
.gallery-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 20px 60px rgba(161, 37, 55, 0.15); }

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }

/* ===== FLOATING ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-12px) scale(1.05); opacity: 0.9; }
}
@keyframes float-delay {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-8px) scale(1.03); opacity: 0.8; }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-delay { animation: float-delay 5s ease-in-out infinite 1.5s; }

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  #hero h1 { font-size: clamp(2.25rem, 8vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
