/* ============================================================
   IVY ENTERTAINMENT — Films Page
   films.css
   ============================================================ */

/* ── BASE ── */
.films-page {
  background: #0A0A0A;
  color: #1A1A1A;
  overflow-x: hidden;
}

/* ── Active nav item ── */
.hdr-nav-item--active {
  color: var(--gold, #C9A84C) !important;
}
.hdr-nav-item--active .hdr-nav-icon {
  background: var(--gold, #C9A84C) !important;
  color: #fff !important;
}

/* ============================================================
   HERO
   ============================================================ */
.fh-hero {
  position: relative;
  margin-top: var(--hdr-h, 140px);
  padding: 72px 0 80px;
  overflow: hidden;
  background: #0A0A0A;
  text-align: center;
}
.fh-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201,168,76,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.fh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, #0A0A0A 100%);
}
.fh-hero-inner {
  position: relative;
  z-index: 2;
}
.fh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold, #C9A84C);
  margin-bottom: 20px;
}
.fh-eyebrow span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold, #C9A84C);
  border-radius: 2px;
}
.fh-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 18px;
}
.fh-hero-title em {
  color: var(--gold, #C9A84C);
  font-style: italic;
}
.fh-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

/* Hero stats row */
.fh-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 0;
  backdrop-filter: blur(10px);
}
.fh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}
.fh-stat strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold, #C9A84C);
  line-height: 1;
  margin-bottom: 4px;
}
.fh-stat span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.fh-stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.10);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT TEXT SECTION
   ============================================================ */
.fh-about {
  background: #fff;
  padding: 88px 0 92px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.fh-about-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}
.fh-about-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold, #C9A84C);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fh-about-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold, #C9A84C);
  border-radius: 2px;
}
.fh-about-lead {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: #0E0E0E;
  line-height: 1.5;
  margin-bottom: 18px;
}
.fh-about-body {
  font-size: 15px;
  color: rgba(10,10,10,0.62);
  line-height: 1.8;
  margin-bottom: 14px;
}
.fh-about-body strong {
  color: #0E0E0E;
  font-weight: 600;
}

/* Right stats block */
.fh-about-stats-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}
.fh-big-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 28px;
  background: #F7F5F0;
  border-radius: 16px;
  border-left: 4px solid var(--gold, #C9A84C);
}
.fh-big-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 40px;
  font-weight: 900;
  color: #0E0E0E;
  line-height: 1;
}
.fh-big-num em {
  color: var(--gold, #C9A84C);
  font-style: normal;
}
.fh-big-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(10,10,10,0.45);
  text-transform: uppercase;
}

/* ============================================================
   FILM GRID SECTIONS
   ============================================================ */
.fh-films-section {
  padding: 88px 0 96px;
  background: #F7F5F0;
}
.fh-films-section--upcoming {
  background: #EFEDE8;
}

/* Section header */
.fh-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.fh-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold, #C9A84C);
  margin-bottom: 14px;
}
.fh-section-eyebrow span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold, #C9A84C);
  border-radius: 2px;
}
.fh-section-eyebrow--upcoming { color: #666; }
.fh-section-eyebrow--upcoming span { background: #999; }

.fh-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  color: #0E0E0E;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.fh-section-title em {
  color: var(--gold, #C9A84C);
  font-style: italic;
}
.fh-section-sub {
  font-size: 15px;
  color: rgba(10,10,10,0.45);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Film Grid ── */
.fh-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* ── Film Card ── */
.fh-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.fh-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(0,0,0,0.13);
  border-color: rgba(201,168,76,0.40);
}
/* IVY co-produced highlight */
.fh-card--ivy {
  border-color: rgba(201,168,76,0.30);
  box-shadow: 0 4px 20px rgba(201,168,76,0.10);
}
.fh-card--ivy:hover {
  border-color: rgba(201,168,76,0.60);
  box-shadow: 0 24px 52px rgba(201,168,76,0.18);
}

/* Poster */
.fh-poster {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #ddd;
}
.fh-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.fh-card:hover .fh-poster img {
  transform: scale(1.06);
}

/* Card info */
.fh-card-info {
  padding: 16px 16px 20px;
}
.fh-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #0E0E0E;
  line-height: 1.35;
  margin-bottom: 6px;
}
.fh-lang {
  font-size: 11px;
  font-weight: 500;
  color: rgba(10,10,10,0.40);
  font-family: 'Inter', sans-serif;
}
.fh-card-cast {
  font-size: 11.5px;
  color: rgba(10,10,10,0.50);
  line-height: 1.5;
  margin-bottom: 8px;
}
.fh-card-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold, #C9A84C);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.fh-card-date i { font-size: 10px; opacity: 0.7; }

/* IVY role badge on card */
.fh-role-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #0E0E0E;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 6px;
  padding: 4px 9px;
  line-height: 1.4;
}

/* ============================================================
   UPCOMING SECTION
   ============================================================ */
.fh-upcoming-text {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 15px;
  color: rgba(10,10,10,0.60);
  line-height: 1.8;
}
.fh-upcoming-text strong {
  color: #0E0E0E;
  font-weight: 600;
}
.fh-upcoming-placeholder {
  text-align: center;
  padding: 64px 24px;
  background: #fff;
  border-radius: 20px;
  border: 2px dashed rgba(0,0,0,0.12);
  max-width: 520px;
  margin: 0 auto;
}
.fh-upcoming-icon {
  font-size: 44px;
  color: rgba(0,0,0,0.14);
  margin-bottom: 18px;
}
.fh-upcoming-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #0E0E0E;
  margin-bottom: 8px;
}
.fh-upcoming-sub {
  font-size: 13.5px;
  color: rgba(10,10,10,0.40);
  line-height: 1.6;
}

/* ============================================================
   SECTION TAB BUTTONS (Released / Upcoming jump links)
   ============================================================ */
.fh-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 52px;
}
.fh-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: rgba(10,10,10,0.45);
  background: #fff;
  border: 2px solid rgba(0,0,0,0.10);
  transition: all 0.22s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.fh-tab i {
  font-size: 13px;
}
.fh-tab:hover {
  color: #0E0E0E;
  border-color: rgba(0,0,0,0.22);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.fh-tab--active {
  color: #fff;
  background: var(--gold, #C9A84C);
  border-color: var(--gold, #C9A84C);
  box-shadow: 0 6px 20px rgba(201,168,76,0.30);
}
.fh-tab--active:hover {
  background: #b8963e;
  border-color: #b8963e;
  color: #fff;
}

/* ── film tag (e.g. #Karthi29, #NC24) ── */
.fh-tag {
  font-size: 10px;
  font-weight: 600;
  color: rgba(10,10,10,0.38);
  font-family: 'Inter', sans-serif;
  font-style: normal;
}

/* ── Upcoming grid dark card variant ── */
.fh-grid--upcoming .fh-card {
  background: #faf9f7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .fh-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .fh-grid { grid-template-columns: repeat(3, 1fr); }
  .fh-about-inner { grid-template-columns: 1fr; gap: 40px; }
  .fh-about-stats-block { flex-direction: row; flex-wrap: wrap; }
  .fh-big-stat { flex: 1 1 200px; }
}
@media (max-width: 768px) {
  .fh-hero { padding: 56px 0 60px; }
  .fh-hero-title { letter-spacing: -2px; }
  .fh-stats {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: 100%;
    border-radius: 14px;
    padding: 16px 6px;
  }
  .fh-stat {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 6px;
  }
  .fh-stat strong { font-size: 22px; }
  .fh-stat span {
    font-size: 8px;
    letter-spacing: 0.5px;
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
  }
  .fh-stat-sep { display: none; }
  .fh-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fh-about-stats-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .fh-about-stats-block .fh-big-stat:nth-child(3) { grid-column: 1 / -1; }
  .fh-big-stat { padding: 18px 18px; gap: 4px; }
  .fh-big-num { font-size: 30px; }
  .fh-big-label { font-size: 10px; }
  .fh-films-section { padding: 60px 0 68px; }
  .fh-about { padding: 60px 0; }
  .fh-section-nav { padding: 36px 0 0; }
  .fh-section-nav-inner { padding: 0 16px; gap: 8px; }
  .fh-snav-btn { padding: 11px 22px; font-size: 13px; }
}
@media (max-width: 480px) {
  .fh-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .fh-card-info { padding: 12px 12px 16px; }
  .fh-card-title { font-size: 13px; }
}
