/* booking.css — AquaSplashOS booking page styles */

:root {
  --ocean: #0077b6;
  --ocean-light: #90e0ef;
  --ocean-dark: #03045e;
  --sand: #f4e3c1;
  --sand-dark: #d4a96a;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-light: #555;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: linear-gradient(160deg, #f0f9ff 0%, #e8f4f8 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-nav {
  background: var(--ocean-dark);
  color: var(--white);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.nav-inner nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-inner nav a:hover, .nav-inner nav a.active { color: var(--white); }

.booking-page {
  flex: 1;
  padding: 3rem 1.5rem;
}
.booking-container {
  max-width: 640px;
  margin: 0 auto;
}
.booking-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.booking-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ocean-dark);
  margin-bottom: 0.5rem;
}
.booking-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.booking-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}
.section-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ocean);
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

/* Lesson cards */
.lesson-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.lesson-card {
  cursor: pointer;
  position: relative;
}
.lesson-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.lesson-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.75rem;
  border: 2px solid #e0e8f0;
  border-radius: 10px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  gap: 0.25rem;
}
.lesson-card input:checked + .lesson-card-content {
  border-color: var(--ocean);
  background: #f0f9ff;
}
.lesson-card:hover .lesson-card-content {
  border-color: var(--ocean-light);
}
.lesson-duration {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean-dark);
}
.lesson-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* Select */
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e8f0;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
select:focus { outline: none; border-color: var(--ocean); }

/* Coach bio links */
.coach-bio-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-light);
}
.coach-bio-links span { font-weight: 500; }
.coach-bio-link {
  color: var(--ocean);
  text-decoration: none;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  background: #f0f9ff;
  border: 1px solid #d0e8f5;
  transition: background 0.15s;
}
.coach-bio-link:hover { background: #e0f4fc; }

/* Datetime row */
.datetime-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
}

/* Fields */
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: 0.88rem; font-weight: 500; color: var(--text); }
.field input, .field textarea, .field select {
  padding: 0.7rem 1rem;
  border: 2px solid #e0e8f0;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ocean);
}
.field textarea { resize: vertical; }

/* Submit */
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--ocean);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-submit:hover { background: #005f8a; }
.btn-submit:active { transform: scale(0.99); }
.btn-submit:disabled { background: #aaa; cursor: not-allowed; }

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Success message */
.success-message {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 2rem;
  text-align: center;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: #d4edda;
  color: #155724;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}
.success-message h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--ocean-dark);
  margin-bottom: 0.75rem;
}
.success-message p { color: var(--text-light); }

/* Footer */
.site-footer {
  background: var(--ocean-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
}
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
.site-footer a:hover { color: var(--white); }

@media (max-width: 540px) {
  .lesson-options { grid-template-columns: 1fr; }
  .datetime-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}