/* =========================================================
   components.css — buttons, cards, badges, modal, lightbox, forms
   ========================================================= */

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 0; cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  white-space: nowrap; border: 1px solid transparent;
}
.btn:active { transform: scale(0.98); }

/* Primary — dark default (gold bg) */
.btn--primary {
  background: var(--gold); color: #050505; border-color: var(--gold);
}
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: #050505; box-shadow: 0 6px 20px rgba(216,179,90,0.35); }

/* Light theme primary override via [data-theme] — button itself doesn't need JS, CSS var handles border/text */
[data-theme="light"] .btn--primary {
  background: #1C1C1C; color: #F3D98B; border-color: #1C1C1C;
}
[data-theme="light"] .btn--primary:hover {
  background: var(--gold); color: #050505; border-color: var(--gold);
}

/* Secondary — ghost gold */
.btn--secondary {
  background: transparent; color: var(--gold); border-color: var(--gold);
}
.btn--secondary:hover { background: var(--gold); color: #050505; }

/* small nav button */
.btn--nav { padding: 0.65rem 1.4rem; font-size: 0.74rem; }

/* text link with gold underline */
.link-gold {
  position: relative; display: inline-block;
  color: var(--gold); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding-bottom: 3px;
}
.link-gold::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 250ms ease;
}
.link-gold:hover::after, .link-gold:focus-visible::after { width: 100%; }

/* ---------- CARDS ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.card__media {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-alt);
  position: relative;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms ease;
}
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.4rem 1.3rem 1.5rem; }
.card__eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.card__title { font-size: 1.2rem; margin: 0.35rem 0 0.4rem; }
.card__desc { font-size: 0.92rem; line-height: 1.6; }

/* testimonial card */
.t-card {
  background: var(--surface); border: 1px solid var(--border);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem;
}
.t-card__stars { color: var(--gold); letter-spacing: 0.12em; font-size: 0.85rem; }
.t-card__quote { font-family: 'Cormorant Garamond', serif; font-size: 1.08rem; line-height: 1.65; color: var(--text); font-style: italic; }
.t-card__author { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.2rem; }
.t-card__avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--border); background: var(--surface-alt);
}
.t-card__name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.t-card__role { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- SECTION HEADING ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.section-head h2 { margin-top: 0.5rem; }
.section-head p { margin-top: 0.9rem; font-size: 1.02rem; }

/* ---------- FORMS ---------- */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.field input, .field textarea, .field select {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); padding: 0.85rem 1rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.95rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  border-radius: 0; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,179,90,0.18);
}
.field--error input, .field--error textarea, .field--error select { border-color: #c0392b; }
.field__error { font-size: 0.78rem; color: #e74c3c; }
.form-msg {
  padding: 1rem 1.1rem; font-size: 0.92rem; border: 1px solid;
  margin-top: 1rem;
}
.form-msg--success { background: rgba(39,174,96,0.10); border-color: rgba(39,174,96,0.35); color: #27ae60; }
.form-msg--error { background: rgba(231,76,60,0.10); border-color: rgba(231,76,60,0.35); color: #c0392b; }

/* ---------- MODAL / PRICING MENU ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 1.2rem;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative; background: var(--surface);
  width: min(860px, 100%); max-height: 90vh; overflow: auto;
  border: 1px solid var(--border);
  padding: 2.2rem; box-shadow: var(--shadow);
}
.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface-alt);
  color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.price-group { margin-bottom: 2rem; }
.price-group h3 { color: var(--gold); letter-spacing: 0.08em; margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border); }
.price-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 0; border-bottom: 1px dotted var(--border);
}
.price-row:last-child { border-bottom: none; }
.price-row__name { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.price-row__note { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.price-row__price { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--gold); white-space: nowrap; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 210;
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.lightbox.is-open { display: flex; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.88); }
.lightbox__content {
  position: relative; max-width: 92vw; max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__content img, .lightbox__content video {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border: 1px solid rgba(255,255,255,0.12);
}
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28); background: rgba(0,0,0,0.45);
  color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.1rem;
}
.lightbox__btn--prev { left: -56px; }
.lightbox__btn--next { right: -56px; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28); background: rgba(0,0,0,0.45);
  color: #fff; cursor: pointer; display: grid; place-items: center;
}
@media (max-width: 768px) {
  .lightbox__btn--prev { left: 6px; }
  .lightbox__btn--next { right: 6px; }
}

/* trust badge */
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--border); background: var(--surface);
  padding: 0.6rem 1rem; font-size: 0.85rem; color: var(--text-muted);
}
.trust-badge strong { color: var(--gold); }

/* hour table */
.hours { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours td { padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.hours td:last-child { text-align: right; color: var(--text-muted); }

/* booking steps */
.steps { display: flex; gap: 0.5rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 120px; text-align: center;
  padding: 0.7rem 0.4rem; border: 1px solid var(--border);
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
}
.step.is-active { border-color: var(--gold); color: var(--gold); background: rgba(216,179,90,0.08); }
.step.is-done { border-color: var(--gold); color: var(--text); background: var(--surface-alt); }
