/* ============================================
   YogaBinds.com — Stylesheet
   Inspired by marchseptember.com
   Theme: Light Forest Green
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --green-darkest: #1a3a2a;
  --green-dark: #2d5e3f;
  --green-mid: #4a7c5c;
  --green-light: #6b9e7a;
  --green-lighter: #a8cdb5;
  --green-lightest: #d4e8da;
  --green-bg: #eef5f0;
  --green-bg-soft: #f5faf6;
  --white: #ffffff;
  --off-white: #fafcfb;
  --text-primary: #1a3a2a;
  --text-secondary: #3d6b4e;
  --text-muted: #6b9e7a;
  --text-light: #a8cdb5;
  --accent: #2d5e3f;
  --accent-hover: #1a3a2a;
  --border: #d4e8da;
  --shadow-sm: 0 1px 3px rgba(26, 58, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(26, 58, 42, 0.1);
  --shadow-lg: 0 8px 30px rgba(26, 58, 42, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --section-padding: 120px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
}

p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: var(--section-padding) 0;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 252, 251, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.navbar-brand span {
  color: var(--green-mid);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-links a.btn-primary {
  color: var(--green-lightest);
}

.navbar-links a.btn-primary:hover {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-darkest);
  color: var(--white);
}

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

.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.78rem;
}

.btn-large {
  padding: 16px 40px;
  font-size: 0.88rem;
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 72px;
  background: linear-gradient(170deg, var(--off-white) 0%, var(--green-bg) 50%, var(--green-lightest) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107, 158, 122, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 94, 63, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-announcement {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green-dark);
  background: var(--green-lightest);
  padding: 8px 20px;
  margin-bottom: 16px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hero-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--green-mid);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  display: block;
}

.hero-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Section Labels & Headers --- */
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  max-width: 600px;
  font-size: 1.1rem;
}

/* --- About Section --- */
.about {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
}

.about-quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--green-mid);
  line-height: 1.5;
  border-left: 3px solid var(--green-lighter);
  padding-left: 24px;
  margin-top: 40px;
}

.about-image {
  width: 105%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Philosophy Section --- */
.philosophy {
  background: var(--green-bg-soft);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.philosophy-card {
  padding: 0;
}

.philosophy-card-number {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.philosophy-card p {
  font-size: 0.98rem;
  color: var(--text-secondary);
}

/* --- Origin Section --- */
.origin {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.origin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('gallery/11.JPG');
  background-size: contain;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.origin .container {
  position: relative;
  z-index: 1;
}

.origin .section-header {
  margin-bottom: 24px;
}

.origin-content {
  max-width: 1200px;
}

.origin-content p {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.origin-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.origin-timeline {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.timeline-marker {
  width: 7px;
  height: 7px;
  background: var(--green-mid);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.timeline-text h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-text p {
  font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(170deg, var(--green-darkest), var(--green-dark));
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  color: var(--green-lighter);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--green-darkest);
}

.cta-section .btn-primary:hover {
  background: var(--green-lightest);
}

/* --- Footer --- */
.footer {
  background: var(--green-darkest);
  color: var(--green-lighter);
  padding: 80px 0 40px;
}

.footer-brand-section {
  margin-bottom: 40px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(168, 205, 181, 0.2);
  margin-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--green-lighter);
  line-height: 1.7;
  max-width: 300px;
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  font-size: 0.92rem;
  color: var(--green-lighter);
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(168, 205, 181, 0.2);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--green-light);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--green-light);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 58, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--white);
  width: 100%;
  max-width: 440px;
  padding: 48px 40px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  background: var(--green-bg-soft);
  color: var(--text-primary);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus {
  border-color: var(--green-mid);
}

.form-group input::placeholder {
  color: var(--text-light);
}

.modal .btn {
  width: 100%;
  margin-top: 8px;
}

.modal-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-switch a {
  font-weight: 600;
  color: var(--green-dark);
}

.modal-switch a:hover {
  color: var(--green-darkest);
}

/* --- Programmes Page (Landing) --- */
.programmes-hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(170deg, var(--off-white) 0%, var(--green-bg) 100%);
  text-align: center;
}

.programmes-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 16px;
}

.programmes-hero p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.programmes-grid-section {
  padding: 80px 0 120px;
  background: var(--white);
}

.programmes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.programme-card {
  border: 1.5px solid var(--border);
  padding: 48px 40px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.programme-card:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-md);
}

.programme-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.programme-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.programme-card .price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.programme-card .price-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.programme-card p {
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.programme-card .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 16px;
}

.programme-card .btn {
  width: 100%;
}

/* --- Policy Pages --- */
.policy-page {
  padding-top: 140px;
  padding-bottom: 100px;
  min-height: 100vh;
}

.policy-content {
  max-width: 720px;
}

.policy-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.policy-content .policy-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 48px;
}

.policy-content h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.policy-content p {
  margin-bottom: 16px;
}

.policy-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.policy-content ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 8px;
}

.contact-info p {
  margin-bottom: 24px;
}

.contact-info-item {
  margin-bottom: 32px;
}

.contact-info-item .label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  background: var(--green-bg-soft);
  color: var(--text-primary);
  transition: border-color 0.3s ease;
  outline: none;
  resize: vertical;
  min-height: 140px;
}

.contact-form textarea:focus {
  border-color: var(--green-mid);
}

/* --- User Greeting Bar --- */
.user-bar {
  background: var(--green-bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.user-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-bar a {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Success Message --- */
.success-message {
  background: var(--green-lightest);
  border: 1px solid var(--green-lighter);
  color: var(--green-dark);
  padding: 16px 24px;
  font-size: 0.95rem;
  margin-bottom: 24px;
  display: none;
}

.success-message.show {
  display: block;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .container {
    padding: 0 24px;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--off-white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .navbar-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    gap: 32px;
    flex-wrap: wrap;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .modal {
    margin: 16px;
    padding: 36px 28px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
}
