/* site.css — public shop mini-site */
/* :root theme variables are injected inline per-shop by the server */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

.nav-brand {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; color: var(--color-text);
}
.nav-brand-logo {
  height: 36px; width: auto; border-radius: 6px;
  object-fit: contain;
}
.nav-brand-name {
  font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700;
}

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  font-size: .9rem; font-weight: 500; color: var(--color-text-muted);
  text-decoration: none; transition: color .15s;
}
.nav-link:hover { color: var(--color-primary); }

.nav-book-btn {
  padding: .5rem 1.25rem;
  background: var(--color-primary); color: #fff;
  text-decoration: none; border-radius: var(--radius);
  font-weight: 700; font-size: .875rem;
  transition: background .15s, transform .1s;
}
.nav-book-btn:hover { background: var(--color-primary-dk); transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.hero-logo {
  max-height: 120px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  margin: 0 auto 2rem;
  display: block;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  white-space: pre-line;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block; padding: .9rem 2.5rem;
  background: var(--color-primary); color: #fff;
  text-decoration: none; border-radius: var(--radius);
  font-weight: 700; font-size: 1.05rem;
  transition: background .15s, transform .1s;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.hero-cta:hover { background: var(--color-primary-dk); transform: translateY(-2px); }

/* ── Hero — image background variant ────────────────────────────────────── */
.hero.hero-bg {
  position: relative;
  min-height: 72vh;
  display: flex; align-items: center; justify-content: center;
  /* background-image set inline; size/repeat also inline for reliability */
  background-size: cover; background-position: center; background-repeat: no-repeat;
  padding: 3rem 1.5rem;
  border-bottom: none;
  background-color: #111;
}
/* full-screen dim layer */
.hero.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 0;
}
/* text panel — semi-transparent dark box */
.hero-content {
  position: relative; z-index: 1;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 12px;
  padding: 3rem 3.5rem;
  max-width: 680px;
  width: 100%;
  text-align: center;
}
.hero-content h1 {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-content .hero-description {
  color: #fff !important;
  font-size: 1.05rem; line-height: 1.7;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.7), 0 2px 12px rgba(0,0,0,.5);
}
.hero-content .hero-cta {
  background: #fff; color: #111;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.hero-content .hero-cta:hover { background: #f0f0f0; transform: translateY(-2px); }

@media (max-width: 600px) {
  .hero-content { padding: 2rem 1.5rem; border-radius: 8px; }
}

/* ── Sections ────────────────────────────────────────────────────────────── */
section { padding: 4rem 2rem; }
section:nth-child(odd) { background: var(--color-bg); }
section:nth-child(even) { background: var(--color-surface); }

.section-wrap { max-width: 1200px; margin: 0 auto; }

h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem; font-weight: 800;
  margin-bottom: 1.75rem;
  letter-spacing: -.5px;
}

/* ── Services ────────────────────────────────────────────────────────────── */
.svc-list { display: flex; flex-direction: column; gap: .75rem; }
.svc-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 1.1rem 1.35rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.08);
  transition: box-shadow .15s;
}
section:nth-child(even) .svc-item { background: var(--color-surface); }
.svc-item:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.svc-name  { font-weight: 600; font-size: .95rem; margin-bottom: .2rem; }
.svc-desc  { font-size: .82rem; color: var(--color-text-muted); margin-top: .15rem; }
.svc-meta  { font-size: .8rem; color: var(--color-text-muted); margin-top: .2rem; }
.svc-price { font-weight: 700; color: var(--color-primary); white-space: nowrap; margin-left: 1.5rem; font-size: 1rem; }

/* ── Hours table ─────────────────────────────────────────────────────────── */
.hours-table { width: 100%; max-width: 420px; border-collapse: collapse; }
.hours-table td { padding: .6rem .35rem; font-size: .9rem; border-bottom: 1px solid rgba(0,0,0,.06); }
.hours-table td:first-child { font-weight: 600; width: 130px; }
.hours-table td:last-child  { color: var(--color-text-muted); }
.hours-table tr:last-child td { border-bottom: none; }

/* ── Address ─────────────────────────────────────────────────────────────── */
.address {
  font-size: .95rem; color: var(--color-text-muted);
  line-height: 1.7;
  display: flex; align-items: flex-start; gap: .6rem;
}
.address-icon { font-size: 1.2rem; margin-top: .05rem; }

/* ── Booking CTA section ─────────────────────────────────────────────────── */
#book {
  background: var(--color-primary) !important;
  padding: 5rem 2rem;
  text-align: center;
}
#book h2 { color: #fff; margin-bottom: .75rem; font-size: 2rem; }
#book p  { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 480px; margin: 0 auto 2.25rem; }
.book-cta {
  display: inline-block; padding: 1rem 3rem;
  background: #fff; color: var(--color-primary);
  text-decoration: none; border-radius: var(--radius);
  font-weight: 800; font-size: 1.05rem;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.book-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ── Custom sections ─────────────────────────────────────────────────────── */
.section-text { font-size: .95rem; line-height: 1.75; color: var(--color-text); }
.section-text h2, .section-text h3 { font-family: var(--font-heading); font-weight: 700; margin: 1.25rem 0 .6rem; letter-spacing: -.3px; }
.section-text p  { margin-bottom: .9rem; }
.section-text ul, .section-text ol { padding-left: 1.5rem; margin-bottom: .9rem; }
.section-text a  { color: var(--color-primary); }
.section-text strong { font-weight: 700; }
.section-text em     { font-style: italic; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); display: block;
  transition: transform .2s, box-shadow .2s;
}
.gallery-grid img:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* ── Image + Text section ────────────────────────────────────────────────── */
.image-text-cols {
  display: flex;
  gap: 3rem;
  align-items: center;
}
.image-text-cols.image-right { flex-direction: row-reverse; }
.image-text-cols .it-img { flex: 0 0 45%; max-width: 45%; }
.image-text-cols .it-img img { width: 100%; border-radius: var(--radius); display: block; }
.image-text-cols .it-body { flex: 1; }
.image-text-cols .it-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: -.3px; margin-bottom: 1rem;
  color: var(--color-primary);
}
@media (max-width: 640px) {
  .image-text-cols { flex-direction: column !important; gap: 1.5rem; }
  .image-text-cols .it-img { flex: none; max-width: 100%; width: 100%; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  text-align: center; padding: 2rem;
  font-size: .8rem; color: var(--color-text-muted);
  background: var(--color-surface);
  border-top: 1px solid rgba(0,0,0,.07);
}
.footer-schedule { font-size: .82rem; color: var(--color-text-muted); margin-bottom: .85rem; line-height: 1.8; }
.social-links { display: flex; gap: .6rem; justify-content: center; margin-bottom: .85rem; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-text); color: var(--color-bg);
  transition: background .15s;
}
.social-link:hover { background: var(--color-primary); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 0 1.25rem; }
  .nav-brand-name { font-size: 1rem; }
  .nav-links { gap: 1rem; }
  .nav-link { display: none; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  section { padding: 3rem 1.25rem; }
  #book { padding: 3.5rem 1.25rem; }
}
