/* ==========================================================================
   Sat Hamsa Yoga & Pilates — style.css
   Spiritual/Sanskrit-inspired palette: warm golds (#D4A843, #F5E6C8) + deep indigos (#1B1464, #2D2B55)
   ========================================================================== */

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

:root {
  --gold: #D4A843;
  --gold-light: #F5E6C8;
  --gold-dark: #B8922E;
  --indigo: #1B1464;
  --indigo-mid: #2D2B55;
  --indigo-light: #3F3D70;
  --cream: #FFF9F0;
  --text: #2A2A2A;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(27,20,100,.12);
  --radius: 12px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --max-w: 1200px;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
ul, ol { padding-left: 1.4em; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--indigo);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .6em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: .5em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: .4em; }
p { margin-bottom: 1em; }

/* ---------- Utility ---------- */
.container { width: 92%; max-width: var(--max-w); margin: 0 auto; }
.section { padding: 5rem 0; }
.section--alt { background: var(--white); }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.btn {
  display: inline-block;
  padding: .9em 2.2em;
  background: var(--gold);
  color: var(--indigo);
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .95rem;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--gold-light); }
.btn--outline:hover { background: var(--gold); color: var(--indigo); }

/* ---------- Fade-in ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(27,20,100,.95);
  backdrop-filter: blur(10px);
  padding: .7rem 0;
  transition: background var(--transition);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; list-style: none; gap: 1.6rem; align-items: center; }
.nav__links a {
  color: var(--gold-light);
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  padding: .2em 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a:hover { color: var(--gold); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
.burger span { display: block; width: 26px; height: 2px; background: var(--gold-light); transition: var(--transition); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,20,100,.82);
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; max-width: 800px; padding: 2rem; }
.hero__content h1 { color: var(--gold-light); font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: .3em; }
.hero__content .hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--gold-light);
  opacity: .9;
  margin-bottom: 2rem;
  font-style: italic;
}
.hero__content .hero__om {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page heroes (smaller) */
.hero--page { min-height: 50vh; }
.hero--page h1 { font-size: clamp(1.8rem, 5vw, 3rem); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(27,20,100,.18); }
.card__img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.card__body { padding: 1.6rem; }
.card__body h3 { color: var(--indigo); }
.card__body p { color: var(--text-light); font-size: .95rem; }

/* ---------- Features / Icon Boxes ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.feature-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.feature-box:hover { transform: translateY(-4px); }
.feature-box__icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-box h3 { margin-bottom: .5rem; }
.feature-box p { color: var(--text-light); font-size: .93rem; }

/* ---------- Two-col layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.two-col__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.two-col__img img { width: 100%; height: 100%; object-fit: cover; min-height: 350px; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--indigo);
  color: var(--gold-light);
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--gold);
  opacity: .3;
  position: absolute;
  top: .2em; left: .4em;
  font-family: Georgia, serif;
}
.testimonial p { position: relative; z-index: 1; font-style: italic; margin-bottom: 1rem; }
.testimonial__author { color: var(--gold); font-weight: 700; font-style: normal; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform var(--transition);
}
.price-card:hover { transform: translateY(-4px); }
.price-card--featured {
  border-top-color: var(--indigo);
  background: var(--indigo);
  color: var(--gold-light);
}
.price-card--featured h3 { color: var(--gold); }
.price-card--featured .price { color: var(--gold-light); }
.price { font-size: 2.5rem; font-weight: 700; color: var(--indigo); margin: 1rem 0; }
.price span { font-size: 1rem; font-weight: 400; }
.price-card ul { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.price-card li { padding: .5rem 0; border-bottom: 1px solid rgba(0,0,0,.06); padding-left: 1.5rem; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.price-card--featured li { border-bottom-color: rgba(255,255,255,.1); }

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  margin-bottom: .4rem;
  font-weight: 600;
  color: var(--indigo);
  font-size: .93rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .85rem 1rem;
  border: 2px solid #e0d8cc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--cream);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 150px; resize: vertical; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-5px); }
.blog-card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.blog-card__body { padding: 1.5rem; }
.blog-card__date { font-size: .82rem; color: var(--text-light); margin-bottom: .5rem; }
.blog-card__body h3 a { color: var(--indigo); }
.blog-card__body h3 a:hover { color: var(--gold-dark); }

/* Blog article */
.article { max-width: 820px; margin: 0 auto; }
.article h2 { margin-top: 2rem; }
.article h3 { margin-top: 1.5rem; color: var(--indigo-mid); }
.article img {
  border-radius: var(--radius);
  margin: 2rem 0;
  box-shadow: var(--shadow);
  width: 100%;
}
.article blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--indigo-mid);
}
.article ul, .article ol { margin-bottom: 1.2em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--indigo);
  color: var(--gold-light);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-col h4 { color: var(--gold); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: var(--gold-light); opacity: .85; }
.footer-col a:hover { opacity: 1; color: var(--gold); }
.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212,168,67,.2);
  font-size: .85rem;
  opacity: .7;
}

/* ---------- Sitemap Page ---------- */
.sitemap-list { list-style: none; padding: 0; }
.sitemap-list li { padding: .5rem 0; }
.sitemap-list li a { font-size: 1.05rem; }
.sitemap-list ul { padding-left: 1.5rem; margin-top: .3rem; }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-404 h1 { font-size: 6rem; color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col--reverse .two-col__img { order: -1; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--indigo);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right var(--transition);
    box-shadow: -5px 0 30px rgba(0,0,0,.3);
  }
  .nav__links.open { right: 0; }
  .burger { display: flex; }
  .hero__content h1 { font-size: 2rem; }
  .section { padding: 3rem 0; }
  .card-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { min-height: 85vh; }
  .hero--page { min-height: 40vh; }
  .contact-form { padding: 1.5rem; }
}
