/* ═══════════════════════════════════════════════════════
   AARADHY SCHOOL OF KATHAK — Design System
   Soft Feminine · Blush · Rose Gold · Cream
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400;500;600&family=Noto+Serif+Devanagari:wght@300;400;500&display=swap');

:root {
  /* ─ Core Palette ─ */
  --blush:          #F2C4C4;
  --blush-light:    #FAE8E8;
  --blush-deep:     #D4908A;
  --rose-gold:      #C0836A;
  --rose-gold-dark: #9B5E4A;
  --rose-gold-pale: #E8C4B4;
  --cream:          #FDF8F2;
  --cream-warm:     #F7EEE4;
  --parchment:      #EDE0D0;
  --dusty-rose:     #C9A09A;
  --mauve:          #B07A7A;
  --soft-wine:      #7A3D3D;
  --charcoal:       #3A2E2E;
  --warm-black:     #2A1F1F;
  --warm-gray:      #8A7070;
  --sand:           #D4C4B4;

  /* ─ Typography ─ */
  --font-display:  'Playfair Display', Georgia, serif;
  --font-serif:    'Cormorant', Georgia, serif;
  --font-body:     'Jost', sans-serif;
  --font-hindi:    'Noto Serif Devanagari', serif;

  /* ─ Spacing ─ */
  --nav-height: 80px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-warm); }
::-webkit-scrollbar-thumb { background: var(--rose-gold-pale); border-radius: 3px; }

/* ─── GRAIN TEXTURE ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  background: transparent;
}

.nav.scrolled {
  background: rgba(253,248,242,0.94);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(192,131,106,0.12);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.nav-emblem {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-gold-pale), var(--blush));
  border: 1.5px solid var(--rose-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hindi);
  font-size: 1.1rem;
  color: var(--rose-gold-dark);
  font-weight: 500;
  transition: all 0.3s;
  flex-shrink: 0;
}

.nav-brand:hover .nav-emblem {
  background: linear-gradient(135deg, var(--rose-gold), var(--blush-deep));
  color: white;
}

.nav-brand-stack { display: flex; flex-direction: column; line-height: 1; }

.nav-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.nav-subtitle {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dusty-rose);
  font-weight: 500;
  margin-top: 3px;
}

/* Transparent nav variants */
.nav-light .nav-title { color: var(--charcoal); }
.nav-light .nav-subtitle { color: var(--dusty-rose); }
.nav-light.scrolled .nav-title { color: var(--charcoal); }
.nav-light.scrolled .nav-subtitle { color: var(--dusty-rose); }

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

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  padding: 0.5rem 0.85rem;
  border-radius: 2rem;
  transition: all 0.25s;
}

.nav-light .nav-links a { color: var(--charcoal); }
.nav-light.scrolled .nav-links a { color: var(--charcoal); }

.nav-links a:hover,
.nav-links a.active {
  background: var(--blush-light);
  color: var(--rose-gold-dark);
}

.nav-light .nav-links a:hover {
  background: var(--blush-light);
  color: var(--rose-gold-dark);
}
.nav-light.scrolled .nav-links a:hover {
  background: var(--blush-light);
  color: var(--rose-gold-dark);
}

.nav-cta-link {
  background: var(--rose-gold) !important;
  color: white !important;
  padding: 0.55rem 1.3rem !important;
}

.nav-cta-link:hover {
  background: var(--rose-gold-dark) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192,131,106,0.3);
}

.nav-light .nav-cta-link {
  background: var(--rose-gold) !important;
  color: white !important;
  border: none;
}

.nav-light.scrolled .nav-cta-link {
  background: var(--rose-gold) !important;
  color: white !important;
  border: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: 0.3s;
  display: block;
}

.nav-light .nav-toggle span { background: white; }
.nav-light.scrolled .nav-toggle span { background: var(--charcoal); }

/* ─── PAGE HERO (reusable inner-page banner) ─── */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--blush-light) 50%, var(--rose-gold-pale) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(242,196,196,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(232,196,180,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-deco {
  position: absolute;
  font-family: var(--font-hindi);
  font-size: clamp(6rem, 15vw, 14rem);
  color: rgba(192,131,106,0.07);
  font-weight: 500;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}

.page-hero-inner { position: relative; z-index: 1; }

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-hero-tag::before, .page-hero-tag::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--rose-gold);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero h1 em { color: var(--rose-gold); font-style: italic; }

.page-hero p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── SECTION UTILITIES ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

section { padding: 6rem 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-gold);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.section-tag::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--rose-gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-title em { font-style: italic; color: var(--rose-gold); }

.section-subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--warm-gray);
  font-weight: 300;
  max-width: 540px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  padding: 0.9rem 2rem;
}

.btn-primary {
  background: var(--rose-gold);
  color: white;
}

.btn-primary:hover {
  background: var(--rose-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,131,106,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--rose-gold);
  border: 1.5px solid var(--rose-gold);
}

.btn-outline:hover {
  background: var(--rose-gold);
  color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--parchment);
}

.btn-ghost:hover {
  border-color: var(--rose-gold);
  color: var(--rose-gold);
}

.btn svg { transition: transform 0.3s; }
.btn:hover svg { transform: translateX(3px); }

/* ─── DIVIDER ORNAMENT ─── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rose-gold-pale));
}

.ornament::after {
  background: linear-gradient(to left, transparent, var(--rose-gold-pale));
}

.ornament-sym {
  font-size: 1.1rem;
  color: var(--rose-gold);
  opacity: 0.6;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all 0.3s;
  animation: waPulse 3s ease-in-out infinite;
}

.wa-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.wa-float svg { width: 26px; height: 26px; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.65); }
}

/* ─── FOOTER ─── */
footer {
  background: var(--warm-black);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}

.footer-brand-col .footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--rose-gold-pale);
  margin-bottom: 0.25rem;
}

.footer-brand-col .footer-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.2rem;
}

.footer-brand-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--rose-gold-pale);
  font-weight: 500;
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 0.65rem; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s;
}

.footer-col ul li a:hover { color: var(--rose-gold-pale); }

.footer-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all 0.3s;
  text-decoration: none;
}

.footer-social a:hover {
  border-color: var(--rose-gold);
  color: var(--rose-gold);
  background: rgba(192,131,106,0.1);
}

.footer-social a svg { width: 15px; height: 15px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer-bottom a {
  color: rgba(255,255,255,0.25);
  text-decoration: none;
}

.footer-bottom a:hover { color: var(--rose-gold-pale); }

/* ─── MARQUEE ─── */
.marquee-strip {
  background: var(--rose-gold);
  padding: 0.85rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  white-space: nowrap;
}

.marquee-item span {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.marquee-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── RESPONSIVE NAV ─── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(253,248,242,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; padding: 0.75rem 1rem; }
  .nav-toggle { display: flex; }
}

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

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .container { padding: 0 1.5rem; }
  section { padding: 4rem 0; }
}

/* ─── SHARED NAV/FOOTER JS HELPER ─── */
.nav-links a[data-page] { }
