/* ============================================================
   SuperMummy — style.css
   supermummy.in · Jananam Media Pvt. Ltd.
   ============================================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&family=Baloo+2:wght@400;500;600;700;800&family=Hind:wght@300;400;500;600;700&display=swap');

/* --- Variables --- */
:root {
  --pink:       #E8006F;
  --pink-light: #FF3D94;
  --pink-dark:  #C0005C;
  --cream:      #FFF8F2;
  --cream-dark: #F5EDE4;
  --dark:       #1A0A10;
  --dark-soft:  #2D1520;
  --grey:       #6B5560;
  --grey-light: #A8939D;
  --white:      #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-hindi:   'Baloo 2', sans-serif;
  --font-body:    'Hind', sans-serif;

  --max-width:    1200px;
  --nav-height:   90px;
  --section-pad:  clamp(3rem, 8vw, 6rem);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--pink-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid rgba(26, 10, 16, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--pink);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--pink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pink);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--pink-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero / Section Spacing --- */
.hero {
  padding-top: calc(var(--nav-height) + var(--section-pad));
  padding-bottom: var(--section-pad);
}

.section {
  padding: var(--section-pad) 0;
}

.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--dark  { background: var(--dark); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--pink  { background: var(--pink); color: var(--white); }
.section--pink h2, .section--pink h3 { color: var(--white); }

/* --- Blockquotes (the founding story style) --- */
blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.5;
  color: var(--dark);
  border-left: 4px solid var(--pink);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: rgba(232, 0, 111, 0.03);
  border-radius: 0 8px 8px 0;
}

.section--dark blockquote {
  color: var(--cream);
  background: rgba(255, 248, 242, 0.05);
  border-left-color: var(--pink-light);
}

.section--pink blockquote {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn--pink {
  background: var(--pink);
  color: var(--white);
}
.btn--pink:hover {
  background: var(--pink-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 0, 111, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--pink);
  border: 2px solid var(--pink);
}
.btn--outline:hover {
  background: var(--pink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--pink);
}
.btn--white:hover {
  background: var(--cream);
  color: var(--pink-dark);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--dark);
  color: var(--cream);
}
.btn--dark:hover {
  background: var(--dark-soft);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Stat Cards --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--pink);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey);
  line-height: 1.4;
}

.section--dark .stat-number { color: var(--pink-light); }
.section--dark .stat-label { color: var(--grey-light); }

/* --- Two Doors (About page) --- */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin: 3rem 0;
}

.door {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(26, 10, 16, 0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.door .btn {
  margin-top: auto;
  align-self: flex-start;
}

.door:hover {
  box-shadow: 0 12px 40px rgba(26, 10, 16, 0.08);
  transform: translateY(-4px);
}

.door-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.25rem;
}

.door-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--cream-dark);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
  font-size: 0.9rem;
  overflow: hidden;
}

.door-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.door p {
  font-size: 1rem;
  color: var(--dark-soft);
  margin-bottom: 1.5rem;
}

/* --- Tabs (Work With Us) --- */
.tabs {
  margin: 2rem 0;
}

.tab-buttons {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--cream-dark);
  margin-bottom: 2rem;
}

.tab-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border: none;
  background: none;
  color: var(--grey);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.tab-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.tab-btn.active {
  color: var(--pink);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Three Columns (Audience) --- */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 2rem 0;
}

.three-col h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pink);
  margin-bottom: 1rem;
}

.three-col ul {
  list-style: none;
  padding: 0;
}

.three-col li {
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0.4rem 0;
  padding-left: 1rem;
  position: relative;
  color: var(--dark-soft);
}

.three-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
}

/* --- Chart Container --- */
.chart-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(26, 10, 16, 0.06);
}

.chart-wrap canvas {
  width: 100% !important;
  max-height: 360px;
}

/* --- Video Grid (Mummies page) --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.video-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(26, 10, 16, 0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}

.video-card:hover {
  box-shadow: 0 8px 28px rgba(26, 10, 16, 0.08);
  transform: translateY(-3px);
}

.video-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-body {
  padding: 1rem 1.25rem;
}

.video-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.video-card-views {
  font-size: 0.82rem;
  color: var(--grey);
}

/* --- PDF Cards (Mummies page) --- */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.pdf-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 2px dashed rgba(232, 0, 111, 0.2);
}

.pdf-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.pdf-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.pdf-card-badge {
  font-size: 0.8rem;
  color: var(--pink);
  font-weight: 600;
}

/* --- Chanda Block --- */
.chanda-block {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin: 2rem 0;
}

.chanda-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--cream-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
  font-size: 0.8rem;
  overflow: hidden;
}

.chanda-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chanda-info h3 {
  margin-bottom: 0.25rem;
}

.chanda-role {
  font-size: 0.9rem;
  color: var(--grey);
  margin-bottom: 1rem;
}

.chanda-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* --- Market Facts (numbered) --- */
.market-facts {
  counter-reset: fact;
  margin: 2rem 0;
}

.market-fact {
  counter-increment: fact;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(26, 10, 16, 0.06);
}

.market-fact:last-child { border-bottom: none; }

.market-fact::before {
  content: counter(fact);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--pink);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}

.market-fact p { margin: 0; }

.market-fact .source {
  font-size: 0.8rem;
  color: var(--grey-light);
  font-style: italic;
}

/* --- Social Links (Mummies page) --- */
.social-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(26, 10, 16, 0.06);
  transition: box-shadow 0.2s;
}

.social-card:hover {
  box-shadow: 0 4px 16px rgba(26, 10, 16, 0.06);
  color: var(--dark);
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.social-icon--yt   { background: #FF0000; color: white; }
.social-icon--fb   { background: #1877F2; color: white; }
.social-icon--ig   { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }

.social-text {
  font-size: 0.9rem;
  color: var(--dark-soft);
  line-height: 1.4;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--grey-light);
  padding: 2.5rem 0;
  font-size: 0.85rem;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--pink-light);
}

.footer-copy { color: var(--grey); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--grey-light);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--pink-light); }

/* --- WhatsApp section (Mummies page) --- */
.whatsapp-section {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: var(--white);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.5rem);
  margin: 2rem 0;
  text-align: center;
}

.whatsapp-section h2 { color: var(--white); }

.whatsapp-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  opacity: 0.95;
}

/* --- Provocation (full width headline) --- */
.provocation {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  line-height: 1.4;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--dark);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .doors {
    grid-template-columns: 1fr;
  }

  .three-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .chanda-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .chanda-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(26, 10, 16, 0.06);
    box-shadow: 0 8px 24px rgba(26, 10, 16, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .tab-buttons {
    flex-wrap: wrap;
  }

  .tab-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* --- Hindi Page Override --- */
body.hindi h1,
body.hindi h2,
body.hindi h3,
body.hindi h4,
body.hindi blockquote,
body.hindi .stat-number,
body.hindi .video-card-title,
body.hindi .pdf-card-title,
body.hindi .whatsapp-section h2,
body.hindi .whatsapp-section p {
  font-family: 'Baloo 2', sans-serif;
}
