:root {
  --sage: #6B8A6B;
  --sage-dark: #547054;
  --beige: #F7F4F0;
  --cream: #FBF9F7;
  --warm: #C4A484;
  --charcoal: #2C2C2C;
  --text: #3A3A3A;
  --light: #EDE9E4;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(251, 249, 247, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--light);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { display: block; height: 64px; width: auto; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 22px; line-height: 1.1; white-space: nowrap; }
.logo-name { color: #6B8A6B; }
.logo-pilates { color: #C4A484; }
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--charcoal); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--sage); }
.nav-cta, .btn-primary, .btn-secondary {
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s;
}
.nav-cta, .btn-primary {
  background: var(--sage);
  color: white;
}
.nav-cta:hover, .btn-primary:hover { background: var(--sage-dark); }
.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover { background: var(--charcoal); color: white; }
.mobile-menu { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  min-height: 100vh;
  box-sizing: border-box;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/laura/laura-reformer-straps-legs-up.jpg') 60% 55%/cover no-repeat;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), image-set(url('images/laura/laura-reformer-straps-legs-up.webp') type('image/webp'), url('images/laura/laura-reformer-straps-legs-up.jpg') type('image/jpeg')) 60% 55%/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
  text-align: left;
  padding-top: 120px;
  padding-bottom: 40px;
}
.hero-content { max-width: 620px; margin-left: 10%; }
.hero-tag { letter-spacing: 2px; font-size: 14px; text-transform: uppercase; margin-bottom: 16px; opacity: 0.9; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-sub { font-size: 18px; margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; }

/* Sections */
section { padding: 100px 0; }
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.section-sub { color: #666; margin-bottom: 40px; font-size: 18px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { width: 100%; border-radius: 12px; object-fit: cover; height: 480px; }
.about-text p { margin-bottom: 16px; font-size: 17px; }
.stats { display: flex; gap: 40px; margin-top: 32px; }
.stat-number { display: block; font-family: 'Playfair Display', serif; font-size: 36px; color: var(--sage); }
.stat-label { font-size: 14px; color: #666; }

/* Classes */
.classes { background: var(--beige); }
.class-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.class-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.class-card:hover { transform: translateY(-4px); }
.class-card img { width: 100%; height: 200px; object-fit: cover; }
.class-info { padding: 20px; }
.class-info h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 8px; }
.class-meta { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--sage); font-weight: 500; }

/* Schedule */
.schedule-filters { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--light);
  background: white;
  cursor: pointer;
  font-family: inherit;
}
.filter-btn.active { background: var(--sage); color: white; border-color: var(--sage); }
.schedule-item {
  display: grid;
  grid-template-columns: 100px 1fr 140px 120px;
  align-items: center;
  background: white;
  padding: 20px 24px;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.schedule-item .day { font-weight: 600; color: var(--sage); }
.schedule-item .time { font-size: 14px; color: #666; }
.schedule-item .class-name { font-family: 'Playfair Display', serif; font-size: 20px; }
.schedule-item .instructor { font-size: 14px; color: #666; }
.spots { font-size: 13px; }
.spots.low { color: #C45C4A; }
.book-btn {
  padding: 10px 20px;
  background: var(--sage);
  color: white;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
}
.book-btn:disabled { background: #ccc; cursor: not-allowed; }

/* Bookings */
.bookings { background: var(--beige); }
.booking-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.empty-state { text-align: center; color: #888; padding: 40px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}
.contact-form button { width: 100%; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: white;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.close { position: absolute; right: 20px; top: 16px; font-size: 28px; cursor: pointer; color: #999; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.payment-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--light); }
.price-display { margin-bottom: 16px; font-size: 16px; }
.full-width { width: 100%; margin-top: 8px; }
.success-message { text-align: center; padding: 20px 0; }
.success-message h3 { font-family: 'Playfair Display', serif; color: var(--sage); margin-bottom: 12px; }

footer { background: var(--charcoal); color: white; text-align: center; padding: 40px 0; font-size: 14px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  .logo { gap: 6px; }
  .logo-img { height: 46px; }
  .nav-cta { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
  .hero h1 { font-size: 42px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .schedule-item { grid-template-columns: 1fr; gap: 8px; }
  .hero-content { margin-left: 24px; }
  .hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('images/laura/laura-hugging-knees-smiling.jpg') 39% 30%/cover no-repeat;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), image-set(url('images/laura/laura-hugging-knees-smiling.webp') type('image/webp'), url('images/laura/laura-hugging-knees-smiling.jpg') type('image/jpeg')) 39% 30%/cover no-repeat;
  }
  .about-image img:first-child { height: 360px; }
}
@media (max-width: 360px) { .logo-img { height: 40px; } }

html { scroll-padding-top: 100px; }
@media (max-width: 768px) { html { scroll-padding-top: 80px; } }
