/* Urban Yoga - basic front page styles */

:root {
  --brand: #7a9b76;
  --brand-dark: #5c7a58;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --bg-alt: #f7f6f2;
  --border: #e5e2da;
  --error: #b3261e;
  --success: #2e7d32;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2 {
  font-weight: 400;
  letter-spacing: 0.03em;
}

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

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

.brand {
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.08em;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.main-nav a:hover {
  color: var(--brand-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  #primary-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 24px;
    top: 60px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 16px;
    gap: 12px;
  }
  #primary-menu.open { display: flex; }
}

/* Hero */
.hero {
  padding: 64px 0 32px;
  text-align: center;
  background: var(--bg-alt);
}

.hero h1 { font-size: 2.4rem; margin-bottom: 8px; }
.tagline { color: var(--muted); font-size: 1.1rem; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }

.two-col {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.two-col.reverse { flex-direction: row-reverse; }

.col-text, .col-image {
  flex: 1 1 420px;
  min-width: 280px;
}

.col-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.checklist {
  padding-left: 20px;
}

.checklist li { margin-bottom: 8px; }

.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}

.btn:hover { background: var(--brand-dark); }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.testimonials blockquote {
  margin: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.testimonials cite {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contact */
.contact-details p { margin: 4px 0; }

.contact-form {
  max-width: 560px;
  margin-top: 24px;
}

.form-row {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.form-row label {
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  padding: 12px 16px;
  border-radius: 3px;
  margin: 16px 0;
  font-size: 0.95rem;
}

.form-success {
  background: #eaf5ea;
  color: var(--success);
  border: 1px solid #cfe8cf;
}

.form-error {
  background: #fbeaea;
  color: var(--error);
  border: 1px solid #f0cccc;
}

.form-error ul { margin: 0; padding-left: 20px; }

.btn-submit { font-family: inherit; }

/* Footer */
.site-footer {
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}
