/* ============================================================
   World of Music and Performance Arts (WMPA), shared stylesheet
   Palette + layout inspired by common private-music-studio
   sites: warm plum/gold palette, serif display headings,
   photo-forward hero, clear section-per-topic pages.
   ============================================================ */

:root {
  /* Warm, musical "home art studio" palette: forest green, marigold gold,
     amber, and olive sage, deliberately steering away from red/terracotta
     tones. Variable names kept stable so components below don't need renaming. */
  --plum: #2f6b47;        /* forest green, primary brand color */
  --plum-dark: #1e4630;   /* deep pine, header/footer depth */
  --gold: #dda23a;        /* marigold, primary CTA buttons */
  --gold-light: #f0d488;  /* light marigold, text on dark backgrounds */
  --coral: #c98a2e;       /* warm amber, accent badges */
  --coral-dark: #96631c;
  --teal: #6a8a44;        /* olive sage, secondary accent badges */
  --teal-dark: #46602c;
  --cream: #fbf8ec;
  --cream-dark: #f2ecd0;
  --ink: #23291d;
  --muted: #6b6a52;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 36, 20, 0.16);
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--plum); }

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

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

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--plum);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand small {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  background: var(--gold);
  color: var(--plum-dark);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 68vh;
  min-height: 380px;
  object-fit: cover;
  filter: saturate(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(84,32,15,0.6) 0%, rgba(84,32,15,0.35) 40%, rgba(70,24,10,0.88) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.hero-content h1 {
  color: var(--white);
  max-width: 780px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.hero-content p.tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  max-width: 620px;
  color: var(--cream-dark);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

/* Page header (non-home pages) */
.page-header {
  background: linear-gradient(135deg, var(--plum), var(--plum-dark));
  color: var(--white);
  text-align: center;
  padding: 56px 20px 46px;
}

.page-header h1 { color: var(--white); }
.page-header p { color: var(--cream-dark); max-width: 640px; margin: 0 auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--plum-dark);
}

.btn-gold:hover { box-shadow: 0 8px 18px rgba(235,163,60,0.45); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-plum {
  background: var(--plum);
  color: var(--white);
}
.btn-plum:hover { box-shadow: 0 8px 18px rgba(193,80,46,0.35); }

/* ---------- Sections ---------- */

section { padding: 64px 0; }

.section-alt { background: var(--cream-dark); }

.section-title { text-align: center; margin-bottom: 8px; }
.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(61, 33, 15, 0.2);
}

.card h3 { margin-bottom: 10px; }

/* Simple gradient rule used between sections instead of a decorative glyph */
.divider {
  height: 3px;
  width: 90px;
  margin: 0 auto 40px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--teal));
}

.talent-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 28px 0 8px;
}

.talent-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--plum);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(61,33,15,0.1);
}

.talent-badge:nth-child(2) { border-color: var(--coral); }
.talent-badge:nth-child(3) { border-color: var(--teal); }

.script-accent {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--coral);
  display: block;
  line-height: 1;
}

.pill {
  display: inline-block;
  background: var(--gold);
  color: var(--plum-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pill-coral { background: var(--coral); color: var(--white); }
.pill-teal { background: var(--teal); color: var(--white); }

/* ---------- Photo cards (real photography instead of icon tiles) ---------- */

.photo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(61, 33, 15, 0.22);
}

.photo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.photo-card .photo-card-body {
  padding: 22px 24px 26px;
  border-top: 4px solid var(--gold);
}

.photo-card.accent-coral .photo-card-body { border-top-color: var(--coral); }
.photo-card.accent-teal .photo-card-body { border-top-color: var(--teal); }

.photo-card .photo-card-body h3 { margin-bottom: 8px; }
.photo-card .photo-card-body p:last-child { margin-bottom: 0; }

/* ---------- Asymmetric photo collage (homepage) ---------- */

.photo-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 110px;
  grid-auto-flow: dense;
  gap: 14px;
}

.photo-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-collage .c-big { grid-column: span 3; grid-row: span 3; }
.photo-collage .c-med { grid-column: span 3; grid-row: span 2; }
.photo-collage .c-small { grid-column: span 2; grid-row: span 2; }

@media (max-width: 820px) {
  .photo-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .photo-collage .c-big { grid-column: span 2; grid-row: span 2; }
  .photo-collage .c-med { grid-column: span 2; grid-row: span 2; }
  .photo-collage .c-small { grid-column: span 1; grid-row: span 1; }
}

/* Slight polaroid tilt for artsy warmth, used sparingly */
.tilt-left { transform: rotate(-2.5deg); }
.tilt-right { transform: rotate(2.5deg); }

/* Masonry-style gallery using CSS columns so photos keep natural ratios */
.masonry {
  column-count: 3;
  column-gap: 18px;
}

.masonry img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  break-inside: avoid;
}

@media (max-width: 820px) {
  .masonry { column-count: 2; }
}
@media (max-width: 520px) {
  .masonry { column-count: 1; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.quote-card::before {
  content: "\201C";
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: -10px;
}

.quote-name {
  font-weight: 700;
  color: var(--plum);
  margin-top: 14px;
}

.quote-role {
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-item {
  border-bottom: 1px solid #e4d9c7;
  padding: 18px 0;
}

.faq-item h3 { margin-bottom: 6px; }

/* ---------- Forms ---------- */

form.stacked {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

form.stacked label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--plum);
  display: block;
  margin-bottom: 6px;
}

form.stacked input,
form.stacked select,
form.stacked textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d8cbb8;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

form.stacked textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- Contact info blocks ---------- */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0 40px;
}

.contact-methods a.card {
  text-decoration: none;
  color: var(--ink);
  text-align: center;
}

.contact-methods .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--plum);
}

.contact-methods .icon svg {
  width: 22px;
  height: 22px;
}

.contact-methods a.card:nth-child(2) .icon { color: var(--coral); }
.contact-methods a.card:nth-child(3) .icon { color: var(--teal); }
.contact-methods a.card:nth-child(4) .icon { color: var(--gold-dark, var(--plum)); }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--plum-dark);
  color: var(--cream-dark);
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
}

footer.site-footer .socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 14px 0;
}

footer.site-footer a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
}

footer.site-footer a:hover { text-decoration: underline; }

footer.site-footer small { color: #b7a89c; }

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .site-header .container { flex-direction: column; align-items: flex-start; }
  nav.main-nav ul { justify-content: flex-start; }
}
