/* Coco's Groom Room — style.css
   Frontend-only. Plain CSS, no framework. Mobile-first.
   DARK THEME — matches the user's 6 screenshots exactly:
   page bg #241614, header #1e1210, card #3a2420, card border #5a3d36,
   text #f3e8e2, muted #cbb6ae, accent pink #e893a6, accent dark #d97a92,
   check green #8ec9a0, panel #33201c.
   Fonts: DM Serif Display for headings, Nunito Sans for body
   (loaded in index.html, with system fallbacks). */

:root {
  --bg: #241614;
  --header-bg: #1e1210;
  --panel: #33201c;
  --card: #3a2420;
  --card-dark: #2e1a16;
  --border: #5a3d36;
  --text: #f3e8e2;
  --muted: #cbb6ae;
  --accent: #e893a6;
  --accent-dark: #d97a92;
  --check: #8ec9a0;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}
.header-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap;
}
.brand {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.3rem; text-decoration: none; color: #fff;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; text-decoration: none; color: var(--text);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; white-space: nowrap;
}
.header-phone .phone-icon { color: var(--accent); font-style: normal; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  border: 0; border-radius: 999px;
  padding: 12px 24px; font-size: 1rem; font-weight: 800;
  font-family: "Nunito Sans", system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn.white { background: #fff; color: var(--bg); }
.btn.white:hover { background: #f3e8e2; }
.btn.secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn.secondary:hover { background: rgba(232, 147, 166, 0.12); }
.btn.dark { background: var(--card-dark); color: var(--accent); border: 1px solid var(--border); }
.btn.dark:hover { background: #3a2420; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn.small { padding: 9px 18px; font-size: 0.95rem; }

/* Sections */
section { padding: 36px 0; }
section h2 { font-size: 1.9rem; margin: 0 0 8px; color: #fff; }
section .sub { color: var(--muted); margin: 0 0 24px; }

/* Hero */
.hero { padding-top: 20px; }
.hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 460px;
  display: flex; align-items: flex-end;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 10, 8, 0.72) 0%, rgba(20, 10, 8, 0.35) 55%, rgba(20, 10, 8, 0.1) 100%),
              linear-gradient(0deg, rgba(20, 10, 8, 0.65) 0%, rgba(20, 10, 8, 0) 55%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 44px 40px;
  max-width: 620px;
}
.eyebrow {
  margin: 0 0 12px; font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.hero h1 { font-size: 2.7rem; margin: 0 0 14px; color: #fff; }
.hero p.lead { font-size: 1.1rem; color: #f3e8e2; margin: 0 0 24px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Trust strip */
.trust-strip {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}
.trust-strip li {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px;
}
.trust-strip strong {
  display: block; font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400; font-size: 1.35rem; color: var(--accent); margin-bottom: 2px;
}
.trust-strip span { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }

/* About */
.about-wrap {
  display: grid; gap: 32px; align-items: center;
  grid-template-columns: 1fr 1.15fr;
}
.about-photo { margin: 0; }
.about-photo img {
  width: 100%; height: 340px; object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-text p { color: var(--muted); }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; }
.checklist li {
  padding: 6px 0 6px 30px; position: relative; font-weight: 600;
}
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 6px;
  color: var(--check); font-weight: 800;
}

/* Services */
.service-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card-photo { width: 100%; height: 180px; object-fit: cover; }
.service-card .card-body {
  display: flex; flex-direction: column; gap: 8px; flex: 1;
  padding: 18px 20px 20px;
}
.service-card h3 { margin: 0; font-size: 1.3rem; color: #fff; }
.service-card p { margin: 0; color: var(--muted); flex: 1; }
.service-card hr { border: 0; border-top: 1px solid var(--border); margin: 4px 0; width: 100%; }
.service-card .includes { color: var(--text); font-size: 0.95rem; flex: 0; }
.book-groom-btn {
  width: 100%; margin-top: 8px;
  background: var(--card-dark); color: var(--accent);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 12px; font-size: 1rem; font-weight: 800;
  font-family: inherit; cursor: pointer;
}
.book-groom-btn:hover { background: #3a2420; }

/* Booking panel */
.booking-panel {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.booking-panel h2 { margin-top: 0; }
.steps { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.step-pill {
  flex: 1; min-width: 130px; text-align: center;
  padding: 10px; border-radius: 999px;
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); font-weight: 800; font-size: 0.95rem;
}
.step-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-pill.done { background: rgba(142, 201, 160, 0.15); border-color: var(--check); color: var(--check); }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px; font-size: 1rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--card-dark); color: var(--text);
  font-family: inherit;
}
.field input::placeholder, .field textarea::placeholder { color: #9a8178; }
.field select option { background: var(--card-dark); color: var(--text); }
.field textarea { min-height: 70px; resize: vertical; }
.field .hint { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

.service-select-grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.service-option {
  background: var(--card-dark); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px;
  cursor: pointer; text-align: left; font-family: inherit; color: var(--text);
}
.service-option:hover { border-color: var(--accent); }
.service-option.selected { border: 2px solid var(--accent); padding: 13px 15px; }
.service-option strong { display: block; font-size: 1.02rem; margin-bottom: 2px; color: #fff; }
.service-option span { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }

.choice-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.choice {
  border: 2px solid var(--border); background: var(--card-dark); border-radius: 10px;
  padding: 10px 14px; cursor: pointer; font-size: 0.95rem; font-weight: 700;
  font-family: inherit; color: var(--text);
}
.choice:hover { border-color: var(--accent); }
.choice.selected { border-color: var(--accent); background: rgba(232, 147, 166, 0.15); color: var(--accent); }
.choice:disabled { opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }

.step-nav { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.notice {
  border-radius: 10px; padding: 12px 14px; margin: 12px 0;
  background: #4a3a1a; color: #f3d9a0;
}
.notice.error { background: #5a2320; color: #f3b8b8; }
.notice.success { background: #2c4a34; color: #b8e0c2; }
.notice:empty { display: none; }

.confirmation { background: #2c4a34; border-radius: var(--radius); padding: 18px; }
.confirmation h3 { margin-top: 0; color: #b8e0c2; }
.confirmation .ref { font-size: 1.3rem; font-weight: 800; }

/* My bookings */
.my-bookings-panel {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.my-bookings-panel h2 { margin-top: 0; }
.find-row { display: flex; gap: 12px; flex-wrap: wrap; }
.find-row input {
  flex: 1; min-width: 220px; padding: 12px 14px; font-size: 1rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--card-dark); color: var(--text); font-family: inherit;
}
.find-row input::placeholder { color: #9a8178; }
.booking-result {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; margin-top: 10px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center;
  background: var(--card-dark);
}
.booking-result .cancelled { color: var(--muted); text-decoration: line-through; }

/* Visit us */
.info-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
.info-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.info-box h3 { margin: 0 0 10px; font-size: 1.3rem; color: #fff; }
.info-box p { color: var(--muted); margin: 6px 0; }
.info-box p strong { color: var(--text); }
.pink-link { color: var(--accent); font-weight: 700; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 6px 0; border-bottom: 1px solid var(--border); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-weight: 800; color: var(--text); }

/* FAQs */
#faq details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 10px;
}
#faq details summary { font-weight: 800; cursor: pointer; color: var(--text); }
#faq details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer {
  background: var(--header-bg);
  border-top: 1px solid var(--border); padding: 22px 0 28px;
  color: var(--muted); font-size: 0.95rem;
}
.footer-wrap {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-wrap p { margin: 0; }
.footer-wrap strong { color: var(--text); }
.photo-note { font-size: 0.85rem; text-align: center; margin: 16px 20px 0; }

@media (max-width: 820px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; }
  .hero-banner { min-height: 420px; }
  .hero-content { padding: 32px 24px; }
  .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 560px) {
  .service-grid, .service-select-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .booking-panel, .my-bookings-panel { padding: 20px; }
}
