/* D1 Media Productions — dark premium theme, gold accents */
:root {
  --bg: #0b0b0d;
  --bg-2: #121216;
  --bg-3: #1a1a20;
  --gold: #c9a24b;
  --gold-soft: #e6c877;
  --text: #f2f0ea;
  --muted: #a8a6a0;
  --line: rgba(201, 162, 75, 0.25);
  --card: #141418;
  --radius: 10px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1140px, 92%); margin: 0 auto; }
section { padding: 96px 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1140px, 92%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.wordmark {
  font-size: 1.35rem; font-weight: 800; letter-spacing: 0.28em;
  color: var(--text); text-decoration: none;
}
.wordmark span { color: var(--gold); }
.wordmark-logo { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-soft); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold-soft) !important;
  padding: 8px 18px; border-radius: 6px; transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: #0b0b0d !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding: 120px 0 80px;
  background: linear-gradient(rgba(5,5,7,0.62), rgba(5,5,7,0.78)), url('../assets/gallery/hero.jpg') center/cover no-repeat;
}
.hero-content { max-width: 720px; }
.hero-kicker {
  color: var(--gold-soft); letter-spacing: 0.3em; text-transform: uppercase;
  font-size: 0.8rem; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08; font-weight: 800; letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 15px 34px; border-radius: 8px; font-size: 1rem;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn-gold { background: var(--gold); color: #0b0b0d; }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--gold); color: var(--gold-soft); }
.btn-ghost:hover { background: rgba(201,162,75,0.12); transform: translateY(-2px); }

/* ---------- Section headers ---------- */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sec-kicker {
  color: var(--gold); letter-spacing: 0.3em; text-transform: uppercase;
  font-size: 0.75rem; margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.sec-head p { color: var(--muted); }

/* ---------- Services ---------- */
.services { background: var(--bg-2); }
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.svc-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.svc-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.svc-icon { width: 52px; height: 52px; margin-bottom: 20px; color: var(--gold); }
.svc-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.svc-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Gallery ---------- */
.gal-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.gal-item {
  overflow: hidden; border-radius: 8px; cursor: pointer;
  aspect-ratio: 3/2; background: var(--bg-3);
}
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s ease;
}
.gal-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh; border-radius: 6px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}
.lb-close {
  position: absolute; top: 22px; right: 30px; color: #fff;
  font-size: 2.2rem; cursor: pointer; line-height: 1;
}
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 1.6rem; width: 52px; height: 52px;
  border-radius: 50%; cursor: pointer;
}
.lb-prev { left: 22px; } .lb-next { right: 22px; }
.lb-prev:hover, .lb-next:hover { background: var(--gold); color: #0b0b0d; }

/* ---------- Video ---------- */
.videos { background: var(--bg-2); }
.vid-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.vid-card {
  background: var(--card); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 48px 30px; text-align: center;
  color: var(--muted);
}
.vid-card .vid-num {
  display: inline-block; width: 46px; height: 46px; line-height: 46px;
  border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold-soft); font-weight: 700; margin-bottom: 18px;
}
.vid-card h3 { color: var(--text); margin-bottom: 10px; font-size: 1.1rem; }
.vid-card p { font-size: 0.92rem; }

.vid-subhead {
  font-size: 1.15rem; color: var(--gold-soft);
  letter-spacing: 0.06em; margin: 48px 0 20px;
}
.vid-subhead:first-of-type { margin-top: 0; }
.vid-featured {
  position: relative; aspect-ratio: 16/9; max-width: 880px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #000;
}
.vid-featured iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* YouTube click-to-play facades (keeps page fast: iframes load only on click) */
.yt-facade {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: #000;
  border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s;
}
.yt-facade:hover { border-color: var(--gold); transform: translateY(-3px); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.yt-facade:hover img { opacity: 0.7; }
.yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(201, 162, 75, 0.95);
}
.yt-play::after {
  content: ''; position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-left: 20px solid #0b0b0d;
  border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.yt-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px; font-size: 0.9rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testi-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.testi-card.featured { border-color: var(--gold); }
.stars { color: var(--gold); letter-spacing: 4px; font-size: 1.05rem; }
.testi-card blockquote { color: var(--text); font-size: 1.02rem; }
.testi-who { color: var(--muted); font-size: 0.9rem; }
.testi-who strong { color: var(--text); }
.testi-tag {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line);
  border-radius: 20px; padding: 4px 12px; align-self: flex-start;
}
.testi-placeholder { opacity: 0.75; border-style: dashed; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); }
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start;
}
.quote-form {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 32px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 7px; letter-spacing: 0.04em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border-radius: 7px;
  border: 1px solid #2c2c33; background: var(--bg-3); color: var(--text);
  font-family: inherit; font-size: 0.98rem;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
}
.field textarea { min-height: 120px; resize: vertical; }
.check-row { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.check-row label {
  display: flex; align-items: center; gap: 8px;
  color: var(--text); font-size: 0.95rem; cursor: pointer; margin: 0;
}
.check-row input { width: auto; accent-color: var(--gold); }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 20px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.info-row a { text-decoration: none; }
.info-row a:hover { color: var(--gold-soft); }
.info-row .lbl { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info-row .val { font-size: 1.05rem; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line); padding: 40px 0;
  background: var(--bg);
}
.foot-inner {
  width: min(1140px, 92%); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  color: var(--muted); font-size: 0.9rem;
}
.foot-inner a { color: var(--gold-soft); text-decoration: none; }
.foot-inner a:hover { text-decoration: underline; }
.foot-logo { height: 26px; width: auto; display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,0.02); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.02rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 20px; color: var(--muted); margin: 0; }
.faq-item p a { color: var(--gold-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  section { padding: 72px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(11,11,13,0.98); flex-direction: column;
    padding: 20px 4%; gap: 6px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; display: block; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
