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

:root {
  --green:      #3a5a2a;
  --green-mid:  #5a7c3e;
  --green-pale: #edf3e8;
  --gold:       #b8860b;
  --gold-light: #e8c547;
  --cream:      #faf9f5;
  --text:       #2c2c2c;
  --muted:      #666;
  --white:      #ffffff;
  --max-w:      1160px;
  --radius:     8px;
  --shadow:     0 2px 16px rgba(0,0,0,.10);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}

h1,h2,h3,h4,h5 {
  font-family: 'Raleway', sans-serif;
  line-height: 1.25;
  color: var(--green);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

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

/* ─── Utilities ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: transparent;
  color: var(--green);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

.section-label {
  font-family: 'Raleway', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 2rem;
  border-radius: 2px;
}
.divider-left { margin-left: 0; }

/* ─── Header / Nav ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.nav-logo-text {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}
.nav-logo-text span { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}
.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  padding: .4rem .7rem;
  border-radius: 6px;
  color: var(--text);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--green-pale); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  background: transparent;
  min-width: 190px;
}
.nav-dropdown-menu::before {
  content: '';
  display: block;
  position: absolute;
  top: 8px;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #eee;
  z-index: -1;
}
.nav-dropdown-menu a {
  display: block;
  padding: .6rem 1rem;
  border-radius: 0;
  font-size: .88rem;
  position: relative;
}
.nav-dropdown-menu a:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.nav-dropdown-menu a:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
.nav-dropdown-menu a:hover { background: var(--green-pale); }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center top;
  opacity: .45;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero p {
  color: rgba(255,255,255,.88);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── Intro band ─── */
.intro-band {
  background: var(--green);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}
.intro-band h2 { color: var(--white); margin-bottom: .75rem; }
.intro-band p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }

/* ─── About strip (homepage) ─── */
.about-strip { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 540px;
}
.about-gold-bar {
  position: absolute;
  top: -16px; left: -16px;
  width: 80px; height: 80px;
  border: 4px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

/* ─── Testimonials ─── */
.testimonials { background: var(--green-pale); }
.testimonials h2 { text-align: center; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 1;
  color: var(--green-pale);
  position: absolute;
  top: 12px; left: 20px;
  font-family: Georgia, serif;
}
.testimonial-card p { font-style: italic; color: #444; margin-bottom: 1rem; padding-top: 20px; }
.testimonial-author { font-weight: 700; color: var(--green); font-size: .9rem; }

/* ─── Classes cards ─── */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.class-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.class-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.14); }
.class-card-img { height: 220px; overflow: hidden; }
.class-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.class-card:hover .class-card-img img { transform: scale(1.05); }
.class-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.class-card-body h3 { margin-bottom: .25rem; }
.class-schedule {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .75rem;
  font-family: 'Raleway', sans-serif;
}
.class-card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.class-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.class-cost { font-weight: 700; color: var(--green); font-size: .9rem; }

/* ─── Mailing list ─── */
.mailing-list {
  background: linear-gradient(135deg, var(--green) 0%, #2a4a1a 100%);
  color: var(--white);
  text-align: center;
}
.mailing-list h2 { color: var(--white); margin-bottom: .5rem; }
.mailing-list p { color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.mailing-form {
  display: flex;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.mailing-form input {
  flex: 1;
  min-width: 200px;
  padding: .8rem 1.2rem;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50px;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  outline: none;
  transition: border-color var(--transition);
}
.mailing-form input::placeholder { color: rgba(255,255,255,.6); }
.mailing-form input:focus { border-color: var(--gold-light); }
.mailing-form button { white-space: nowrap; }

/* ─── About page ─── */
.page-hero {
  background: var(--green);
  padding: 80px 0 60px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.8); margin-top: .5rem; }

.bio-section { background: var(--white); }
.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}
.bio-portrait {
  position: sticky;
  top: 100px;
}
.bio-portrait img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.bio-cert {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.cert-badge {
  background: var(--green-pale);
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  padding: .4rem .9rem;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  letter-spacing: .04em;
}

/* ─── Virtual/In-person classes page ─── */
.classes-page { background: var(--white); }
.class-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid #eee;
}
.class-block:last-child { border-bottom: none; }
.class-block.reverse { direction: rtl; }
.class-block.reverse > * { direction: ltr; }
.class-block img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; max-height: 360px; }
.class-info h2 { margin-bottom: .25rem; }
.class-time-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  padding: .3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  font-family: 'Raleway', sans-serif;
  letter-spacing: .04em;
}
.class-info ul {
  list-style: none;
  margin: 1rem 0;
}
.class-info ul li {
  padding: .25rem 0;
  font-size: .95rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.class-info ul li::before { content: '◆'; color: var(--gold); font-size: .6rem; }

/* ─── Blog ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.14); }
.blog-card-img { height: 230px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-pale);
  padding: .2rem .7rem;
  border-radius: 50px;
}
.blog-card-body h3 { margin-bottom: .5rem; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--green); }
.blog-card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .9rem;
  margin-top: 16px;
  color: var(--green);
  font-family: 'Raleway', sans-serif;
}
.read-more::after { content: '→'; }
.read-more:hover { color: var(--gold); }

/* ─── Blog post ─── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.post-content h2 { margin: 2rem 0 .75rem; }
.post-content p { margin-bottom: 1.2rem; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2rem; }
.post-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.sidebar-box h4 { color: var(--green); margin-bottom: 12px; }
.sidebar-box ul { list-style: none; }
.sidebar-box ul li { padding: .4rem 0; border-bottom: 1px solid #f0f0f0; }
.sidebar-box ul li:last-child { border-bottom: none; }
.sidebar-box ul li a { font-size: .9rem; color: var(--muted); }
.sidebar-box ul li a:hover { color: var(--green); }

/* ─── Contact page ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail p { margin: 0; }
.contact-detail strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 400; }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-box h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 6px;
  color: var(--text);
  font-family: 'Raleway', sans-serif;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--cream);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ─── Footer ─── */
.site-footer {
  background: #1e3614;
  color: rgba(255,255,255,.75);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
}
.footer-bottom a { color: var(--gold-light); }

/* ─── Success message ─── */
.form-success {
  display: none;
  background: var(--green-pale);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--green);
  font-weight: 600;
  margin-top: 16px;
}

/* ─── Mobile ─── */
@media (max-width: 900px) {
  .about-grid, .bio-grid, .class-block, .contact-layout, .post-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .class-block.reverse { direction: ltr; }
  .bio-portrait { position: static; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-bg { background-position: center center; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: 16px 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    gap: 4px;
    z-index: 99;
  }
  .nav-links.open .nav-cta { display: block; margin: 8px 0 0 0; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--green-pale);
    border-radius: var(--radius);
    padding: 4px 0;
    margin-top: 4px;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }

  .hero { min-height: 70vh; padding: 60px 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mailing-form { flex-direction: column; }
  .mailing-form input { min-width: auto; width: 100%; }
  .contact-form-box { padding: 24px; }
  .about-grid { gap: 24px; }
  .about-gold-bar { display: none; }
}
