/* ============================================================
   INTIKA WORLD — Song Pages shared stylesheet
   Every song page and the /songs index link this file.
   Design tokens match the main site (index.html). Edit here to
   restyle ALL song pages at once. Do NOT put song content here.
   ============================================================ */

:root {
  --color-bg: #FAF8F5;
  --color-bg-warm: #F5F0EB;
  --color-bg-dark: #1A1815;
  --color-cream: #FBF9F6;
  --color-text: #2C2420;
  --color-text-soft: #6B635A;
  --color-text-light: #FAFAFA;
  --color-accent: #B85C38;
  --color-accent-hover: #9E4E30;
  --color-gold: #C9A227;
  --color-whatsapp: #25D366;
  --color-border: #E8E2DB;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-base: 0.8s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper texture overlay (matches main site) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ---------- Navigation (matches main site) ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 6%;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(251, 249, 246, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 226, 219, 0.6);
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--color-text); text-decoration: none;
}
.nav-logo span { color: var(--color-gold); }
.nav-center { display: flex; gap: 2.5rem; list-style: none; }
.nav-center a {
  font-size: 0.9rem; color: var(--color-text-soft); text-decoration: none;
  letter-spacing: 0.03em; transition: color 0.3s; padding: 0.5rem 0;
}
.nav-center a:hover { color: var(--color-text); }
.nav-center a.active { color: var(--color-accent); font-weight: 500; }
.nav-cta {
  padding: 0.75rem 1.75rem; background: var(--color-accent); color: white;
  font-size: 0.88rem; font-weight: 500; text-decoration: none; border-radius: 6px;
  transition: all 0.25s ease; letter-spacing: 0.02em;
}
.nav-cta:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(184, 92, 56, 0.25); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--color-text); }

/* ---------- Layout ---------- */
.container { max-width: 820px; margin: 0 auto; }
.container-wide { max-width: 1200px; margin: 0 auto; }
section { padding: 5rem 5%; }
@media (min-width: 1024px) { section { padding: 6rem 6%; } }
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem;
}
.section-heading {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.2; margin-bottom: 1.5rem;
}
.section-heading em { font-style: italic; color: var(--color-accent); }
.text-center { text-align: center; }

/* ---------- Song hero ---------- */
.song-hero {
  padding: 9rem 5% 4rem;
  text-align: center;
  background: var(--color-bg-warm);
  border-bottom: 1px solid var(--color-border);
}
.song-hero .breadcrumb {
  font-size: 0.8rem; letter-spacing: 0.05em; color: var(--color-text-soft);
  margin-bottom: 1.5rem;
}
.song-hero .breadcrumb a { color: var(--color-accent); text-decoration: none; }
.song-hero h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400; line-height: 1.1; margin-bottom: 1rem; color: var(--color-text);
}
.song-hero h1 em { font-style: italic; color: var(--color-accent); }
.song-hero .song-tagline {
  font-family: var(--font-display); font-size: 1.4rem; font-style: italic;
  color: var(--color-text-soft); max-width: 640px; margin: 0 auto 2rem;
}
/* Meta chips: film, year, mood */
.song-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
  margin-top: 1.5rem;
}
.song-meta span {
  font-size: 0.85rem; background: white; border: 1px solid var(--color-border);
  padding: 0.4rem 1rem; border-radius: 100px; color: var(--color-text-soft);
}
.song-meta span strong { color: var(--color-text); font-weight: 600; }

/* Video embed (Cloudinary / YouTube iframe) */
.song-video {
  max-width: 900px; margin: 3rem auto 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.15); aspect-ratio: 16/9;
  background: var(--color-bg-dark);
}
.song-video iframe, .song-video video { width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }

/* ---------- Article prose ---------- */
.prose { font-size: 1.12rem; line-height: 1.85; color: var(--color-text); }
.prose h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500; line-height: 1.25; margin: 3rem 0 1rem;
}
.prose h2 em { font-style: italic; color: var(--color-accent); }
.prose h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500;
  margin: 2rem 0 0.75rem;
}
.prose p { margin-bottom: 1.4rem; color: var(--color-text-soft); }
.prose p strong { color: var(--color-text); }
.prose ul, .prose ol { margin: 0 0 1.4rem 1.4rem; color: var(--color-text-soft); }
.prose li { margin-bottom: 0.6rem; }
.prose a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }

/* Meaning / lyrics theme box */
.meaning-box {
  background: var(--color-cream); border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 2rem 2.25rem; margin: 2.5rem 0;
}
.meaning-box .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-gold); margin-bottom: 0.75rem;
}
.meaning-box p { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; line-height: 1.6; color: var(--color-text); margin: 0; }

/* Dance breakdown card */
.dance-note {
  background: var(--color-bg-warm); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 2rem; margin: 2.5rem 0;
}
.dance-note h3 { margin-top: 0; }

/* ---------- Conversion: course / membership CTA ---------- */
.learn-cta {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #2a2420 100%);
  border-radius: var(--radius-lg); padding: 3.5rem; text-align: center;
  margin: 4rem auto; max-width: 820px; color: white; position: relative; overflow: hidden;
}
.learn-cta h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; color: white; margin-bottom: 1rem; }
.learn-cta h2 em { color: var(--color-gold); font-style: italic; }
.learn-cta p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 520px; margin: 0 auto 2rem; }
.learn-cta .btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 1.1rem 2.5rem;
  background: var(--color-accent); color: white; font-size: 1rem; font-weight: 500;
  text-decoration: none; border-radius: 8px; transition: all 0.3s;
}
.learn-cta .btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); }
.learn-cta .btn-secondary { display: inline-block; margin-top: 1rem; color: rgba(255,255,255,0.6); font-size: 0.9rem; text-decoration: underline; }

/* ---------- Email capture (Beehiiv) ---------- */
.email-capture {
  background: var(--color-cream); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 3rem; text-align: center; margin: 4rem auto; max-width: 720px;
}
.email-capture h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 500; margin-bottom: 0.75rem; }
.email-capture p { color: var(--color-text-soft); margin-bottom: 1.75rem; max-width: 460px; margin-left: auto; margin-right: auto; }
/* Fallback styling if you paste a raw form instead of the Beehiiv embed */
.email-capture form { display: flex; gap: 0.5rem; max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.email-capture input[type="email"] {
  flex: 1; min-width: 220px; padding: 0.9rem 1.1rem; border: 1px solid var(--color-border);
  border-radius: 8px; font-family: var(--font-body); font-size: 1rem;
}
.email-capture button {
  padding: 0.9rem 1.75rem; background: var(--color-accent); color: white; border: none;
  border-radius: 8px; font-family: var(--font-body); font-size: 1rem; font-weight: 500; cursor: pointer; transition: all 0.25s;
}
.email-capture button:hover { background: var(--color-accent-hover); }

/* ---------- Cross-sell: more songs ---------- */
.more-songs { background: var(--color-bg-warm); }
.songs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem;
}
.song-card {
  display: block; text-decoration: none; color: inherit; background: white;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.song-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.12); }
.song-card-img { width: 100%; height: 200px; object-fit: cover; display: block; background: var(--color-bg-warm); }
.song-card-body { padding: 1.5rem; }
.song-card-body .film { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gold); font-weight: 600; margin-bottom: 0.5rem; }
.song-card-body h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; }
.song-card-body p { font-size: 0.92rem; color: var(--color-text-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); padding: 1.5rem 0; }
.faq-item h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: 0.6rem; }
.faq-item p { color: var(--color-text-soft); }

/* ---------- Footer (matches main site) ---------- */
footer { background: var(--color-bg-dark); padding: 5rem 6% 2.5rem; color: white; }
.footer-content { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; align-items: start; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; letter-spacing: 0.08em; color: white; }
.footer-tagline { font-family: var(--font-display); font-size: 1rem; font-style: italic; color: rgba(255,255,255,0.5); margin-top: 0.75rem; line-height: 1.5; }
.footer-links { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-links-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.92rem; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-socials { display: flex; gap: 1.25rem; }
.footer-socials a { color: rgba(255,255,255,0.5); transition: all 0.2s; }
.footer-socials a:hover { color: var(--color-gold); transform: translateY(-2px); }
.footer-socials svg { width: 22px; height: 22px; }
.footer-bottom { max-width: 1100px; margin: 4rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: rgba(255,255,255,0.4); display: flex; justify-content: space-between; align-items: center; }

/* ---------- Scroll-reveal animation ---------- */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity var(--duration-base) var(--ease-out-expo), transform var(--duration-base) var(--ease-out-expo); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }

/* ============================================================
   ELEVATED COMPONENTS  (cinematic hero, ornament, steps)
   ============================================================ */

/* Cinematic hero — background image + warm overlay + light text.
   Add class "cinematic" to .song-hero and set --hero-img inline. */
.song-hero.cinematic {
  position: relative;
  color: white;
  background: var(--color-bg-dark);
  border-bottom: none;
  padding: 12rem 5% 5rem;
  overflow: hidden;
}
.song-hero.cinematic::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center;
  transform: scale(1.05);
  z-index: 0;
}
.song-hero.cinematic::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,24,21,0.92) 0%, rgba(26,24,21,0.55) 45%, rgba(26,24,21,0.65) 100%);
  z-index: 1;
}
.song-hero.cinematic > * { position: relative; z-index: 2; }
.song-hero.cinematic .breadcrumb { color: rgba(255,255,255,0.75); }
.song-hero.cinematic .breadcrumb a { color: var(--color-gold); }
.song-hero.cinematic h1 { color: white; }
.song-hero.cinematic h1 em { color: var(--color-gold); }
.song-hero.cinematic .song-tagline { color: rgba(255,255,255,0.85); }
.song-hero.cinematic .song-meta span {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
}
.song-hero.cinematic .song-meta span strong { color: white; }

/* Ornamental gold divider */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 3.5rem auto; max-width: 300px; color: var(--color-gold);
}
.ornament::before, .ornament::after {
  content: ''; height: 1px; flex: 1;
  background: linear-gradient(to var(--dir, right), transparent, var(--color-gold));
}
.ornament::before { --dir: left; }
.ornament span { font-size: 1.1rem; letter-spacing: 0.3em; }

/* Lead paragraph (first line of the story, larger) */
.prose .lead {
  font-family: var(--font-display); font-size: 1.5rem; font-style: italic;
  line-height: 1.5; color: var(--color-text); margin-bottom: 2rem;
}

/* "How you'll learn it" steps */
.learn-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.learn-step {
  background: white; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 1.75rem;
}
.learn-step .num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 300;
  color: var(--color-accent); line-height: 1; margin-bottom: 0.5rem;
}
.learn-step h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; margin-bottom: 0.4rem; }
.learn-step p { font-size: 0.92rem; color: var(--color-text-soft); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) { .songs-grid { grid-template-columns: 1fr 1fr; } .learn-steps { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  .nav-center, .nav-cta { display: none; }
  .hamburger { display: flex; }
  nav { padding: 1rem 5%; }
  .song-hero { padding: 7rem 5% 3rem; }
  .songs-grid { grid-template-columns: 1fr; }
  .learn-cta, .email-capture { padding: 2.25rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-links { align-items: center; }
  .footer-socials { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
