/*
Theme Name: YogaLifeeCare
Theme URI: https://www.yogalifeecare.online
Author: YogaLifeeCare
Author URI: https://www.yogalifeecare.online
Description: One-page WordPress theme for yoga studios. Home, About, Services, and Contact. Language: English.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yogalifeecare
Tags: one-page, custom-menu, featured-images, translation-ready
*/

:root {
  --bg: #eef4f2;
  --bg-alt: #e2ebe8;
  --bg-panel: #f7faf9;
  --ink: #102823;
  --ink-soft: #3a524c;
  --muted: #6b807a;
  --teal: #1a7a6d;
  --teal-deep: #0d4a42;
  --teal-glow: rgba(26, 122, 109, 0.14);
  --gold: #c4a35a;
  --line: rgba(16, 40, 35, 0.12);
  --header-h: 76px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  color: var(--teal);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section {
  padding: 100px 0;
}

.section-head {
  max-width: 560px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.1;
  margin: 14px 0 12px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border: 1.5px solid var(--teal);
  background: var(--teal);
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
}

.btn-full {
  width: 100%;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(238, 244, 242, 0.92);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(16, 40, 35, 0.06);
}

.site-header:not(.is-scrolled) .logo,
.site-header:not(.is-scrolled) .primary-nav a,
.site-header:not(.is-scrolled) .nav-toggle {
  color: #fff;
}

.site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header:not(.is-scrolled) .header-cta {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.site-header:not(.is-scrolled) .header-cta:hover {
  background: #fff;
  color: var(--ink);
}

.header-inner {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  font-weight: 600;
}

.logo span {
  font-weight: 400;
  font-style: italic;
  color: var(--teal);
}

.site-header:not(.is-scrolled) .logo span {
  color: var(--gold);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  border-radius: 50%;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle::before {
  top: 14px;
}

.nav-toggle::after {
  bottom: 14px;
}

.primary-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 22s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 74, 66, 0.35) 0%, rgba(16, 40, 35, 0.78) 70%, rgba(16, 40, 35, 0.92) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(26, 122, 109, 0.35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 72px;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.95;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  animation: fadeUp 1s var(--ease) both;
}

.hero-brand span {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.25;
  margin: 0 0 14px;
  font-weight: 400;
  max-width: 18ch;
  animation: fadeUp 1s 0.12s var(--ease) both;
}

.hero p {
  margin: 0 0 32px;
  max-width: 42ch;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  animation: fadeUp 1s 0.22s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 1s 0.32s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Classes — editorial rows */
.classes {
  background: var(--bg);
}

.class-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.class-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding 0.3s ease;
}

.class-row:hover {
  background: var(--teal-glow);
  padding-left: 16px;
  padding-right: 16px;
}

.class-row img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.class-row h3 {
  margin: 0 0 6px;
  font-size: 26px;
}

.class-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.class-meta {
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
}

.class-meta span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 500;
}

/* About */
.about {
  background: var(--teal-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.18), transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

.about .eyebrow {
  color: var(--gold);
}

.about .section-head p,
.about-copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.about-copy > p {
  margin: 0 0 28px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-strip span {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

/* Services — horizontal bands */
.services {
  background: var(--bg-alt);
}

.service-bands {
  display: grid;
  gap: 12px;
}

.service-band {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 32px;
  background: var(--bg-panel);
  border-left: 3px solid var(--teal);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-band:hover {
  transform: translateX(6px);
  box-shadow: 0 16px 40px rgba(16, 40, 35, 0.08);
}

.service-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--teal);
  line-height: 1;
}

.service-band h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.service-band p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 62ch;
}

.service-gallery {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px;
}

.service-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 4px;
}

.service-gallery img:first-child {
  height: 280px;
}

/* Contact */
.contact {
  background: var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--teal-deep);
  color: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.contact-map {
  position: relative;
  min-height: 200px;
}

.contact-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  filter: grayscale(0.4) contrast(1.05) brightness(0.9);
}

.contact-details {
  padding: 28px 28px 32px;
  display: grid;
  gap: 22px;
}

.detail span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}

.detail strong,
.detail a {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}

.detail p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.5;
}

.detail a:hover {
  color: var(--gold);
}

.contact-form {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: 4px;
}

.contact-form h3 {
  font-size: 30px;
  margin: 0 0 6px;
}

.form-lead {
  color: var(--muted);
  margin: 0 0 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 16px;
  outline: none;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
}

.form-note {
  margin: 14px 0 0;
  min-height: 24px;
  color: var(--teal);
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 32px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  color: #fff;
  font-size: 18px;
}

.footer-brand span {
  font-style: italic;
  color: var(--gold);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--teal-deep);
  color: #fff;
  padding: 14px 20px;
  z-index: 50;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  transform: translateY(120%);
  transition: transform 0.35s var(--ease);
}

.toast.is-visible {
  transform: translateY(0);
}

@media (min-width: 981px) {
  .header-cta {
    display: inline-flex;
    min-height: 42px;
    padding: 0 22px;
    font-size: 10px;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .logo {
    justify-self: start;
  }

  .primary-nav {
    justify-self: center;
  }

  .header-cta {
    justify-self: end;
  }
}

@media (max-width: 980px) {
  .about-grid,
  .contact-layout,
  .service-gallery,
  .form-row {
    grid-template-columns: 1fr;
  }

  .class-row {
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }

  .class-meta {
    grid-column: 2;
    text-align: left;
  }

  .class-row img {
    width: 100px;
    height: 80px;
  }

  .about-visual img {
    height: 380px;
  }

  .service-gallery img,
  .service-gallery img:first-child {
    height: 200px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(238, 244, 242, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    padding: 18px 24px 28px;
    gap: 18px;
  }

  .site-header:not(.is-scrolled) .primary-nav a {
    color: var(--ink-soft);
  }
}

@media (max-width: 680px) {
  .logo {
    font-size: 18px;
  }

  .section {
    padding: 72px 0;
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .class-row {
    grid-template-columns: 1fr;
  }

  .class-row img {
    width: 100%;
    height: 180px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-band {
    grid-template-columns: 48px 1fr;
    padding: 22px 18px;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-details {
    padding: 24px;
  }
}
