/* weddings.css — dark-theme stylesheet for /weddings.

Mirrors the palette + type system from make-video.html (lines
11-23 CSS variables) so a user clicking through from a song card
into the MVM sees a continuous visual environment. No new
framework deps; pure CSS.
*/

:root {
  --bg: #000;
  --bg-2: #0a0008;
  --panel: #14000a;
  --panel-2: #1f0010;
  --ink: #fff;
  --muted: #ff44aa;
  --line: #330022;
  --accent: #ff0066;
  --accent-2: #00ccff;
  --green: #00ff66;
  --yellow: #ffff00;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.45 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

/* ---- header ---- */
.wed-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.wed-brand {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 12px;
}
.wed-brand:hover { color: var(--accent-2); }
.wed-title {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 12px;
}
.wed-cta-secondary {
  margin-left: auto;
  color: var(--accent-2);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.wed-cta-secondary:hover { color: var(--ink); }

/* ---- hero ---- */
.wed-hero {
  padding: 64px 24px 32px;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}
.wed-hero h1 {
  font: 800 40px/1.1 ui-sans-serif, system-ui, sans-serif;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.wed-hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.wed-hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 60ch;
}

/* ---- main + sections ---- */
.wed-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}
.wed-section {
  margin: 40px 0;
}
.wed-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.wed-section-head h2 {
  margin: 0;
  color: var(--accent);
  font: 700 14px/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.wed-count {
  color: var(--muted);
  font: 9px/1 ui-monospace, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---- grid + card ---- */
.wed-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
@media (max-width: 720px) {
  .wed-grid { grid-template-columns: 1fr; }
}

.wed-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.wed-card:hover {
  border-color: var(--accent-2);
  transform: translateY(-1px);
}
.wed-cover-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--panel-2);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wed-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wed-cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 56px/1 ui-serif, Georgia, serif;
  color: var(--accent);
  background: linear-gradient(135deg, var(--panel-2), #2a0014);
}
.wed-cover-fallback[data-cat="ceremony"]      { color: var(--accent-2); }
.wed-cover-fallback[data-cat="reception"]     { color: var(--accent);   }
.wed-cover-fallback[data-cat="first-dance"]   { color: var(--green);     }
.wed-cover-fallback[data-cat="cocktail-hour"] { color: var(--yellow);    }
.wed-cover-fallback[data-cat="last-dance"]    { color: var(--muted);     }

.wed-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wed-card-title {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.wed-card-sub {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.wed-card-cta {
  margin-top: 8px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 9px 10px;
  cursor: pointer;
  font: 700 11px/1 ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.wed-card-cta:hover {
  background: var(--accent);
  color: #000;
}
.wed-card-cta:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* ---- empty / loading / footer ---- */
.wed-empty {
  color: var(--muted);
  padding: 32px;
  text-align: center;
}
.wed-empty-wrap {
  padding: 64px 24px;
  text-align: center;
}
.wed-empty-wrap h2 {
  margin: 0 0 8px;
  color: var(--accent);
  font: 700 16px/1.2 ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wed-empty-wrap p {
  color: var(--muted);
  margin: 0 0 18px;
}
.wed-link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.wed-link:hover { color: var(--ink); }

.wed-foot {
  padding: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
}
