/* ═══════════════════════════════════════
   TEHZEEB E AWADH — Shared Design System
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&family=Noto+Nastaliq+Urdu:wght@400;600;700&family=Noto+Sans+Devanagari:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ── TOKENS ── */
:root {
  --black:      #0D0D0D;
  --charcoal:   #111111;
  --ink:        #1A0A0E;
  --maroon:     #5C1520;
  --maroon-dk:  #3D0C15;
  --maroon-lt:  #7A1F2E;
  --gold:       #C9A84C;
  --gold-lt:    #E2C06A;
  --gold-dk:    #8A6A2A;
  --bronze:     #6B4F28;
  --cream:      #F7EDD8;
  --parchment:  #EDD9B0;
  --ivory:      #FAF4E8;
  --text-dim:   rgba(247,237,216,0.5);
  --text-mute:  rgba(247,237,216,0.25);
  --border:     rgba(201,168,76,0.18);
  --border-hi:  rgba(201,168,76,0.4);

  --font-en:    'Cinzel', 'Georgia', serif;
  --font-body:  'Lato', sans-serif;
  --font-lit:   'Cormorant Garamond', 'Georgia', serif;
  --font-ur:    'Noto Nastaliq Urdu', serif;
  --font-hi:    'Noto Sans Devanagari', sans-serif;

  --nav-h:      70px;
  --max-w:      1140px;
  --radius:     2px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  overflow-x: hidden;
  padding-top: var(--nav-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ── LOGO ── */
.logo-ring {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
}
.logo-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.logo-fallback-text { display: none; color: var(--gold); font-size: 20px; position: absolute; }
.logo-ring.logo-fallback .logo-img { display: none; }
.logo-ring.logo-fallback .logo-fallback-text { display: block; }

.footer-logo-img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-dk);
  opacity: 0.85;
}

/* ── NAV ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 36px;
  gap: 24px;
  transition: box-shadow 0.3s;
}
#site-nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.6); }

.nav-logo {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}
.nav-brand { display: flex; flex-direction: column; gap: 2px; }
.nav-brand-en {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 2.5px;
  color: var(--cream); line-height: 1;
}
.nav-brand-sub {
  font-size: 10px; letter-spacing: 1.5px;
  color: var(--gold-dk);
  font-family: var(--font-body);
}

.nav-links {
  display: flex; gap: 4px; list-style: none;
  margin-left: auto; align-items: center;
}
.nav-links li a {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: background 0.2s;
  gap: 1px;
}
.nav-links li a:hover { background: rgba(201,168,76,0.08); }
.nav-links li a.active { background: rgba(201,168,76,0.1); }
.nav-en {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(247,237,216,0.6);
}
.nav-hi {
  font-family: var(--font-hi);
  font-size: 11px; color: rgba(247,237,216,0.45);
}
.nav-links li a:hover .nav-en,
.nav-links li a.active .nav-en { color: var(--gold); }
.nav-links li a:hover .nav-hi,
.nav-links li a.active .nav-hi { color: rgba(201,168,76,0.7); }

.nav-cta {
  background: var(--gold) !important;
  border-radius: var(--radius) !important;
}
.nav-cta .nav-en { color: var(--maroon-dk) !important; }
.nav-cta .nav-hi { color: rgba(61,12,21,0.7) !important; }
.nav-cta:hover { background: var(--gold-lt) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--cream); transition: all 0.3s;
}

/* ── PAGE SHELL ── */
.page-hero {
  background: linear-gradient(165deg, var(--maroon-dk) 0%, var(--black) 60%);
  padding: 80px 40px 70px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.06), transparent);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }
.page-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold-dk);
  margin-bottom: 14px; display: block;
}
.page-title {
  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 52px);
  color: var(--cream); font-weight: 700;
  letter-spacing: 3px; margin-bottom: 10px;
  text-wrap: balance;
}
.page-title-hi {
  font-family: var(--font-hi);
  font-size: clamp(20px, 3vw, 32px);
  color: rgba(247,237,216,0.5);
  font-weight: 400; display: block; margin-bottom: 6px;
}
.page-title-ur {
  font-family: var(--font-ur);
  font-size: clamp(18px, 2.8vw, 30px);
  color: rgba(201,168,76,0.6);
  direction: rtl; display: block;
}
.page-desc {
  font-family: var(--font-lit);
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--text-dim);
  font-style: italic;
  max-width: 560px;
  line-height: 1.75;
  margin-top: 20px;
}

/* ── SECTION COMMONS ── */
.section { padding: 80px 40px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold-dk);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-en);
  font-size: clamp(24px, 3.2vw, 40px);
  color: var(--maroon-dk); font-weight: 700;
  line-height: 1.2; text-wrap: balance;
  margin-bottom: 6px;
}
.section-title-hi {
  font-family: var(--font-hi);
  font-size: clamp(16px, 2vw, 22px);
  color: var(--maroon); opacity: 0.7;
  display: block; margin-bottom: 6px;
}
.section-title-ur {
  font-family: var(--font-ur);
  font-size: clamp(16px, 2vw, 22px);
  color: var(--maroon); opacity: 0.55;
  direction: rtl; display: block;
}
.rule {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0 40px;
}
.rule::before, .rule::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dk), transparent);
}
.rule-mark { color: var(--gold); font-size: 14px; flex-shrink: 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; border-radius: var(--radius);
  transition: all 0.25s; cursor: pointer; border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: var(--maroon-dk);
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.45); }
.btn-outline {
  border: 1px solid var(--border-hi);
  color: var(--cream); background: transparent;
}
.btn-outline:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); }
.btn-dark {
  background: var(--maroon); color: var(--cream);
}
.btn-dark:hover { background: var(--maroon-lt); }

/* ── SHER / POETRY CARD ── */
.sher-card {
  background: linear-gradient(145deg, rgba(13,13,13,0.95), rgba(26,10,14,0.9));
  border: 1px solid var(--border);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.sher-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.sher-card .quote { font-family: var(--font-lit); font-size: 60px; color: rgba(201,168,76,0.1); line-height: 0.5; display: block; margin-bottom: 20px; }
.sher-ur { font-family: var(--font-ur); font-size: clamp(17px,2.2vw,23px); color: var(--cream); direction: rtl; line-height: 2.3; margin-bottom: 12px; }
.sher-hi { font-family: var(--font-hi); font-size: clamp(14px,1.6vw,17px); color: rgba(247,237,216,0.55); line-height: 2; margin-bottom: 16px; }
.sher-translation { font-family: var(--font-lit); font-size: 13px; font-style: italic; color: var(--text-dim); line-height: 1.8; margin-bottom: 24px; }
.sher-meta { display: flex; align-items: center; gap: 10px; }
.sher-rule { height: 1px; width: 24px; background: var(--gold-dk); flex-shrink: 0; }
.sher-poet { font-family: var(--font-en); font-size: 10px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.sher-era { font-size: 10px; color: var(--text-mute); margin-left: auto; }

/* ── EVENT CARD ── */
.event-card {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 0; border-bottom: 1px solid rgba(107,31,42,0.12);
  padding: 36px 0; position: relative;
}
.event-card:last-child { border-bottom: none; }
.event-date-block { padding-right: 32px; border-right: 1px solid var(--border); }
.ev-day { font-family: var(--font-en); font-size: 38px; font-weight: 700; color: var(--maroon); line-height: 1; }
.ev-month { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dk); }
.ev-year { font-size: 10px; color: var(--text-mute); }
.event-body { padding-left: 32px; }
.ev-type { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 8px; }
.ev-title { font-family: var(--font-lit); font-size: 22px; font-weight: 600; color: var(--maroon-dk); margin-bottom: 4px; }
.ev-title-hi { font-family: var(--font-hi); font-size: 14px; color: var(--maroon-lt); display: block; margin-bottom: 4px; opacity: 0.8; }
.ev-title-ur { font-family: var(--font-ur); font-size: 16px; color: var(--maroon); direction: rtl; display: block; margin-bottom: 12px; opacity: 0.65; }
.ev-desc { font-size: 14px; color: #5A3A3A; line-height: 1.75; margin-bottom: 14px; }
.ev-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ev-tag { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; background: rgba(92,21,32,0.07); color: var(--maroon); border-radius: var(--radius); }
.ev-tag.highlight { background: var(--gold); color: var(--maroon-dk); }

/* ── SHAYAR CARD ── */
.shayar-card {
  background: white;
  border: 1px solid rgba(92,21,32,0.1);
  padding: 32px 24px; text-align: center;
  transition: all 0.3s; position: relative;
}
.shayar-card::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 2px; background: var(--gold); }
.shayar-card:hover { border-color: var(--gold); box-shadow: 0 12px 36px rgba(92,21,32,0.1); transform: translateY(-4px); }
.shayar-avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--maroon-dk), var(--black)); border: 2px solid rgba(201,168,76,0.3); display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden; }
.shayar-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: sepia(20%) contrast(1.05); }
.shayar-name { font-family: var(--font-lit); font-size: 20px; font-weight: 600; color: var(--maroon-dk); margin-bottom: 3px; }
.shayar-name-hi { font-family: var(--font-hi); font-size: 13px; color: var(--maroon); opacity: 0.7; display: block; margin-bottom: 3px; }
.shayar-name-ur { font-family: var(--font-ur); font-size: 14px; color: var(--maroon); opacity: 0.55; direction: rtl; display: block; margin-bottom: 8px; }
.shayar-era { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 12px; }
.shayar-desc { font-size: 12px; color: #6A4A4A; line-height: 1.75; }

/* ── FOOTER ── */
#site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 64px 40px 32px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 60px; margin-bottom: 48px; }
.footer-tagline { font-family: var(--font-hi); font-size: 13px; color: var(--text-dim); line-height: 1.9; margin: 16px 0 8px; }
.footer-tagline-urdu { font-family: var(--font-ur); font-size: 14px; color: rgba(201,168,76,0.35); direction: rtl; }
.footer-col h4 { font-family: var(--font-en); font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: var(--text-dim); transition: color 0.25s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-col ul .dim { color: var(--text-mute); font-size: 11px; }
.footer-col address { font-size: 13px; color: var(--text-dim); line-height: 1.9; }
.footer-col address a { border-bottom: 1px solid var(--border); }
.footer-col address a:hover { color: var(--gold); }
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 950;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 7px 22px rgba(0,0,0,0.35); }
.whatsapp-float svg { width: 34px; height: 34px; fill: currentColor; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 11px; color: var(--text-mute); }
.footer-sign { font-size: 12px; display: flex; align-items: center; gap: 8px; }
.footer-sign .hi { font-family: var(--font-hi); color: rgba(247,237,216,0.25); }
.footer-sign .sep { color: var(--border-hi); }
.footer-sign .ur { font-family: var(--font-ur); color: rgba(201,168,76,0.3); direction: rtl; }

/* ── STATS ROW ── */
.stats-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-n { font-family: var(--font-en); font-size: 40px; font-weight: 700; color: var(--maroon); line-height: 1; }
.stat-l { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dk); margin-top: 4px; }

/* ── FORM ELEMENTS ── */
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dk); }
.form-input {
  padding: 13px 16px;
  background: white; border: 1px solid rgba(92,21,32,0.15);
  color: var(--ink); font-size: 14px; font-family: var(--font-body);
  outline: none; border-radius: var(--radius); transition: border-color 0.25s;
}
.form-input:focus { border-color: var(--maroon); }
.form-input::placeholder { color: #C0A8A8; }
textarea.form-input { resize: vertical; min-height: 110px; }

/* ── SCROLL ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--black); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 60px 24px; }
  .page-hero { padding: 60px 24px 50px; }
  #site-nav { padding: 0 20px; }
}
@media (max-width: 600px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 32px; height: 32px; }
  .stats-row { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .event-card { grid-template-columns: 1fr; }
  .event-date-block { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 16px; margin-bottom: 0; }
  .event-body { padding-left: 0; padding-top: 16px; }
}
