/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ========== BUTTONS ========== */
.btn-primary {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 95, 70, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 95, 70, 0.35);
}
.btn-secondary {
  background: #fff;
  color: #065f46;
  padding: 0.75rem 1.75rem;
  border-radius: 1rem;
  font-weight: 600;
  border: 2px solid #d1fae5;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: #065f46;
  background: #ecfdf5;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: #065f46;
  padding: 0.75rem 1.75rem;
  border-radius: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ========== INPUTS ========== */
.input-field {
  border: 1.5px solid #d1fae5;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #064e3b;
  background: #fefdf8;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}
.input-field::placeholder { color: #94a3b8; }
.input-field:focus {
  border-color: #065f46;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(6, 95, 70, 0.1);
}

/* ========== NAV LINKS ========== */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #34d399;
  border-radius: 1px;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ========== HEADER SCROLL ========== */
#header {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#header.scrolled {
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(6, 95, 70, 0.08);
}

/* ========== HERO ========== */
.hero-section {
  background: linear-gradient(160deg, #fefdf8 0%, #f0fdf4 40%, #ecfdf5 70%, #d1fae5 100%);
}

/* ========== ANIMATIONS ========== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

/* ========== REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== HERO ANIMATION ========== */
.hero-badge { transition: all 0.6s ease 0.2s; }
.hero-badge.animated { opacity: 1; transform: translateY(0); }
.hero-text > * { transition: all 0.6s ease; }
.hero-text > *:nth-child(1) { transition-delay: 0.3s; }
.hero-text > *:nth-child(2) { transition-delay: 0.45s; }
.hero-text > *:nth-child(3) { transition-delay: 0.6s; }
.hero-text > *:nth-child(4) { transition-delay: 0.75s; }
.hero-text.animated > * { opacity: 1; transform: translateY(0); }

.hero-image { transition: all 0.8s ease 0.5s; }
.hero-image.animated { opacity: 1; transform: translateY(0); }

/* ========== CARD GROUP ========== */
.card-group { will-change: transform; }
.occasion-card { will-change: transform; }

/* ========== MOBILE MENU ========== */
.mobile-link { transition: all 0.3s ease; }
#mobileMenu.open { opacity: 1; pointer-events: all; }
#mobileMenu.closed { opacity: 0; pointer-events: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .font-serif { font-size: clamp(1.75rem, 5vw, 2.5rem); }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .animate-float { animation: none; }
}
