/* ==========================================================================
   DIVYA SAASHA — OFFICIAL DIGITAL SPACE
   Design System & Global Styles
   ========================================================================== */

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

:root {
  /* Color System */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F3EFEA;
  --bg-tertiary: #EAE3D9;
  --bg-dark: #0E1013;
  --bg-dark-card: #15181E;
  --bg-dark-subtle: #1C2028;
  
  --text-dark: #111418;
  --text-muted: #575E6A;
  --text-light-muted: #8F97A3;
  --text-light: #FDFEFE;
  --text-light-sub: #D1D5DB;

  --accent-gold: #C5A059;
  --accent-gold-light: #DFC285;
  --accent-gold-dark: #9E7B3B;
  --accent-terracotta: #A46343;
  --accent-terracotta-soft: rgba(164, 99, 67, 0.12);
  
  --border-light: rgba(17, 20, 24, 0.08);
  --border-medium: rgba(17, 20, 24, 0.16);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-gold: rgba(197, 160, 89, 0.35);

  /* Typography */
  --font-serif-display: 'Cinzel', Georgia, serif;
  --font-serif-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --container-max: 1320px;
  --container-narrow: 1040px;
  --container-editorial: 840px;
  --section-padding: clamp(4.5rem, 8vw, 8rem);
  --section-padding-sm: clamp(3rem, 5vw, 5rem);
  
  /* Transitions */
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 0.35s;
  --duration-slow: 0.65s;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.18);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Media & Images Base */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Global Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-editorial {
  max-width: var(--container-editorial);
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-display);
  font-weight: 600;
  line-height: 1.22;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.font-editorial {
  font-family: var(--font-serif-editorial);
}

.font-sans {
  font-family: var(--font-sans);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-gold-dark);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background-color: var(--accent-gold);
}

.lead-text {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-family: var(--font-serif-editorial);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.7;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-normal) ease;
}

.site-header.scrolled {
  background: rgba(250, 248, 245, 0.98);
  box-shadow: var(--shadow-sm);
  padding: 0.25rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-dark);
}

.brand-title {
  font-family: var(--font-serif-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  line-height: 1.1;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--duration-normal) ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--duration-normal) var(--transition-smooth);
}

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

.nav-cta-btn {
  padding: 0.65rem 1.4rem;
  background-color: var(--bg-dark);
  color: var(--text-light) !important;
  border-radius: 30px;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--duration-normal) ease;
}

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

.nav-cta-btn:hover {
  background-color: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1010;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: all var(--duration-normal) ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--duration-normal) var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--bg-dark);
}

.btn-primary:hover {
  background-color: var(--accent-gold-dark);
  border-color: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--text-dark);
  background-color: rgba(17, 20, 24, 0.04);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #FFFFFF;
  border: none;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Editorial Sections Base */
.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark .text-muted {
  color: var(--text-light-muted);
}

.section-soft {
  background-color: var(--bg-secondary);
}

/* Privacy & Child-Sensitive Notice Tag */
.notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border-gold);
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-gold-dark);
  margin-bottom: 1.25rem;
}

.notice-pill svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Standard Page Banner / Header */
.page-hero {
  padding: calc(80px + var(--section-padding-sm)) 0 var(--section-padding-sm);
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.page-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-family: var(--font-serif-editorial);
  font-size: clamp(1.125rem, 2vw, 1.4rem);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

/* Quote Cards & Editorial Accents */
.editorial-quote {
  border-left: 3px solid var(--accent-gold);
  padding-left: 1.75rem;
  margin: 2rem 0;
  font-family: var(--font-serif-editorial);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
}

.section-dark .editorial-quote {
  color: var(--text-light-sub);
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light-sub);
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 4rem;
}

.footer-brand .brand-title {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand .brand-sub {
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  line-height: 1.7;
  max-width: 340px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color var(--duration-normal) ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact-info {
  font-size: 0.875rem;
  color: var(--text-light-muted);
  line-height: 1.8;
}

.footer-contact-info a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--duration-normal) ease;
}

.footer-contact-info a:hover {
  color: var(--accent-gold);
}

.contact-meta-item {
  margin-bottom: 0.75rem;
}

.contact-meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 0.2rem;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-light-muted);
}

.footer-credit a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--duration-normal) ease;
}

.footer-credit a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Responsive Navigation Styles */
@media (max-width: 991px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85vw, 380px);
    height: 100vh;
    background-color: var(--bg-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2.5rem 3rem;
    gap: 1.5rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right var(--duration-normal) var(--transition-smooth);
    z-index: 1005;
    overflow-y: auto;
  }

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

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.75rem;
  }

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
