/* ═══════════════════════════════════════════════════════
   NRITYA TRADITIONS — Global Stylesheet
   Palette: #40211f · #5b1726 · #7f2430 · #e9b872 · #fbead0
   Fonts: Cormorant Garamond (display) · DM Sans (body/UI)
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* ─── Tokens ─── */
:root {
  --bg-deep:     #1e0d0b;
  --bg:          #40211f;
  --bg-card:     #4e2820;
  --bg-lift:     #5c3028;
  --burgundy:    #5b1726;
  --red:         #7f2430;
  --gold:        #e9b872;
  --gold-lt:     #f5d09e;
  --gold-dk:     #c49040;
  --cream:       #fbead0;
  --muted:       rgba(251,234,208,0.52);
  --border:      rgba(233,184,114,0.16);
  --border-warm: rgba(233,184,114,0.35);
  --btn-grad:    linear-gradient(135deg, #7f2430, #5b1726);
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.78;
  min-height: 100vh;
}

/* ─── Nav ─── */
nav {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem;
  display: flex;
  align-items: stretch;
  position: sticky;
  top: 0;
  z-index: 900;
  height: 72px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 2.5rem;
  flex-shrink: 0;
}
.nav-logo img {
  height: 52px;
  width: auto;
  /* screen blend removes any embedded dark bg from logo PNG */
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  align-items: stretch;
  list-style: none;
  flex: 1;
}
.nav-links li { display: flex; }
.nav-links li a {
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(233,184,114,0.05);
}

.nav-contact {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 1.5rem;
}
.nav-contact a {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  background: var(--btn-grad);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-contact a:hover { opacity: 0.85; transform: translateY(-1px); }

/* ─── Page Header ─── */
.page-header {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(233,184,114,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  line-height: 1;
  position: relative;
}
.page-header p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.75rem;
  position: relative;
}
.page-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.2rem auto 0;
  max-width: 200px;
}
.page-divider::before,
.page-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-dk);
  opacity: 0.5;
}
.page-divider span {
  display: block;
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ─── Content Container ─── */
.page-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 6rem;
}

/* ─── Shared Section Labels ─── */
.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 0.5rem;
}
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.section-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 1.6rem;
  opacity: 0.5;
}
.section-rule.center { margin: 0 auto 1.6rem; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--btn-grad);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border: 1px solid rgba(233,184,114,0.5);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(233,184,114,0.1); border-color: var(--gold); }

/* ─── Footer ─── */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
}
.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.footer-logo img {
  height: 60px;
  width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.05);
  opacity: 0.9;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  list-style: none;
  margin-bottom: 2rem;
}
.footer-links li {
  display: flex;
  align-items: center;
}
.footer-links li:not(:last-child)::after {
  content: '·';
  margin: 0 0.8rem;
  color: var(--border-warm);
}
.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.7rem;
  color: rgba(251,234,208,0.2);
  letter-spacing: 0.05em;
}

/* ─── Responsive nav ─── */
@media (max-width: 900px) {
  nav { padding: 0 1.2rem; }
  .nav-links li a { padding: 0 0.7rem; font-size: 0.7rem; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-contact { margin-left: auto; padding-left: 0; }
}
