/* ==========================================================================
   Karen Yoga & Wellbeing — shared stylesheet
   Palette: white + greens (garden studio feel)
   ========================================================================== */

:root {
  --green-dark: #35543f;
  --green-mid: #2f744f;
  --green-light: #77c59c;
  --green-pale: #e1f4ea;
  --white: #ffffff;
  --off-white: #f8faf7;
  --text: #2b2f2c;
  --text-light: #5b645c;
  --border: #c3dfd0;

  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: var(--green-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: normal;
  color: var(--green-dark);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section--pale {
  background: var(--green-pale);
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-intro p {
  color: var(--text-light);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--green-mid);
  font-weight: bold;
  margin-bottom: 8px;
}

/* Placeholder-content markers -------------------------------------------- */
.placeholder-note {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  color: #8a5a00;
  background: #fff4dc;
  border: 1px solid #f0d99a;
  border-radius: 4px;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

.btn--primary:hover {
  background: var(--green-mid);
}

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

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

/* Header / nav -------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--green-mid);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 6px;
  display: block;
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn)[aria-current="page"] {
  background: var(--green-pale);
  color: var(--green-dark);
}

.main-nav .btn {
  margin-left: 8px;
}

.main-nav a.btn--primary,
.main-nav a.btn--primary:hover,
.main-nav a.btn--primary[aria-current="page"] {
  background: var(--green-dark);
  color: var(--white);
}

.main-nav a.btn--primary:hover {
  background: var(--green-mid);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero ----------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--green-pale) 0%, var(--white) 100%);
  padding: 80px 0 64px;
  text-align: center;
}

.hero .eyebrow {
  display: block;
}

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

.hero p.lead {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 1.15rem;
  color: var(--text-light);
}

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

/* Cards / grids --------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.card h3 {
  margin-bottom: 10px;
}

.card .price {
  display: block;
  margin-top: 14px;
  font-weight: bold;
  color: var(--green-mid);
}

/* About page ------------------------------------------------------------------ */
.about-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}

.about-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-photo {
  border-radius: 10px;
  overflow: hidden;
  background: var(--green-pale);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  font-family: var(--font-heading);
  text-align: center;
  padding: 20px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  padding: 0;
}

/* Studio section (home page) --------------------------------------------------- */
.studio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.studio-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.studio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services list ----------------------------------------------------------------- */
.service-block {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: start;
}

.service-block:first-of-type {
  border-top: none;
}

.service-block .price {
  text-align: right;
  font-weight: bold;
  color: var(--green-mid);
  font-size: 1.05rem;
}

/* Bookings ------------------------------------------------------------------- */
.booking-embed {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--green-pale);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-light);
}

.booking-embed .btn {
  margin-top: 8px;
}

.booking-note {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--text-light);
}

.booking-note p {
  margin-bottom: 8px;
}

.booking-embed iframe {
  width: 100%;
  min-height: 720px;
  border: none;
  border-radius: 10px;
  background: var(--white);
}

/* Contact ---------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-details dt {
  font-weight: bold;
  color: var(--green-dark);
  margin-top: 20px;
}

.contact-details dd {
  margin: 4px 0 0;
  color: var(--text-light);
}

.map-embed {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}

form.contact-form {
  display: grid;
  gap: 16px;
}

form.contact-form label {
  font-weight: bold;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}

form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
}

form.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Photo grid (studio gallery) ----------------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.wide-photo {
  border-radius: 10px;
  overflow: hidden;
  margin: 28px 0;
  max-height: 420px;
}

.wide-photo img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* Footer ------------------------------------------------------------------------ */
.site-footer {
  background: var(--green-dark);
  color: var(--green-pale);
  padding: 48px 0 28px;
  margin-top: 64px;
}

.site-footer a {
  color: var(--white);
}

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

.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid p {
  color: var(--green-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--green-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-partner {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-light);
  text-decoration: none;
}

.footer-partner:hover {
  color: var(--white);
}

.footer-partner-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Responsive --------------------------------------------------------------------- */
@media (max-width: 860px) {
  .about-layout,
  .studio-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }

  .logo { font-size: 1.05rem; gap: 8px; }
  .logo-mark { width: 40px; height: 40px; }

  .grid--3,
  .grid--2,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block .price {
    text-align: left;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 8px;
  }

  .main-nav .btn {
    margin: 8px 0 0;
    text-align: center;
  }

  .site-header .container {
    position: relative;
    flex-wrap: wrap;
  }
}
