/* ==========================================================================
   LEVA' DANCE CLUB — Shared Stylesheet
   Design system used across every page.
   ========================================================================== */

:root {
  --ivory: #f6f1ea;
  --ivory-deep: #ede4d6;
  --charcoal: #1c1a17;
  --charcoal-soft: #2a2724;
  --muted: #6b635a;
  --line: #d8cdbb;
  --rose: #b08968;
  --rose-deep: #8a6a4d;
  --shadow: 0 1px 2px rgba(28,26,23,0.04), 0 8px 24px rgba(28,26,23,0.06);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ============ NAVIGATION ============ */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  background: rgba(246, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, padding 0.3s ease;
}
nav.site-nav.scrolled { border-bottom-color: var(--line); padding: 14px 0; }
nav.site-nav .container { display: flex; align-items: center; justify-content: space-between; }

.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--charcoal);
  z-index: 60;
}
.brand em { font-style: italic; color: var(--rose-deep); }

.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
  list-style: none;
}
@media (min-width: 980px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--charcoal-soft);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--rose-deep); }
.nav-links a.active { color: var(--rose-deep); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rose);
}

.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  padding: 10px 20px;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--charcoal); color: var(--ivory); }

/* mobile menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
}
@media (min-width: 980px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s ease;
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 55;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; }
.mobile-menu li {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  text-decoration: none;
  color: var(--charcoal);
  display: block;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--rose-deep); }
.mobile-menu .mobile-contact {
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.mobile-menu .mobile-contact a {
  font-family: var(--sans);
  font-size: 14px;
  display: inline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

/* hide nav-cta on small screens (use mobile menu instead) */
@media (max-width: 979px) {
  .nav-cta.desktop-only { display: none; }
}

/* ============ TYPOGRAPHY HELPERS ============ */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow.has-rule::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--rose);
}
.section-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--rose-deep); }
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
}
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-header .section-sub { margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--charcoal);
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(28,26,23,0.15); }
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--charcoal);
  transition: all 0.3s ease;
}
.btn-ghost:hover { color: var(--rose-deep); border-bottom-color: var(--rose-deep); }

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--ivory);
  color: var(--charcoal);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-light:hover { background: var(--rose); color: var(--ivory); transform: translateY(-2px); }

/* ============ PAGE HEADER (interior pages) ============ */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.page-header h1 em { font-style: italic; color: var(--rose-deep); }
.page-header .lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 28px auto 0;
  line-height: 1.6;
}

/* ============ DIVIDER ============ */
.divider-text {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory-deep);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--charcoal-soft);
  font-weight: 300;
  line-height: 1.4;
}
.divider-text .ornament {
  display: inline-block;
  margin: 0 18px;
  color: var(--rose);
  font-style: normal;
}

/* ============ FORMS (light variant) ============ */
.form-light {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 48px 40px;
}
@media (max-width: 600px) { .form-light { padding: 32px 24px; } }

.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 600px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.field { position: relative; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  transition: border-color 0.3s ease;
  outline: none;
}
.field textarea { resize: vertical; min-height: 80px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231c1a17' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(28,26,23,0.3); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--rose); }

/* ============ FORMS (dark variant — used on inquiry pages) ============ */
.form-dark .field label { color: rgba(246,241,234,0.6); }
.form-dark .field input,
.form-dark .field select,
.form-dark .field textarea {
  border-bottom-color: rgba(246,241,234,0.25);
  color: var(--ivory);
}
.form-dark .field input::placeholder,
.form-dark .field textarea::placeholder { color: rgba(246,241,234,0.35); }
.form-dark .field select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f6f1ea' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}
.form-dark .field select option { background: var(--charcoal); color: var(--ivory); }

.submit-row {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media (min-width: 600px) {
  .submit-row { flex-direction: row; justify-content: space-between; }
}
.form-fine {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
}
.form-dark .form-fine { color: rgba(246,241,234,0.45); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.visible { display: block; }
.form-success h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--rose-deep);
}
.form-success p { color: var(--muted); }
.form-dark .form-success h3 { color: var(--rose); }
.form-dark .form-success p { color: rgba(246,241,234,0.7); }

/* ============ FOOTER ============ */
footer.site-footer {
  padding: 80px 0 40px;
  background: var(--ivory);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
}

.footer-brand-block .brand { font-size: 26px; display: inline-block; margin-bottom: 12px; }
.footer-tag {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.6;
  max-width: 360px;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14.5px;
  color: var(--charcoal-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  padding-bottom: 1px;
}
.footer-col a:hover { color: var(--rose-deep); border-bottom-color: var(--rose); }
.footer-col p {
  font-size: 14.5px;
  color: var(--charcoal-soft);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-soft);
  transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.footer-legal a:hover { border-bottom-color: var(--rose); }

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 40;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 12px 30px rgba(28,26,23,0.25);
}
.has-sticky-cta .sticky-cta { display: block; }
@media (max-width: 768px) {
  .has-sticky-cta { padding-bottom: 80px; }
}
@media (min-width: 769px) {
  .has-sticky-cta .sticky-cta { display: none; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-up { opacity: 0; animation: fadeUp 0.9s ease forwards; }
.fade-in { opacity: 0; animation: fadeIn 1.2s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
