/* ============================================
   BULAND — FORMATS PAGE STYLES
   Scrolling one page version
============================================ */

/* FORMATS HERO */
.formats-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  background: var(--black-base);
}
.formats-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(155,48,180,0.05) 1px,transparent 1px),linear-gradient(90deg,rgba(155,48,180,0.05) 1px,transparent 1px);
  background-size: 50px 50px;
}
.formats-hero-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(92,15,107,0.1);
  right: -200px; top: -200px;
  animation: orbPulse 4s ease-in-out infinite;
}
.formats-hero-content {
  position: relative; z-index: 2;
  padding: 0 44px 64px;
  opacity: 0; transform: translateY(24px);
  animation: heroReveal 0.8s 0.2s ease forwards;
}
.formats-hero-h {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500; color: var(--white);
  line-height: 1.02; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.formats-hero-h em { color: var(--purple-light); font-style: normal; }
.formats-hero-sub {
  font-size: 16px; color: var(--white-60);
  max-width: 500px; line-height: 1.75;
  margin-bottom: 36px;
}
/* Format pills in hero */
.formats-hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-pill-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 24px;
  border: 0.5px solid rgba(155,48,180,0.2);
  background: rgba(92,15,107,0.1);
  color: var(--white-60);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.hero-pill-item:hover {
  border-color: rgba(155,48,180,0.5);
  color: var(--white);
  background: rgba(92,15,107,0.2);
  transform: translateY(-2px);
}
.hero-pill-item .pill-urdu { font-size: 16px; opacity: 0.7; }

/* STICKY FORMAT NAV */
.fmt-sticky-nav {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: rgba(6,0,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--white-05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 44px;
  transition: background 0.4s ease;
}
.fmt-sticky-nav.dark { background: rgba(6,0,10,0.98); }
.fmt-nav-anchor {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 22px;
  border: 0.5px solid transparent;
  color: var(--white-40);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.fmt-nav-anchor:hover { color: var(--white); border-color: rgba(155,48,180,0.3); }
.fmt-nav-anchor.active {
  background: var(--fmt-color, var(--purple-deep));
  color: var(--white);
  border-color: transparent;
}
.fmt-nav-anchor .nav-urdu { font-size: 15px; opacity: 0.8; }
.fmt-nav-anchor.soon { opacity: 0.35; pointer-events: none; }

/* FORMAT SECTIONS */
.fmt-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  transition: background 0.6s ease;
}

/* Backgrounds per format */
.fmt-section.kahani { background: linear-gradient(160deg, #2D0A40 0%, #180524 40%, #06000A 100%); }
.fmt-section.space { background: linear-gradient(160deg, #0A1830 0%, #050C18 40%, #06000A 100%); }
.fmt-section.storytravelling { background: linear-gradient(160deg, #281808 0%, #140C04 40%, #06000A 100%); }
.fmt-section.storyfest { background: linear-gradient(160deg, #280820 0%, #140410 40%, #06000A 100%); }
.fmt-section.bol { background: linear-gradient(160deg, #0A2818 0%, #05140C 40%, #06000A 100%); }

/* Big Urdu watermark */
.fmt-section-urdu {
  position: absolute;
  right: -20px; bottom: -40px;
  font-size: clamp(180px, 28vw, 360px);
  line-height: 1;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 700;
  user-select: none;
  transition: opacity 0.5s ease;
}
/* Grid texture */
.fmt-section-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,0.02) 1px,transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
/* Left gradient so text stays readable */
.fmt-section-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(6,0,10,0.7) 0%, rgba(6,0,10,0.3) 50%, transparent 100%);
  pointer-events: none;
}

/* Section content */
.fmt-section-content {
  position: relative;
  z-index: 2;
  padding: 80px 44px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.fmt-section-left {}
.fmt-section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.fmt-section.in-view .fmt-section-eyebrow { opacity: 1; transform: translateY(0); }
.fmt-section-urdu-label {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}
.fmt-section.in-view .fmt-section-urdu-label { opacity: 1; transform: translateY(0); }
.fmt-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.fmt-section.in-view .fmt-section-title { opacity: 1; transform: translateY(0); }
.fmt-section-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 14px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.25s, transform 0.6s ease 0.25s;
}
.fmt-section.in-view .fmt-section-desc { opacity: 1; transform: translateY(0); }
.fmt-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}
.fmt-section.in-view .fmt-cta-row { opacity: 1; transform: translateY(0); }

/* Buttons */
.fmt-btn {
  padding: 12px 26px;
  border-radius: 26px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}
.fmt-btn.solid {
  background: var(--fmt-color, var(--purple-deep));
  color: var(--white);
}
.fmt-btn.solid:hover { opacity: 0.85; transform: translateY(-2px); }
.fmt-btn.outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.fmt-btn.outline:hover { border-color: rgba(255,255,255,0.45); transform: translateY(-2px); }

/* Right side — details */
.fmt-section-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
.fmt-section.in-view .fmt-section-right { opacity: 1; transform: translateX(0); }
.fmt-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 18px;
  transition: background 0.2s ease;
}
.fmt-detail:hover { background: rgba(255,255,255,0.07); }
.fmt-detail-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.fmt-detail-label { font-size: 10px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; }
.fmt-detail-value { font-size: 13px; color: var(--white); line-height: 1.5; }

/* Past events strip */
.fmt-strip-wrap {
  position: relative;
  z-index: 2;
  padding: 0 44px 64px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}
.fmt-section.in-view .fmt-strip-wrap { opacity: 1; transform: translateY(0); }
.fmt-strip-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 14px;
  display: block;
}
.fmt-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  cursor: grab;
}
.fmt-strip:active { cursor: grabbing; }
.fmt-strip::-webkit-scrollbar { height: 2px; }
.fmt-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }
.fmt-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 10px 14px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}
.fmt-chip:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }
.fmt-chip-num {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,0.06);
  white-space: nowrap;
}
.fmt-chip-title { font-size: 13px; font-weight: 500; color: var(--white); white-space: nowrap; }
.fmt-chip-city { font-size: 11px; color: rgba(255,255,255,0.35); white-space: nowrap; }
.fmt-chip-yt {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.fmt-chip-yt:hover { background: #ff0000; }

/* Space themes */
.space-themes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
.fmt-section.in-view .space-themes { opacity: 1; transform: translateY(0); }
.space-theme-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s ease, color 0.2s ease;
}
.space-theme-tag:hover { background: rgba(255,255,255,0.08); color: var(--white); }

/* Section divider */
.fmt-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.06) 80%, transparent);
  margin: 0 44px;
}

/* Coming soon */
.fmt-coming-soon-content {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.fmt-coming-icon { font-size: 52px; margin-bottom: 20px; display: block; }
.fmt-coming-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500; color: var(--white);
  line-height: 1.1; margin-bottom: 14px;
}
.fmt-coming-desc { font-size: 15px; color: var(--white-40); line-height: 1.75; margin-bottom: 28px; }
.fmt-coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  padding: 8px 18px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================
   RESPONSIVE — FORMATS PAGE
============================================ */

@media (max-width: 768px) {
  .formats-hero-content { padding: 0 20px 48px; }
  .formats-hero-h { font-size: 34px; }
  .formats-hero-sub { font-size: 14px; }
  .formats-hero-pills { gap: 6px; }
  .hero-pill-item { font-size: 12px; padding: 6px 14px; }

  .fmt-sticky-nav { padding: 8px 16px; overflow-x: auto; justify-content: flex-start; gap: 4px; -webkit-overflow-scrolling: touch; }
  .fmt-sticky-nav::-webkit-scrollbar { display: none; }
  .fmt-nav-anchor { font-size: 12px; padding: 7px 12px; white-space: nowrap; }

  .fmt-section-content { grid-template-columns: 1fr; gap: 28px; padding: 52px 20px; }
  .fmt-section-right { padding-top: 0; }
  .fmt-section-title { font-size: 26px; }
  .fmt-section-urdu { font-size: 120px; }
  .fmt-section-desc { font-size: 14px; }
  .fmt-cta-row { flex-direction: column; gap: 8px; }
  .fmt-btn { justify-content: center; text-align: center; }

  .fmt-strip-wrap { padding: 0 20px 52px; }
  .space-themes { gap: 6px; }
  .space-theme-tag { font-size: 11px; padding: 5px 10px; }

  .fmt-divider { margin: 0 20px; }
  .fmt-coming-soon-content { padding: 20px; }
  .fmt-coming-title { font-size: 26px; }
}

@media (max-width: 480px) {
  .formats-hero-h { font-size: 28px; }
  .fmt-section-title { font-size: 22px; }
  .fmt-section-urdu { font-size: 90px; }
  .fmt-section-content { padding: 40px 20px; }
  .fmt-detail { padding: 12px 14px; }
  .fmt-detail-value { font-size: 12px; }
  .fmt-chip { padding: 8px 10px; }
  .fmt-chip-title { font-size: 12px; }
  .fmt-nav-anchor .nav-urdu { display: none; }
}
