/* 
  Swaranjali Kids - Stylesheet with 5-Video YouTube Gallery & Redesigned Training Section
  Design System: Deep Teal (#072a2e / #0a3a40), Active Emerald (#14b8a6), Gold Accents (#d4af37).
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-header-bg: #072a2e;
  --color-teal-dark: #0a3a40;
  --color-teal-medium: #0f525a;
  --color-teal-light: #f0f7f7;
  --color-accent-teal: #14b8a6;
  --color-accent-teal-hover: #0d9488;
  --color-gold: #d4af37;
  --color-gold-light: #fef08a;
  --color-bg-light: #f8fafc;
  --color-bg-card: #ffffff;
  --color-text-main: #1e293b;
  --color-text-muted: #475569;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --header-height: 72px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(7, 42, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(7, 42, 46, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Anchor Scroll Padding */
section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin-bottom: 48px;
}

/* 1. Sticky Navigation Header (LOCKED) */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-header-bg);
  border-bottom: 2px solid rgba(212, 175, 55, 0.4);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid var(--color-gold);
}

.brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

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

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
  color: #ffffff;
  background-color: var(--color-accent-teal);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(20, 184, 166, 0.4);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  padding: 4px;
}

/* 2. Hero Section (LOCKED) */
.hero-section {
  background: linear-gradient(135deg, #072a2e 0%, #0a3a40 50%, #0f525a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  margin-top: 24px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(212, 175, 55, 0.2);
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-gold);
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero-personal-line {
  font-size: 16px;
  color: #e2e8f0;
  margin-bottom: 28px;
}

.hero-cta-btn {
  display: inline-block;
  background-color: var(--color-accent-teal);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
}

.hero-cta-btn:hover {
  background-color: var(--color-accent-teal-hover);
  transform: translateY(-2px);
}

.hero-image-container {
  background-color: #000000;
  border-radius: var(--radius-md);
  padding: 8px;
  border: 2px solid var(--color-gold);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.hero-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-sm);
  display: block;
}

/* Section Cards General Layout */
.section-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

h2.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-teal-dark);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

h2.section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--color-gold);
  border-radius: 2px;
  margin-top: 8px;
}

/* Two-Column Grid Layout (For Section 1: About Sahasra - LOCKED) */
.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.column-media {
  background-color: #000000;
  border-radius: var(--radius-md);
  padding: 6px;
  border: 1px solid var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.column-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-sm);
  display: block;
}

/* Feature Cards (Section 2: What I Teach - LOCKED) */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.feature-card {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7f7 100%);
  border: 1px solid var(--color-teal-medium);
  border-top: 3px solid var(--color-accent-teal);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.feature-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-teal-dark);
  margin-bottom: 8px;
}

.feature-card-desc {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* MODIFIED SECTION 4: My Training (Image Removed, Single Column Showcase Card) */
.training-card-showcase {
  background: linear-gradient(135deg, #ffffff 0%, #f4f9f9 100%);
  border: 1px solid var(--color-teal-medium);
  border-left: 5px solid var(--color-gold);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.training-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(212, 175, 55, 0.15);
  color: #8f6c0a;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.training-text-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-main);
  max-width: 860px;
}

/* MODIFIED SECTION 5: Photos & Videos -> 5-Video YouTube Gallery Layout */
.gallery-intro-text {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.video-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Featured Main Large Video (TOP) */
.featured-video-card {
  background-color: #072a2e;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}

.featured-video-badge {
  display: inline-block;
  background-color: var(--color-accent-teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.featured-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #000000;
}

.featured-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured-video-caption {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 14px;
  text-align: center;
}

/* 4-Video 2x2 Grid (BELOW) */
.video-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.video-grid-card {
  background-color: #072a2e;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.video-grid-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.video-grid-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #000000;
}

.video-grid-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-grid-caption {
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
  margin-top: 10px;
  text-align: center;
}

/* 6. Want to Join? (LOCKED) */
.contact-section-card {
  background: linear-gradient(135deg, #072a2e 0%, #0a3a40 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

.contact-section-card h2.section-heading {
  color: #ffffff;
}

.contact-section-card h2.section-heading::after {
  background-color: var(--color-gold);
}

.contact-section-card p {
  color: #e2e8f0;
}

.contact-email-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.email-icon {
  font-size: 28px;
  background-color: rgba(20, 184, 166, 0.25);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.email-text {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.email-text a {
  color: var(--color-gold-light);
  text-decoration: underline;
  word-break: break-all;
}

.contact-founder-note {
  font-size: 14px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin-top: 20px;
}

/* 7. Footer (LOCKED) */
footer.site-footer {
  background-color: var(--color-header-bg);
  color: #94a3b8;
  padding: 32px 0;
  text-align: center;
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  margin-top: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--color-gold);
}

.footer-brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

/* Fade-In Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-grid,
  .two-column-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-image {
    height: 320px;
  }

  .column-image {
    height: 320px;
  }

  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 260px;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-header-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 16px;
    gap: 12px;
    box-shadow: -4px 10px 20px rgba(0,0,0,0.3);
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    border-radius: 8px;
    padding: 12px 16px;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-section {
    padding: 36px 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .section-card,
  .training-card-showcase,
  .contact-section-card {
    padding: 28px 20px;
  }

  .video-grid-2x2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
