/* =========================
   ROOT VARIABLES
========================= */
:root {
  --primary-gradient: linear-gradient(135deg, #7FA650 0%, #6B8F3E 100%);
  --primary: #7FA650;
  --primary-dark: #6B8F3E;
  --accent: #e07a2f;

  --bg-light: #faf7f2;
  --bg-white: #ffffff;

  --text-dark: #1f2f28;
  --text-muted: #5f6f66;

  --footer-bg: #3f5560;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BASE TYPOGRAPHY
========================= */
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  line-height: 1.65;
  background: var(--bg-white);
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.25rem; }

p {
  font-size: 1rem;
  color: #444;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 90px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

/* =========================
   BUTTON SYSTEM
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Primary */
.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
}

/* Accent */
.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

/* Light */
.btn-light {
  background: #ffffff;
  color: var(--text-dark);
}

/* Outline */
.btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}

/* =========================
   COMMON UTILITIES
========================= */
.section-title {
  text-align: center;
  font-size: 2.4rem;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 12px auto 50px;
  color: var(--text-muted);
}

/* =========================
   RESPONSIVE TYPE TWEAKS
========================= */
@media (max-width: 600px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.8rem; }

  .btn {
    width: 100%;
  }
}

/* ===== BASE HERO STRUCTURE ===== */
.page-hero,
.about-hero,
.blog-hero,
.appointment-hero,
.gallery-hero,
.panchakarma-hero,
.success-hero,
.contact-hero,
.therapy-hero {
  position: relative;
  min-height: 70vh;
  width: 100%;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* background image */
.page-hero img,
.about-hero img,
.blog-hero img,
.appointment-hero img,
.gallery-hero img,
.panchakarma-hero img,
.success-hero img,
.contact-hero img,
.therapy-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* dark overlay */
.page-hero::before,
.about-hero::before,
.blog-hero::before,
.appointment-hero::before,
.gallery-hero::before,
.panchakarma-hero::before,
.success-hero::before,
.contact-hero::before,
.therapy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

/* text layer */
.hero-overlay,
.about-hero-overlay,
.blog-hero-overlay,
.appointment-hero-overlay,
.gallery-hero-overlay,
.hero-overlay,
.success-hero-overlay,
.contact-hero-overlay,
.therapy-hero-overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 900px;
}

