/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f7f3ef;
  --bg-alt: #f0e7de;
  --accent: #c3d7c5;
  --accent-deep: #8ca48f;
  --text-main: #2f2b27;
  --text-muted: #6f675f;
  --white: #ffffff;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --spacing: 1.5rem;
  --max-width: 1100px;
  --transition: 0.25s ease;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout helpers */
main {
  padding: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 239, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.logo {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav a {
  margin-left: 1rem;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: var(--transition);
}

.nav a:hover {
  background: var(--accent);
  color: var(--text-main);
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 2rem auto 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-text button {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--accent-deep);
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.hero-text button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

.hero-images {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 1rem;
}

.hero-main-image,
.hero-side-images img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--bg-alt);
}

.hero-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-side-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-side-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Offer */
.offer {
  background: linear-gradient(120deg, var(--accent), var(--bg-alt));
  padding: 1.8rem 1.5rem;
}

.offer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.offer h2 {
  margin-bottom: 0.5rem;
}

.offer p {
  color: var(--text-muted);
}

/* Classes */
.classes {
  max-width: var(--max-width);
  margin: 2.5rem auto;
}

.classes h2 {
  margin-bottom: 0.8rem;
}

.classes-intro {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.class-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.class-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.class-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.class-day {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.class-time {
  font-weight: 500;
}

.class-capacity {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.class-spots-left {
  margin-top: 0.5rem;
  font-weight: 500;
}

.class-spots-left span {
  font-weight: 700;
}

.class-spots-left.full {
  color: #b05555;
}

.class-spots-left.plenty {
  color: var(--accent-deep);
}

.class-id-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Signup */
.signup {
  max-width: var(--max-width);
  margin: 2.5rem auto 3rem;
}

.signup h2 {
  margin-bottom: 0.7rem;
}

.signup p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.signup-form {
  background: var(--white);
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #d6ccc2;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: #fdfaf6;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 2px rgba(140, 164, 143, 0.2);
}

.honeypot {
  display: none; /* hidden field to trap bots */
}

.signup-form button {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--accent-deep);
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.signup-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

.signup-message {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.footer-small {
  margin-top: 0.2rem;
}

/* Responsive */
@media (max-width: 820px) {
  main {
    padding: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-images {
    order: -1;
  }

  /.nav {
    display: none; /* keep it super simple on mobile for now */
  }/

  .site-header {
    justify-content: center;
  }
}

/* ABOUT PAGE ---------------------------------------------------------*/

.page-container {
  max-width: var(--max-width);
  margin: 2.5rem auto;
  padding: 0 1rem;
}

.about-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-page-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-page-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-page-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-page-images img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  height: 180px;
  object-fit: cover;
}

.back-button {
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  background: var(--accent-deep);
  color: var(--white);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.back-button:hover {
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 820px) {
  .about-page-content {
    grid-template-columns: 1fr;
  }
}

