/* ── shared.css — Tariq Iftikhar Films ── */

/* TOKENS */
:root {
  --white: #ffffff;
  --off: #ffffff;
  --ink: #1a1a1a;
  --mid: #555555;
  --light: #888888;
  --red: #8b1a1a;
  --border: #e0e0e0;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Lato", sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* HEADER */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; max-width: 1300px; margin: 0 auto;
}
.nav-left { display: none; gap: 28px; }
.nav-right { display: none; gap: 28px; }
.nav-left a, .nav-right a {
  font-family: var(--sans); font-size: 0.65rem; font-weight: 400;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--mid);
  text-decoration: none; transition: color 0.3s;
}
.nav-left a:hover, .nav-right a:hover, .nav-left a.active, .nav-right a.active { color: var(--ink); }
.logo-wrap { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.logo-img { height: 64px; width: auto; }
.footer-logo-img { height: 80px; width: auto; }
.burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: 0.3s; }

/* MOBILE MENU */
.mob-menu {
  display: none; position: fixed; inset: 0; z-index: 200; background: var(--white);
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.mob-menu.open { display: flex; }
.mob-menu a { font-family: var(--serif); font-size: 1.8rem; font-style: italic; color: var(--ink); text-decoration: none; transition: color 0.3s; }
.mob-menu a:hover { color: var(--red); }
.mob-close { position: absolute; top: 20px; right: 22px; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--ink); font-weight: 300; }

/* PAGE HERO (inner pages) - Updated to light contact-style banner */
.page-hero {
  background: #f0efed;
  padding: 60px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.page-hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--mid);
  letter-spacing: 1px;
  margin-bottom: 0; /* overridden by parent flex gap */
  animation: fadeUp 0.9s ease 0.2s both;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: normal;
  animation: fadeUp 0.9s ease 0.4s both;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--ink);
}
.page-hero-rule {
  /* Hide the red rule as the contact banner does not use it, but keep the element in case it's in the DOM */
  display: none;
}

/* Contact Banner Styles (now shared across internal pages) */
.contact-banner-sub { font-family: var(--sans); font-size: 0.72rem; font-weight: 300; color: var(--mid); letter-spacing: 1px; animation: fadeUp 0.9s ease 0.2s both; }
.contact-banner-h { font-family: var(--serif); font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 400; color: var(--ink); line-height: 1.2; animation: fadeUp 0.9s ease 0.4s both; }
.contact-banner-tag { font-family: var(--sans); font-size: 0.52rem; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; color: var(--mid); animation: fadeUp 0.9s ease 0.6s both; }

/* SECTION WRAPPER */
.section-wrap { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

/* SECTION HEADING */
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-eyebrow { font-family: var(--sans); font-size: 0.58rem; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; color: var(--light); margin-bottom: 16px; }
h2 { font-family: var(--serif); font-size: clamp(1.8rem, 6vw, 3rem); font-weight: 400; line-height: 1.2; color: var(--ink); }
h2 em { font-style: italic; }
.sec-rule { width: 40px; height: 1px; background: var(--red); margin: 20px auto 0; }

/* AWARDS */
.awards { padding: 80px 0; background: var(--off); border-bottom: 1px solid var(--border); }
.awards-grid { display: flex; flex-direction: column; gap: 24px; }
.award-card { border: 1px solid var(--border); padding: 36px 28px; text-align: center; background: var(--white); transition: box-shadow 0.3s; }
.award-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.award-yr { font-family: var(--serif); font-size: 2.5rem; font-weight: 400; color: var(--red); line-height: 1; margin-bottom: 10px; }
.award-ttl { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--ink); margin-bottom: 10px; }
.award-desc { font-family: var(--sans); font-size: 0.62rem; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--light); line-height: 2; }

/* LOVE NOTES */
.love-notes { padding: 80px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.love-slide { display: none; }
.love-slide.active { display: block; }
.love-quote { max-width: 680px; margin: 0 auto; padding: 0 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.love-eyebrow { font-family: var(--sans); font-size: 0.55rem; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; color: var(--light); margin-bottom: 32px; }
.love-greeting { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; color: var(--ink); margin-bottom: 20px; }
.love-text { font-family: var(--serif); font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 400; line-height: 1.9; color: var(--ink); margin-bottom: 28px; font-style: italic; }
.love-from { font-family: var(--sans); font-size: 0.58rem; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--light); }
.love-nav { display: flex; align-items: center; justify-content: center; gap: 32px; margin-top: 48px; padding: 0 24px; }
.love-btn { background: none; border: none; cursor: pointer; font-size: 1.2rem; color: var(--mid); padding: 8px 12px; transition: color 0.3s; font-family: var(--sans); }
.love-btn:hover { color: var(--ink); }
.love-btn:disabled { color: var(--border); cursor: default; }
.love-count { font-family: var(--sans); font-size: 0.62rem; font-weight: 400; letter-spacing: 2px; color: var(--light); }

/* CTA STRIP */
.cta-strip { padding: 80px 24px; text-align: center; border-top: 1px solid var(--border); }
.cta-strip-eyebrow { font-family: var(--sans); font-size: 0.55rem; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; color: var(--light); margin-bottom: 20px; }
.cta-strip h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 36px; }

/* BUTTONS */
.btn-primary {
  display: inline-block; font-family: var(--sans); font-size: 0.62rem; font-weight: 400;
  letter-spacing: 3px; text-transform: uppercase; color: var(--white); background: var(--ink);
  text-decoration: none; padding: 16px 40px; transition: background 0.3s, letter-spacing 0.3s;
}
.btn-primary:hover { background: var(--red); letter-spacing: 4px; }

/* REEL GRID */
.showreel { padding: 80px 0; border-bottom: 1px solid var(--border); }
.reel-grid { display: grid; grid-template-columns: 1fr; gap: 3px; }
.reel-item, .reel-item--bottom { background: #111; aspect-ratio: 16/9; position: relative; overflow: hidden; }
.reel-item iframe, .reel-item--bottom iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* FOOTER */
footer { background: #f5f4f2; border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center; padding: 0 24px 60px; }
.footer-col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-ig-icon svg { width: 28px; height: 28px; color: var(--mid); }
.footer-ig-label { font-family: var(--sans); font-size: 0.52rem; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--mid); line-height: 1.8; }
.footer-get-touch { font-family: var(--sans); font-size: 0.52rem; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; color: var(--mid); margin-bottom: 8px; }
.footer-phone { font-family: var(--serif); font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 12px; }
.footer-phone a { color: var(--ink) !important; text-decoration: none !important; transition: color 0.3s; }
.footer-phone a:hover { color: var(--red) !important; }
.footer-avail { font-family: var(--serif); font-size: 0.95rem; font-style: italic; line-height: 1.8; color: var(--mid); max-width: 280px; }

/* Prevent iOS auto-linking styles from overriding our colors */
a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}
.footer-seo { text-align: center; padding: 16px 24px 0; font-family: var(--sans); font-size: 0.65rem; color: var(--light); line-height: 1.8; max-width: 600px; margin: 0 auto; display: block; }
.footer-copy { border-top: 1px solid var(--border); padding: 20px 24px; text-align: center; font-family: var(--sans); font-size: 0.48rem; letter-spacing: 2px; text-transform: uppercase; color: var(--light); }

/* WHATSAPP BUTTON */
.wa-btn { position: fixed; bottom: 28px; right: 24px; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 0; box-shadow: 0 4px 16px rgba(0,0,0,0.2); z-index: 500; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.25); }
.wa-btn svg { width: 56px; height: 56px; display: block; }

/* RESPONSIVE */
@media (min-width: 600px) {
  .reel-grid { grid-template-columns: repeat(4, 1fr); }
  .reel-item { grid-column: span 2; }
  .reel-item--bottom { grid-column: span 2; }
  .awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (min-width: 1024px) {
  .header-inner { padding: 20px 40px; }
  .nav-left, .nav-right { display: flex; }
  .burger { display: none; }
  .section-wrap { padding: 0 40px; }
  .showreel { padding: 100px 0; }
  .awards { padding: 100px 0; }
  .footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; text-align: left; padding: 60px 5% 60px; border-bottom: 1px solid var(--border); }
  .footer-col { border-right: 1px solid var(--border); padding: 0 48px; }
  .footer-col:first-child { padding-left: 0; }
  .footer-col:last-child { border-right: none; padding-right: 0; }
  .footer-col-centre { align-items: center; text-align: center; }
  .footer-col-right { align-items: flex-start; text-align: left; }
}
@media (min-width: 1200px) {
  .header-inner { padding: 20px 60px; }
  .section-wrap { padding: 0 60px; }
}
