/* DJ Moyo site styles, shared by every page */
/* ---------- Colors and type ---------- */
:root {
  --black: #000000;
  --panel: #15130f;
  --line: #2c2820;
  --gold: #f2b705;
  --gold-light: #ffd45c;
  --ivory: #f4efe6;
  --muted: #a39d90;
  --serif: "Bodoni Moda", Didot, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; max-width: 62ch; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
section { padding: 96px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--gold-light); }
.link-quiet { color: var(--ivory); text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0,0,0,.92);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.topbar nav { display: flex; gap: 22px; align-items: center; }
.topbar nav a { color: var(--ivory); text-decoration: none; font-size: .95rem; }
.topbar nav a:hover { color: var(--gold); }
.lang {
  background: none; color: var(--gold); border: 1px solid var(--gold);
  border-radius: 999px; padding: 6px 14px; font: 700 .9rem var(--sans); cursor: pointer;
}
.topbar .phone { color: var(--ivory); text-decoration: none; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 20px; }
.hero-text { padding-bottom: 80px; }
.hero-logo { width: min(520px, 100%); margin: 0 0 24px -12px; }
.hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-style: italic; color: var(--ivory); max-width: 22ch; }
.hero-sub { color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.hero-figure { position: relative; }
.hero-figure::before {
  /* the one decorative moment: a gold spotlight behind Moyo */
  content: ""; position: absolute; inset: 10% 5% 0;
  background: radial-gradient(circle at 50% 45%, rgba(242,183,5,.35), transparent 65%);
}
.hero-figure img { position: relative; width: auto; max-height: 640px; margin: 0 auto; }

/* ---------- Credits strip ---------- */
.credits { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.credits ul.logos {
  list-style: none; margin: 0 auto; padding: 0; max-width: 940px;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 52px;
}
.credits ul.logos img { width: auto; max-width: 100%; opacity: .8; transition: opacity .3s ease; }
.credits ul.logos img:hover { opacity: 1; }
.credits-more { margin: 28px auto 0; text-align: center; color: var(--muted); font-size: .95rem; max-width: none; }
@media (max-width: 860px) {
  .credits ul.logos { gap: 22px 32px; }
  .credits ul.logos img { transform: scale(.8); }
}

/* ---------- About / proof ---------- */
.eyebrow { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); margin: 0 0 .3em; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about img { border-radius: 4px; width: 100%; max-height: 640px; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.stats span { color: var(--muted); font-size: .95rem; }

/* ---------- Events ---------- */
.events { background: var(--panel); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.event img, .event .placeholder { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 4px; margin-bottom: 18px; }
.placeholder {
  display: grid; place-items: center; text-align: center; padding: 20px;
  border: 1px dashed var(--gold); color: var(--muted); font-size: .9rem;
}
.event p { color: var(--muted); }

/* ---------- Photo strip ---------- */
.gallery { padding: 0; }
.strip { display: grid; grid-template-columns: repeat(5, 1fr); }
.strip img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.focus-top { object-position: 50% 12%; } /* keep heads in frame when tall photos get cropped */

/* ---------- Reviews ---------- */
.reviews .rating { font-family: var(--serif); font-size: 4rem; color: var(--gold); line-height: 1; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
blockquote { margin: 0; padding-left: 20px; border-left: 2px solid var(--gold); }
blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
blockquote cite { color: var(--muted); font-style: normal; font-size: .9rem; }

/* ---------- Booking ---------- */
.book { background: var(--panel); }
.book .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 6px; font-size: .95rem; color: var(--muted); }
label.full { grid-column: 1 / -1; }
input, select {
  font: 400 1rem var(--sans); color: var(--ivory);
  background: var(--black); border: 1px solid var(--line); border-radius: 6px;
  padding: 14px; width: 100%;
}
input:focus, select:focus { border-color: var(--gold); outline: none; }
form .btn { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; margin: 0; }
.hidden { display: none; }

/* ---------- Mixes & radio ---------- */
.mixes .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.mix-player { margin: 20px 0; }
.radio { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; border-top: 1px solid var(--line); padding-top: 64px; margin-top: 64px; }
.arranke-logo { width: min(360px, 100%); margin-bottom: 20px; }
video { width: 100%; aspect-ratio: 16 / 9; background: var(--black); border-radius: 4px; display: block; }

/* ---------- Event highlight reels (vertical videos; a swipeable row on phones) ---------- */
.reels { padding-top: 0; }
.reels-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 32px 0 0; }
.reels-grid video { aspect-ratio: 9 / 16; object-fit: cover; }
.reels-grid video.fit { object-fit: contain; }   /* square video: show it whole */
.swipe-hint { display: none; }
@media (max-width: 860px) {
  .reels-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-right: -20px; padding-right: 20px;   /* lets the row run to the screen edge */
  }
  .reels-grid video { flex: 0 0 auto; width: 62%; scroll-snap-align: start; }
  .swipe-hint { display: block; text-align: center; color: var(--muted); font-size: .9rem; margin-top: 12px; }
}
.reels .wrap > p { margin: 0 auto; text-align: center; color: var(--muted); }
.reels h2 { text-align: center; }

/* ---------- Club nights (one wide video + one vertical) ---------- */
.clubs .club-grid { display: grid; grid-template-columns: 2.4fr 1fr; gap: 16px; align-items: center; margin-top: 32px; }
.clubs .club-grid video.tall { aspect-ratio: 9 / 16; object-fit: cover; }
.clubs .wrap > p { color: var(--muted); }
@media (max-width: 860px) {
  .clubs .club-grid { grid-template-columns: 1fr; }
  .clubs .club-grid video.tall { width: 70%; margin: 0 auto; }
}

/* ---------- On air & on stage ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 12px; margin-top: 40px; }
.media-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 4px; }
.media-grid figure.wide { grid-column: span 2; }
.media-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.media-grid figure:hover img { transform: scale(1.04); }
.media-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-size: .95rem; color: var(--ivory);
}

/* ---------- Gentle fade-in as sections scroll into view ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--ivory); }

/* ---------- Phones ---------- */
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .topbar nav a.navlink { display: none; }
  .hero .wrap, .about .wrap, .book .wrap, .mixes .wrap, .radio { grid-template-columns: 1fr; gap: 36px; }
  .media-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .hero-text { padding-bottom: 0; }
  .hero-figure img { max-height: 460px; }
  .event-grid, .quotes { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip img:last-child { display: none; }
  form { grid-template-columns: 1fr; }
  /* Center the gold buttons on phones */
  .hero-actions { flex-direction: column; align-items: center; gap: 16px; }
  form .btn { justify-self: center; }
  .form-note { text-align: center; }
  .mixes .btn { display: block; width: fit-content; margin: 0 auto; }
}

/* ---------- Language link (top bar) ---------- */
a.lang { display: inline-block; text-decoration: none; }
a.lang:hover { background: var(--gold); color: var(--black); }

/* ---------- "Details" links under each event on the home page ---------- */
.event .more { font-weight: 700; text-decoration: none; }
.event .more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   Event pages (quinceañeras, weddings, corporate) — EN and ES
   ========================================================== */
.page-hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 18ch; }
.page-hero .lead { color: var(--muted); font-size: 1.15rem; }
.page-hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }

.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; margin-top: 40px; }
.moments div { border-top: 2px solid var(--gold); padding-top: 16px; }
.moments h3 { font-size: 1.35rem; margin-bottom: .3em; }
.moments p { color: var(--muted); margin: 0; }

.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.photo-row img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 4px; }

.proof { text-align: center; }
.proof p { margin: 0 auto 1em; }
.proof .names { color: var(--muted); }

.faq { max-width: 820px; margin: 32px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.3rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }
.faq-title { text-align: center; }

.cta { text-align: center; background: var(--panel); }
.cta p { margin: 0 auto 1.4em; color: var(--muted); }
.cta .hero-actions { justify-content: center; }
.areas { font-size: .95rem; }

@media (max-width: 860px) {
  .page-hero { padding: 40px 0 56px; }
  .page-hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .page-hero img { aspect-ratio: 1; }
  .moments { grid-template-columns: 1fr; gap: 24px; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row img:nth-child(3) { display: none; }
}

/* ---------- Home icon (top bar on event pages) ---------- */
.topbar-left { display: flex; align-items: center; gap: 14px; }
.home-icon {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 999px;
}
.home-icon:hover { background: var(--gold); color: var(--black); }
/* On the home pages the same spot shows the gold M and jumps back to the top */
.home-m { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.35rem; line-height: 1; text-decoration: none; padding-right: 2px; }

/* ---------- Full-screen video on phones (video-viewer.js) ---------- */
.vv { position: fixed; inset: 0; z-index: 100; display: none; background: #000; touch-action: none; }
.vv.open { display: block; }
.vv-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.vv-stage.dragging { transition: none; }
.vv-stage video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0; margin: 0; background: #000; }
.vv-close {
  position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45);
  background: rgba(0,0,0,.5); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.vv-hint {
  position: absolute; top: calc(20px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.55); color: #fff; font-size: .9rem; padding: 6px 14px; border-radius: 999px;
  white-space: nowrap; transition: opacity .5s ease; pointer-events: none;
}
.vv-hint.gone { opacity: 0; }
.vv.paused .vv-stage::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%);
  border-style: solid; border-width: 26px 0 26px 44px; border-color: transparent transparent transparent rgba(255,255,255,.85);
  pointer-events: none;
}
.vv-bar { position: absolute; left: 0; right: 0; bottom: env(safe-area-inset-bottom); height: 3px; background: rgba(255,255,255,.25); }
.vv-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.vv-placeholder { flex: 0 0 auto; background: #111; border-radius: 4px; }
html.vv-lock, html.vv-lock body { overflow: hidden; }

/* ---------- Review tags (what Google reviewers praised) ---------- */
.praise { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.praise li { border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 6px 16px; font-size: .95rem; }

/* ---------- Weekly mix drop line (above the Mixcloud player) ---------- */
.drop-note { color: var(--gold); font-weight: 700; margin: 0; }
