/*
Theme Name: Yogisthana
Theme URI: https://yogisthana.com
Author: Deborked
Author URI: https://deborked.com
Description: A storytelling theme for Yogisthana yoga and meditation practice
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: yogisthana
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --teal: #3AAFA9;
  --teal-deep: #2B7A78;
  --teal-pale: #DEF2F1;
  --navy: #17252A;
  --navy-light: #2B3A40;
  --coral: #D4785C;
  --coral-soft: #E8956F;
  --text: #333840;
  --text-muted: #7A8189;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(23, 37, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(23, 37, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(23, 37, 42, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ========== TYPOGRAPHY ========== */
.display-font {
  font-family: 'Playfair Display', Georgia, serif;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

/* ========== NAV ========== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.7rem 3rem;
}

.nav-logo img {
  width: 220px;
  height: auto;
  transition: width 0.3s;
}
.site-nav.scrolled .nav-logo img {
  width: 180px;
}

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

.nav-menu a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  transition: color 0.3s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s;
}
.nav-menu a:hover { color: var(--teal-deep); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--teal-deep) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 5rem 5rem 6rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--teal);
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--teal-deep);
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 175, 169, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  padding: 0.9rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s;
}
.btn-ghost:hover { color: var(--teal-deep); }

.hero-photo {
  position: relative;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== PHOTO BREAK (full-width parallax) ========== */
.photo-break {
  height: 60vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.photo-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--cream) 0%,
    transparent 15%,
    transparent 85%,
    var(--cream) 100%
  );
}

/* ========== STORY SECTIONS ========== */
.story-section {
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.story-row.reverse { direction: rtl; }
.story-row.reverse > * { direction: ltr; }

.story-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.story-photo:hover img {
  transform: scale(1.03);
}

.story-content {
  padding: 2rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.story-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.story-content p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* ========== DISCIPLINES SECTION ========== */
.disciplines-section {
  background: var(--navy);
  padding: 7rem 3rem;
  color: var(--white);
}

.disciplines-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.disciplines-header {
  text-align: center;
  margin-bottom: 4rem;
}
.disciplines-header .eyebrow {
  color: var(--teal);
}
.disciplines-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.disciplines-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto;
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
}

.disc-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.disc-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--teal);
  transform: translateY(-4px);
}

.disc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.disc-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.disc-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ========== SERVICES / OFFERINGS ========== */
.offerings-section {
  padding: 7rem 3rem;
  background: var(--cream);
}

.offerings-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.offerings-header {
  text-align: center;
  margin-bottom: 4rem;
}
.offerings-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.offerings-header p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.offer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.offer-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.offer-card-img {
  height: 220px;
  overflow: hidden;
}
.offer-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.offer-card:hover .offer-card-img img {
  transform: scale(1.05);
}

.offer-card-body {
  padding: 1.8rem;
}
.offer-card-body h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.offer-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== PRICING ========== */
.pricing-section {
  padding: 7rem 3rem;
  background: var(--teal-pale);
}

.pricing-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.pricing-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.pricing-header p {
  color: var(--text-muted);
}

.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.price-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  border-color: var(--teal);
  position: relative;
}
.price-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 100px;
}

.price-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1rem;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.price-amount span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-per {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.price-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========== CTA SECTION ========== */
.cta-section {
  padding: 7rem 3rem;
  text-align: center;
  background: var(--cream);
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-logo {
  width: 200px;
  margin: 0 auto 2rem;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.4);
  padding: 3rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand img {
  height: 36px;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--teal); }

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== MOBILE ========== */
@media (max-width: 900px) {
  .site-nav { padding: 1rem 1.5rem; }
  .site-nav.scrolled { padding: 0.7rem 1.5rem; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text {
    padding: 7rem 2rem 3rem;
    order: 2;
  }
  .hero-photo {
    order: 1;
    height: 50vh;
  }

  .story-row,
  .story-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
  .story-section { padding: 4rem 1.5rem; }
  .story-photo { aspect-ratio: 4/3; }

  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .photo-break {
    height: 40vh;
    background-attachment: scroll;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

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

@media (max-width: 500px) {
  .pricing-table { grid-template-columns: 1fr; }
  .disciplines-grid { grid-template-columns: 1fr; }
}

/* ========== WP DEFAULTS ========== */
.wp-block-image img { border-radius: var(--radius); }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
