/* ==========================================================================
   Lakhan Punjabi Dhol Wala — Design System
   Premium muted multicolor palette · 60/30/10 distribution
   ========================================================================== */

:root {
  --wine-900: #35151D;
  --wine-800: #4A1F28;
  --wine-700: #642A34;

  --gold: #C49A55;
  --gold-light: #E1C88E;
  --gold-dark: #967137;

  --ivory: #FAF7F0;
  --cream: #F3EDE1;
  --white: #FFFFFF;

  --orange-muted: #C87545;
  --green-muted: #66785B;

  --text-dark: #252329;
  --text-muted: #6B6670;

  --border: rgba(74, 31, 40, 0.12);

  --shadow-soft: 0 15px 40px rgba(53, 21, 29, 0.08);
  --shadow-lift: 0 20px 50px rgba(53, 21, 29, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--ivory);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Playfair Display', serif;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.75rem;
  border-radius: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--wine-800);
  color: var(--ivory);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--wine-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--wine-800);
  color: var(--wine-800);
}
.btn-outline:hover {
  background: var(--wine-800);
  color: var(--ivory);
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--wine-900);
  box-shadow: var(--shadow-soft);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-whatsapp {
  background: var(--green-muted);
  color: var(--ivory);
}
.btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.8rem; border-radius: 10px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.gold-rule {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- Fade-up reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(53,21,29,0.06); }
.nav-link {
  position: relative;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--wine-800); }
.nav-link:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero-overlay {
  background: linear-gradient(180deg, rgba(53,21,29,0.55) 0%, rgba(53,21,29,0.35) 50%, rgba(53,21,29,0.75) 100%);
}
.floating-card {
  background: rgba(250,247,240,0.95);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow: var(--shadow-lift);
}

/* ---------- Parallax ---------- */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
@media (max-width: 768px) {
  .parallax-bg { background-attachment: scroll; }
}

/* ---------- Modal transition (Vue) ---------- */
.modal-enter-active, .modal-leave-active { transition: opacity 0.3s ease; }
.modal-enter-from, .modal-leave-to { opacity: 0; }
.modal-scale-enter-active { transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease; }
.modal-scale-leave-active { transition: transform 0.2s ease, opacity 0.2s ease; }
.modal-scale-enter-from, .modal-scale-leave-to { transform: translateY(20px) scale(0.98); opacity: 0; }

/* ---------- Accordion ---------- */
.accordion-enter-active, .accordion-leave-active { transition: max-height 0.35s ease, opacity 0.3s ease; overflow: hidden; }
.accordion-enter-from, .accordion-leave-to { max-height: 0; opacity: 0; }

/* ---------- Mobile nav slide ---------- */
.mobilenav-enter-active, .mobilenav-leave-active { transition: max-height 0.35s ease; overflow: hidden; }
.mobilenav-enter-from, .mobilenav-leave-to { max-height: 0; }

/* ---------- Floating actions ---------- */
.floating-actions-desktop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: none;
}
.floating-actions-mobile {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(53,21,29,0.08);
}
@media (max-width: 767px) {
  .floating-actions-mobile { display: grid; }
  body { padding-bottom: 64px; }
}
@media (min-width: 768px) {
  .floating-actions-desktop { display: flex; }
  .floating-actions-mobile { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Gallery lightbox ---------- */
.lightbox-enter-active, .lightbox-leave-active { transition: opacity 0.3s ease; }
.lightbox-enter-from, .lightbox-leave-to { opacity: 0; }

/* ---------- Misc ---------- */
.text-balance { text-wrap: balance; }
.section-max { max-width: 1280px; }
::selection { background: var(--gold-light); color: var(--wine-900); }

/* Focus states for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

/* No horizontal scroll safety */
html, body { max-width: 100%; overflow-x: hidden; }
