/* ============================================================
   ISMAËL SAIDI — Design System 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Tokens ─── */
:root {
  --bg:            #0c0b0a;
  --bg-surface:    #161412;
  --bg-surface-2:  #1d1a16;
  --gold:          #c9a96e;
  --gold-light:    #e8d5b0;
  --gold-dim:      rgba(201, 169, 110, 0.18);
  --text:          #f0ebe3;
  --text-muted:    #8a7d6e;
  --border:        rgba(201, 169, 110, 0.14);
  --border-hover:  rgba(201, 169, 110, 0.45);
  --nav-height:    72px;
  --radius:        10px;
  --radius-lg:     16px;
  --transition:    all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset / Base ─── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

p { margin: 0 0 1em; color: var(--text); }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

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

/* ─── Navigation ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(12, 11, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-nav.scrolled {
  background: rgba(12, 11, 10, 0.98);
  border-bottom-color: var(--border-hover);
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-logo {
  justify-self: start;
}

.nav-links {
  justify-self: center;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text) !important;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--gold) !important; }

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold) !important;
  background: var(--gold-dim);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  grid-column: 3;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(12, 11, 10, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  z-index: 99;
}
.nav-mobile.open { display: block; }
.nav-mobile ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-mobile a {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  padding: 10px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--gold) !important;
  background: var(--gold-dim);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ─── Page wrapper ─── */
.page-content {
  padding-top: var(--nav-height);
  min-height: 100vh;
}

/* ─── Section heading ─── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* ─── Gold divider ─── */
.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto;
}

/* ─── Card / Surface ─── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

/* ─── Cast info box ─── */
.cast-box {
  background: var(--bg-surface-2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.cast-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.cast-box strong { color: var(--gold-light); font-weight: 600; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: #0c0b0a;
}
.btn-gold:hover {
  background: var(--gold-light);
  color: #0c0b0a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,169,110,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-dark {
  background: var(--bg-surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-dark:hover {
  background: var(--bg-surface);
  border-color: var(--border-hover);
  color: var(--gold-light);
}

/* ─── Photo grid ─── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.photo-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}
.photo-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-grid a:hover img { transform: scale(1.06); }

@media (max-width: 600px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Video embed ─── */
.video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.video-wrap video, .video-wrap iframe {
  width: 100%;
  display: block;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  text-align: center;
}
.site-footer .footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.site-footer .footer-logos img { height: 28px; opacity: 0.85; }
.site-footer .footer-contact {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.site-footer .footer-contact a {
  color: var(--gold);
}
.site-footer .footer-linktree {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1db954;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 28px;
  transition: var(--transition);
}
.site-footer .footer-linktree:hover {
  background: #17a349;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29,185,84,0.35);
}
.site-footer .footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ─── Social icons ─── */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}
.social-icons a {
  color: var(--text-muted);
  transition: var(--transition);
}
.social-icons a:hover { color: var(--gold); transform: translateY(-2px); }
.social-icons svg { width: 24px; height: 24px; }

/* ─── Page hero (inner pages) ─── */
.page-hero {
  padding: 64px 24px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--text);
}
.page-hero .subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ─── Inner page layout ─── */
.show-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.show-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.show-poster {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.show-poster img {
  width: 100%;
  transition: transform 0.5s ease;
}
.show-poster:hover img { transform: scale(1.02); }

@media (max-width: 900px) {
  .show-layout {
    grid-template-columns: 1fr;
  }
  .show-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 500px) {
  .show-sidebar { grid-template-columns: 1fr; }
}

/* ─── Show content sections ─── */
.show-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.show-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.show-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

/* ─── Press download buttons ─── */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* ─── Stat badge ─── */
.stat-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--border-hover);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 20px;
}
.stat-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
}
.stat-badge .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ─── Utilities ─── */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
