/*
Theme Name: YogaaBlissLife
Theme URI: https://www.YogaaBlissLife.online
Author: YogaaBlissLife
Author URI: https://www.YogaaBlissLife.online
Description: One-page WordPress theme for yoga studios. Home, Classes, About, Services, and Contact. Language: English.
Version: 5.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: yogaablisslife
Tags: one-page, custom-menu, featured-images, translation-ready
*/

:root {
  --ivory: #faf4ec;
  --cream: #fff8f1;
  --blush: #f1ddd0;
  --sand: #e8d2c0;
  --terracotta: #c45c3e;
  --terracotta-deep: #9b3f28;
  --espresso: #2a1c18;
  --ink: #1d1411;
  --muted: #7a655c;
  --line: rgba(42, 28, 24, 0.12);
  --header-h: 78px;
  --topbar-h: 36px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", 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(--ivory);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img.is-broken {
  min-height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--blush), var(--sand));
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

address {
  font-style: normal;
}

.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(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.kicker {
  margin: 0 0 12px;
  color: var(--terracotta);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero,
.section {
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h));
}

.section {
  padding: 108px 0;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-intro h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin: 0 0 16px;
}

.section-intro p:last-child {
  margin: 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  background: var(--terracotta);
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn:hover {
  background: var(--terracotta-deep);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--terracotta-deep);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
}

.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);
}

/* Top bar + solid header */
.topbar {
  background: var(--espresso);
  color: rgba(255, 248, 241, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.topbar-inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.topbar a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(42, 28, 24, 0.06);
}

.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--espresso);
  white-space: nowrap;
  font-weight: 600;
}

.logo-mark {
  width: 30px;
  height: 30px;
  fill: var(--terracotta);
  flex-shrink: 0;
}

.header-cta {
  justify-self: end;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--espresso);
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle::before {
  top: 15px;
}

.nav-toggle::after {
  bottom: 15px;
}

.nav-toggle.is-open span {
  opacity: 0;
}

.nav-toggle.is-open::before {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle.is-open::after {
  bottom: 21px;
  transform: rotate(-45deg);
}

.primary-nav {
  justify-self: center;
}

.primary-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--terracotta);
}

/* Hero — split editorial */
.hero {
  padding: 48px 0 72px;
  background:
    radial-gradient(circle at 12% 18%, rgba(196, 92, 62, 0.1), transparent 36%),
    var(--ivory);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(46px, 6.4vw, 82px);
  margin: 0 0 20px;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 42ch;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.hero-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 2px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-main {
  width: 86%;
  margin-left: auto;
  height: 620px;
  object-fit: cover;
  border-radius: 180px 12px 12px 12px;
}

.hero-float {
  position: absolute;
  left: 0;
  bottom: 48px;
  width: 190px;
  height: 230px;
  object-fit: cover;
  border: 8px solid var(--cream);
  box-shadow: 0 18px 40px rgba(42, 28, 24, 0.16);
}

.hero-hours {
  position: absolute;
  right: 18px;
  bottom: -18px;
  width: min(240px, 70%);
  background: var(--espresso);
  color: #fff;
  padding: 18px 20px;
}

.hero-hours span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}

.hero-hours strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 6px;
}

.hero-hours p {
  margin: 0;
  color: rgba(255, 248, 241, 0.7);
  font-size: 13px;
}

/* Classes — photo card grid */
.classes {
  background: var(--cream);
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.class-card {
  background: #fff;
  border: 1px solid var(--line);
}

.class-card-media {
  position: relative;
}

.class-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.class-index {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--espresso);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 6px 10px;
}

.class-card-body {
  padding: 22px 20px 24px;
}

.class-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 10px;
}

.class-card h3 {
  margin: 0 0 10px;
  font-size: 30px;
}

.class-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* About — copy left, stacked photos right */
.about {
  background: var(--ivory);
  padding-bottom: 40px;
}

.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
}

.about-copy h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin: 0 0 20px;
}

.about-copy p {
  color: var(--muted);
  margin: 0 0 16px;
}

.about-photos {
  position: relative;
  min-height: 540px;
}

.about-photo-main {
  width: 74%;
  margin-left: auto;
  height: 520px;
  object-fit: cover;
}

.about-photo-offset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 300px;
  object-fit: cover;
  border: 10px solid var(--ivory);
  box-shadow: 0 16px 36px rgba(42, 28, 24, 0.12);
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.values strong {
  display: block;
  color: var(--terracotta);
  letter-spacing: 0.16em;
  font-size: 12px;
  margin-bottom: 10px;
}

.values h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.values p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Quote band */
.quote-band {
  background: var(--espresso);
  color: #fff;
  padding: 72px 0;
}

.quote-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
}

.quote-inner img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
}

.quote-inner blockquote {
  margin: 0;
}

.quote-inner p {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-style: italic;
  line-height: 1.28;
  margin: 0 0 16px;
}

.quote-inner cite {
  color: var(--sand);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Services — alternating magazine rows */
.services {
  background: var(--blush);
}

.service-stack {
  display: grid;
  gap: 28px;
}

.service-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #fff;
  min-height: 320px;
}

.service-row.is-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.service-row.is-reverse .service-media {
  order: 2;
}

.service-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.service-copy {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-copy span {
  color: var(--terracotta);
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 600;
}

.service-copy h3 {
  margin: 10px 0 12px;
  font-size: 40px;
}

.service-copy p {
  margin: 0;
  color: var(--muted);
}

/* Contact — cards + form + map */
.contact {
  background: var(--cream);
  padding-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px 22px;
}

.info-card span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 8px;
}

.info-card a,
.info-card address,
.info-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
}

.info-card a:hover {
  color: var(--terracotta);
}

.contact-form {
  background: var(--espresso);
  color: #fff;
  padding: 40px 36px;
}

.contact-form h3 {
  font-size: 36px;
  margin: 0 0 8px;
}

.form-lead {
  color: rgba(255, 248, 241, 0.68);
  margin: 0 0 24px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 14px 16px;
  outline: none;
  border-radius: 2px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--terracotta);
}

.form-note {
  margin: 14px 0 0;
  min-height: 24px;
  color: var(--sand);
  font-size: 14px;
}

.contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* Footer — four columns */
.site-footer {
  background: var(--espresso);
  color: rgba(255, 248, 241, 0.68);
  padding: 72px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr 0.9fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  max-width: 34ch;
}

.site-footer h2 {
  color: #fff;
  font-size: 18px;
  margin: 6px 0 14px;
  letter-spacing: 0;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a:hover,
.site-footer a:hover {
  color: #fff;
}

.site-footer p {
  margin: 0 0 10px;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--terracotta);
  color: #fff;
  padding: 14px 20px;
  z-index: 50;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  transform: translateY(120%);
  transition: transform 0.35s var(--ease);
}

.toast.is-visible {
  transform: translateY(0);
}

.inner-page {
  padding-top: 72px;
}

.inner-title {
  font-size: clamp(40px, 6vw, 72px);
  margin: 12px 0 16px;
}

.inner-lead,
.entry-content p {
  color: var(--muted);
  max-width: 620px;
}

.entry-content {
  max-width: 720px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .about-split,
  .contact-grid,
  .service-row,
  .service-row.is-reverse,
  .footer-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .service-row.is-reverse .service-media {
    order: 0;
  }

  .hero-visual,
  .about-photos {
    min-height: 0;
  }

  .hero-main,
  .about-photo-main {
    width: 100%;
    height: 480px;
    border-radius: 120px 12px 12px 12px;
  }

  .hero-float {
    width: 150px;
    height: 180px;
  }

  .about-photo-offset {
    width: 42%;
    height: 220px;
  }

  .quote-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .quote-inner img {
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    z-index: 60;
  }

  .logo {
    z-index: 60;
    position: relative;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: var(--espresso);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 55;
  }

  .primary-nav.is-open {
    display: flex;
  }

  body.nav-open .site-header {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  body.nav-open .logo,
  body.nav-open .nav-toggle {
    color: #fff;
    position: relative;
    z-index: 60;
  }

  body.nav-open .logo-mark {
    fill: #fff;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .primary-nav a {
    color: #fff;
    font-size: 22px;
    letter-spacing: 0.08em;
  }

  .class-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topbar-inner span:first-child {
    display: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 28px 0 56px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-metrics,
  .class-grid,
  .values {
    grid-template-columns: 1fr;
  }

  .hero-main,
  .about-photo-main {
    height: 380px;
    border-radius: 80px 8px 8px 8px;
  }

  .hero-float {
    display: none;
  }

  .hero-hours {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .about-photos {
    min-height: 420px;
  }

  .about-photo-offset {
    width: 58%;
    height: 180px;
  }

  .class-card img,
  .service-media img {
    height: 220px;
    min-height: 220px;
  }

  .service-copy {
    padding: 28px 22px 32px;
  }

  .service-copy h3 {
    font-size: 32px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .contact-map iframe {
    height: 260px;
  }

  .logo {
    font-size: 22px;
  }

  .topbar {
    font-size: 11px;
  }
}
