/* ═══════════════════════════════════════════════════════
   TATVIKA YOGA — DESIGN SYSTEM
   Palette: sage green · terracotta · warm white · muted gold
═══════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --clr-sage:        #7a9e7e;
  --clr-sage-light:  #a8c4a2;
  --clr-sage-dark:   #4e7055;
  --clr-terra:       #c0614a;
  --clr-terra-light: #d4816d;
  --clr-terra-dark:  #9a3f2c;
  --clr-gold:        #c8a96e;
  --clr-gold-light:  #e0c99a;
  --clr-gold-dark:   #9e7c42;
  --clr-cream:       #faf6ef;
  --clr-warm-white:  #f5f0e8;
  --clr-brown:       #6b4c3b;
  --clr-brown-light: #8d6e63;
  --clr-dark:        #1e1b18;
  --clr-text:        #3d352d;
  --clr-text-light:  #6b5e52;
  --clr-border:      rgba(122,158,126,0.2);

  --ff-serif:  'Cormorant Garamond', Georgia, serif;
  --ff-sans:   'DM Sans', system-ui, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.375rem;
  --fs-2xl:  1.75rem;
  --fs-3xl:  2.25rem;
  --fs-4xl:  3rem;
  --fs-5xl:  4rem;
  --fs-6xl:  5.5rem;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 8px rgba(30,27,24,0.08);
  --shadow-md:  0 8px 30px rgba(30,27,24,0.12);
  --shadow-lg:  0 20px 60px rgba(30,27,24,0.18);
  --shadow-xl:  0 30px 90px rgba(30,27,24,0.25);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--ff-sans);
  background: var(--clr-cream);
  color: var(--clr-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILITIES ────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}
.section-pad { padding: clamp(5rem, 10vw, 9rem) 0; }

.section-eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-sage-dark);
  margin-bottom: 0.75rem;
}
.section-eyebrow.light { color: var(--clr-gold-light); }

.section-heading {
  font-family: var(--ff-serif);
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
  font-weight: 600;
  line-height: 1.1;
  color: var(--clr-dark);
  margin-bottom: 1.25rem;
}
.section-heading em {
  font-style: italic;
  color: var(--clr-terra);
}
.section-heading.light { color: var(--clr-warm-white); }
.section-heading.light em { color: var(--clr-gold-light); }

.section-sub {
  font-size: var(--fs-lg);
  color: var(--clr-text-light);
  line-height: 1.75;
  max-width: 640px;
}
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header .section-sub { margin: 0 auto; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--clr-terra);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  font-weight: 500;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--clr-terra);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-terra-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
  z-index: 0;
}
.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary span, .btn-primary { z-index: 1; }
.btn-primary:hover { border-color: var(--clr-terra-dark); box-shadow: 0 8px 24px rgba(192,97,74,0.35); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 500;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-card {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-terra);
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}
.btn-card:hover { border-color: var(--clr-terra); gap: 0.25rem; color: var(--clr-terra-dark); }

.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 0.6rem 1.5rem; font-size: var(--fs-sm); }

/* ── SCROLL ANIMATIONS ────────────────────────────────── */
.fade-in {
  animation: fadeInUp 1s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.15s; }
.reveal:nth-child(6) { transition-delay: 0.25s; }
.reveal:nth-child(7) { transition-delay: 0.35s; }

/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 1.25rem 0;
  transition: all var(--transition);
}
#navbar.scrolled {
  background: rgba(250,246,239,0.96);
  backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(30,27,24,0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.logo-symbol {
  font-size: 1.5rem;
  color: var(--clr-gold);
  line-height: 1;
}
.logo-text {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clr-dark);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
#navbar:not(.scrolled) .logo-text { color: #fff; }
#navbar:not(.scrolled) .logo-symbol { color: var(--clr-gold-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.nav-links li a {
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
#navbar:not(.scrolled) .nav-links li a { color: rgba(255,255,255,0.9); }
.nav-links li a:hover { color: var(--clr-terra); background: rgba(192,97,74,0.07); }
#navbar:not(.scrolled) .nav-links li a:hover { color: #fff; background: rgba(255,255,255,0.15); }

.btn-nav-cta {
  background: var(--clr-terra) !important;
  color: #fff !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 500 !important;
  transition: all var(--transition) !important;
  border: 2px solid var(--clr-terra) !important;
}
.btn-nav-cta:hover {
  background: var(--clr-terra-dark) !important;
  border-color: var(--clr-terra-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,97,74,0.3) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
#navbar:not(.scrolled) .nav-hamburger span { background: #fff; }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(20,16,12,0.55) 0%,
    rgba(30,27,24,0.65) 40%,
    rgba(78,112,85,0.4) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
  max-width: 820px;
  margin-top: 4rem;
}
.hero-eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--clr-gold-light);
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.9s 0.2s both;
}
.hero-headline {
  font-family: var(--ff-serif);
  font-size: clamp(var(--fs-4xl), 8vw, var(--fs-6xl));
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.9s 0.3s both;
}
.hero-headline em {
  font-style: italic;
  color: var(--clr-gold-light);
}
.hero-sub {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 2.25rem;
  animation: fadeInUp 0.9s 0.45s both;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.6s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
  animation: fadeInUp 0.9s 0.75s both;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--ff-serif);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--clr-gold-light);
  line-height: 1;
}
.stat-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  animation: fadeInUp 1s 1s both;
}
.scroll-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2.5s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   DIVIDERS
═══════════════════════════════════════════════════════ */
.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  overflow: hidden;
}
.divider-svg { width: 100%; max-width: 500px; height: 40px; }

/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
.about { background: var(--clr-warm-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.about-photo-col { position: relative; }
.about-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}
.about-photo-frame:hover .about-photo { transform: scale(1.04); }

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  background: var(--clr-dark);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 200px;
}
.badge-top {
  display: block;
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--clr-gold-light);
  line-height: 1.2;
}
.badge-mid {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.35rem;
}

.about-credentials {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--clr-text-light);
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--clr-sage);
}
.cred-icon { flex-shrink: 0; font-size: 1rem; margin-top: 1px; }

.about-text-col { padding-top: 1rem; }
.about-bio {
  font-size: var(--fs-lg);
  line-height: 1.8;
  color: var(--clr-text-light);
  margin-bottom: 1.25rem;
}
.about-bio strong { color: var(--clr-terra); font-weight: 600; }

.about-quote {
  border-left: 3px solid var(--clr-gold);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: rgba(200,169,110,0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.about-quote p {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-style: italic;
  color: var(--clr-brown);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.about-quote cite {
  font-size: var(--fs-sm);
  font-style: normal;
  font-weight: 500;
  color: var(--clr-gold-dark);
  letter-spacing: 0.08em;
}

.about-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0;
}
.spec-tag {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(122,158,126,0.12);
  color: var(--clr-sage-dark);
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}
.spec-tag:hover {
  background: var(--clr-sage-dark);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════
   CLASSES
═══════════════════════════════════════════════════════ */
.classes { background: var(--clr-cream); }
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.75rem;
}
.class-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(122,158,126,0.1);
}
.class-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.class-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.class-card-img img {
  transition: transform var(--transition-slow);
}
.class-card:hover .class-card-img img { transform: scale(1.08); }
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(30,27,24,0.4) 100%);
}
.class-card-body {
  padding: 1.5rem;
}
.class-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.class-card-body h3 {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.class-card-body p {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

/* ═══════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════ */
.gallery { background: var(--clr-warm-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item.tall { grid-row: span 2; aspect-ratio: unset; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  transition: transform var(--transition-slow);
}
.gallery-item:hover img { transform: scale(1.08); }
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,27,24,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════ */
.testimonials {
  position: relative;
  background: var(--clr-dark);
  overflow: hidden;
}
.testimonials-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(122,158,126,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(200,169,110,0.08) 0%, transparent 50%);
}
.testimonials .section-eyebrow { color: var(--clr-sage-light); }
.testimonials .section-heading { color: #fff; }
.testimonials .section-heading em { color: var(--clr-gold-light); }

.testimonials-slider {
  overflow: hidden;
  position: relative;
}
.testi-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.testi-card {
  min-width: calc(50% - 0.75rem);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  transition: all var(--transition);
}
.testi-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,169,110,0.3);
}
.testi-stars {
  font-size: 1.1rem;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.1em;
}
.testi-quote {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-size: var(--fs-base);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.2rem;
}
.testi-author span {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.testi-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}
.testi-btn:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  background: rgba(200,169,110,0.1);
}
.testi-dots { display: flex; gap: 0.5rem; }
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all var(--transition);
}
.testi-dot.active {
  width: 24px;
  background: var(--clr-gold);
}

/* ═══════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════ */
.blog { background: var(--clr-cream); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(122,158,126,0.08);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-card-img img { transition: transform var(--transition-slow); }
.blog-card:hover .blog-card-img img { transform: scale(1.07); }
.blog-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--clr-terra);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}
.blog-card-body { padding: 1.75rem; }
.blog-card-body h3 {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--clr-dark);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}
.blog-card:hover .blog-card-body h3 { color: var(--clr-terra); }
.blog-card-body p {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.blog-read-more {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-terra);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  padding-bottom: 1px;
}
.blog-read-more:hover { border-color: var(--clr-terra); color: var(--clr-terra-dark); }

/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact {
  position: relative;
  overflow: hidden;
}
.contact-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-bg-image img {
  object-position: center center;
  filter: saturate(0.6);
}
.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20,16,12,0.88) 0%,
    rgba(30,27,24,0.82) 50%,
    rgba(78,112,85,0.75) 100%
  );
}
.contact > .container {
  position: relative;
  z-index: 1;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-info { padding-top: 1rem; }
.contact-tagline {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 420px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail-item strong {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.25rem;
}
.contact-detail-item a,
.contact-detail-item span {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.contact-detail-item a:hover { color: var(--clr-gold-light); }

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover {
  background: var(--clr-terra);
  border-color: var(--clr-terra);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(192,97,74,0.35);
}
.social-btn.small {
  width: 38px;
  height: 38px;
}
.social-btn.small svg { width: 16px; height: 16px; }

/* Contact Form */
.contact-form-col {
  position: relative;
}
.contact-form {
  background: rgba(250,246,239,0.96);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.3);
}
.contact-form h3 {
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--clr-dark);
  margin-bottom: 1.75rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-light);
}
input, select, textarea {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  color: var(--clr-text);
  background: #fff;
  border: 1.5px solid rgba(122,158,126,0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: all var(--transition);
  outline: none;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--clr-sage);
  box-shadow: 0 0 0 3px rgba(122,158,126,0.15);
}
select { appearance: none; cursor: pointer; }
textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: var(--fs-xs);
  color: var(--clr-text-light);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}
.form-success {
  background: rgba(250,246,239,0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(122,158,126,0.3);
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 {
  font-family: var(--ff-serif);
  font-size: var(--fs-2xl);
  color: var(--clr-dark);
  margin-bottom: 0.75rem;
}
.form-success p {
  color: var(--clr-text-light);
  font-size: var(--fs-lg);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer { background: var(--clr-dark); }
.footer-top { padding: clamp(3rem, 6vw, 5rem) 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.footer-brand .nav-logo {
  margin-bottom: 1.25rem;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-symbol { color: var(--clr-gold); }
.footer-tagline {
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
  font-style: italic;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-brand .social-links .social-btn {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
}

.footer-nav-col h4 {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav-col ul li a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-nav-col ul li a:hover { color: var(--clr-gold-light); }

.footer-contact-col h4 {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
}
.footer-contact-col p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.footer-contact-col p a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-contact-col p a:hover { color: var(--clr-gold-light); }
.footer-cta { margin-top: 1.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-item.wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact-col { grid-column: span 2; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-frame { max-width: 400px; }
  .about-badge { left: auto; right: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .testi-card { min-width: calc(100% - 0); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(250,246,239,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { color: var(--clr-text) !important; }
  .nav-hamburger { display: flex; }
  #navbar { position: fixed; }
  
  .hero-headline { font-size: clamp(2.5rem, 10vw, var(--fs-4xl)); }
  .hero-stats { gap: 1rem; }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }
  .gallery-item.wide { grid-column: span 2; }
  
  .classes-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact-col { grid-column: auto; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-stats .stat-divider { display: none; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: auto; }
  .about-badge { position: static; margin-top: 1rem; max-width: 100%; }
  .hero-scroll { display: none; }
}

/* ═══════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
═══════════════════════════════════════════════════════ */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}
#navbar.scrolled .theme-toggle {
  border-color: var(--clr-border);
  background: rgba(255,255,255,0.5);
}
.theme-toggle:hover {
  background: var(--clr-terra);
  border-color: var(--clr-terra);
  transform: rotate(15deg) scale(1.1);
}

/* ═══════════════════════════════════════════════════════
   DARK MODE — [data-theme="dark"]
═══════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --clr-cream:       #1a1714;
  --clr-warm-white:  #211f1b;
  --clr-dark:        #0d0c0a;
  --clr-text:        #e8e0d5;
  --clr-text-light:  #a89d8e;
  --clr-border:      rgba(200,169,110,0.15);
}

/* Dark navbar (scrolled) */
[data-theme="dark"] #navbar.scrolled {
  background: rgba(26,23,20,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.45);
}
[data-theme="dark"] .logo-text { color: var(--clr-text) !important; }

/* Dark nav links */
[data-theme="dark"] #navbar.scrolled .nav-links li a { color: var(--clr-text-light) !important; }
[data-theme="dark"] #navbar.scrolled .nav-links li a:hover { color: var(--clr-terra) !important; }

/* Dark mobile menu */
[data-theme="dark"] .nav-links {
  background: rgba(26,23,20,0.98) !important;
}
[data-theme="dark"] .nav-links li a { color: var(--clr-text) !important; }

/* Dark sections */
[data-theme="dark"] .about { background: var(--clr-warm-white); }
[data-theme="dark"] .classes { background: var(--clr-cream); }
[data-theme="dark"] .gallery { background: var(--clr-warm-white); }
[data-theme="dark"] .blog { background: var(--clr-cream); }

/* Dark section headings */
[data-theme="dark"] .section-heading { color: var(--clr-text); }
[data-theme="dark"] .section-eyebrow { color: var(--clr-sage-light); }
[data-theme="dark"] .section-sub { color: var(--clr-text-light); }

/* Dark cards */
[data-theme="dark"] .class-card {
  background: #2a2620;
  border-color: rgba(200,169,110,0.12);
}
[data-theme="dark"] .class-card-body h3 { color: var(--clr-text); }
[data-theme="dark"] .class-card-body p { color: var(--clr-text-light); }

[data-theme="dark"] .blog-card {
  background: #2a2620;
  border-color: rgba(200,169,110,0.1);
}
[data-theme="dark"] .blog-card-body h3 { color: var(--clr-text); }
[data-theme="dark"] .blog-card-body p { color: var(--clr-text-light); }

/* Dark about section */
[data-theme="dark"] .about-bio { color: var(--clr-text-light); }
[data-theme="dark"] .about-quote { background: rgba(200,169,110,0.06); }
[data-theme="dark"] .about-quote p { color: var(--clr-gold-light); }
[data-theme="dark"] .cred-item {
  background: #2a2620;
  color: var(--clr-text-light);
}

/* Dark contact form */
[data-theme="dark"] .contact-form {
  background: rgba(34,30,26,0.97);
  border-color: rgba(200,169,110,0.2);
}
[data-theme="dark"] .contact-form h3 { color: var(--clr-text); }
[data-theme="dark"] label { color: var(--clr-text-light); }
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: #1e1b17;
  color: var(--clr-text);
  border-color: rgba(200,169,110,0.2);
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: var(--clr-text-light); opacity: 0.6; }
[data-theme="dark"] .form-success {
  background: rgba(34,30,26,0.98);
}
[data-theme="dark"] .form-success h3 { color: var(--clr-text); }
[data-theme="dark"] .form-success p { color: var(--clr-text-light); }

/* Dark dividers */
[data-theme="dark"] .section-divider { opacity: 0.6; }

/* Smooth mode transition */
body {
  transition: background-color 0.4s ease, color 0.4s ease;
}
[data-theme="dark"] body {
  background: var(--clr-cream);
  color: var(--clr-text);
}
