/* ==========================================================================
   Valley Dance Theatre — Modern Concept Prototype
   Shared stylesheet used by every page in /site
   ========================================================================== */

:root {
  --burgundy: #6d1f2e;
  --burgundy-dark: #4d1520;
  --blush: #f7ece9;
  --cream: #fbf7f2;
  --charcoal: #2a2422;
  --gold: #c8a24d;
  --gray: #6b6560;
  --line: #e7ddd6;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(77, 21, 32, 0.10);
  --shadow-sm: 0 4px 14px rgba(77, 21, 32, 0.08);
  --max: 1160px;
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--burgundy-dark);
  line-height: 1.2;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .6em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--burgundy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--burgundy-dark); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--burgundy-dark); }
.btn-gold { background: var(--gold); color: var(--burgundy-dark); }
.btn-ghost { background: transparent; border-color: var(--burgundy); color: var(--burgundy); }

/* ---------- Top announcement bar ---------- */
.announce {
  background: var(--burgundy-dark);
  color: var(--blush);
  text-align: center;
  font-size: .85rem;
  padding: 9px 16px;
  letter-spacing: .02em;
}
.announce a { color: var(--gold); font-weight: 600; }

/* ---------- Header / Nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
  padding: 8px 28px;
  max-width: 1320px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--burgundy-dark);
  flex-shrink: 0;
  white-space: nowrap;
}
/* Logo mark is sized to run nearly the full height of the header bar,
   so it reads as the dominant element rather than a small favicon-style icon. */
.logo .mark {
  height: 64px;
  width: auto;
  aspect-ratio: 144 / 158;
  border-radius: 8px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.logo .mark img { width: 100%; height: 100%; object-fit: cover; }

nav.primary { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; row-gap: 8px; }
nav.primary a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: .95rem;
  white-space: nowrap;
}
nav.primary a.active, nav.primary a:hover { color: var(--burgundy); }
nav.primary a { text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  nav.primary {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy) 60%, #8a2e3f);
  color: var(--white);
  padding: 90px 0 70px;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); font-size: 2.9rem; margin-bottom: .35em; }
.hero p.lead { font-size: 1.15rem; color: var(--blush); max-width: 46ch; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: #1e1215;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(255,255,255,.92);
  color: var(--burgundy-dark);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 24px;
  text-align: center;
}
.stats .stat b {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--burgundy);
}
.stats .stat span { font-size: .82rem; color: var(--gray); }
@media (max-width: 700px) { .stats .container { grid-template-columns: 1fr 1fr; } }

/* ---------- Sections ---------- */
section { padding: 74px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.bg-alt { background: var(--blush); }
.bg-dark { background: var(--burgundy-dark); color: var(--blush); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.15rem; }
.card .tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: var(--blush);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: .8em;
}

.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.photo-card img { width: 100%; height: 230px; object-fit: cover; }
.photo-card .cap {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(30,10,15,.82), rgba(30,10,15,0));
  color: var(--white); padding: 18px 18px 14px;
  font-weight: 700;
}

/* ---------- Timeline / class levels ---------- */
.level-row {
  display: grid;
  grid-template-columns: 160px 1fr 140px;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.level-row:last-child { border-bottom: none; }
.level-row .age { color: var(--gray); font-size: .85rem; }
.level-row h4 { margin-bottom: .3em; }
.level-row .meta { font-size: .82rem; color: var(--burgundy); font-weight: 600; text-align: right; }
@media (max-width: 700px) {
  .level-row { grid-template-columns: 1fr; gap: 6px; }
  .level-row .meta { text-align: left; }
}

/* ---------- Performance / ticket cards ---------- */
.perf-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.perf-card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.perf-body { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.perf-dates { list-style: none; margin: 16px 0 22px; padding: 0; font-size: .95rem; }
.perf-dates li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
@media (max-width: 760px) { .perf-card { grid-template-columns: 1fr; } .perf-card img { min-height: 200px; } }

/* ---------- Reviews ---------- */
.review-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .6em; }
.review .who { font-weight: 700; margin-top: 1em; font-size: .9rem; }
@media (max-width: 900px) { .review-strip { grid-template-columns: 1fr; } }

/* ---------- Social bar ---------- */
.social-bar { display: flex; gap: 12px; }
.social-bar a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.social-bar a svg { width: 18px; height: 18px; }
.social-bar a:hover { background: var(--gold); color: var(--burgundy-dark); text-decoration: none; transform: translateY(-2px); }
/* Variant used on light backgrounds (e.g. Contact page) */
.social-bar.on-light a { background: var(--burgundy); border-color: var(--burgundy); }
.social-bar.on-light a:hover { background: var(--gold); color: var(--burgundy-dark); }

/* ---------- Sponsor tiers ---------- */
.tier-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.tier-table th, .tier-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.tier-table th { background: var(--blush); font-family: 'Playfair Display', serif; color: var(--burgundy-dark); }
.tier-table tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--charcoal);
  color: #cfc6c1;
  padding: 60px 0 26px;
}
footer.site h4 { color: var(--white); font-size: 1rem; }
footer.site a { color: #cfc6c1; }
footer.site a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: #9b928d;
  flex-wrap: wrap; gap: 10px;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.small { font-size: .85rem; color: var(--gray); }
.badge-soon { background: var(--gold); color: var(--burgundy-dark); font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
