/* ============================================
   THE KLUB SPA — Shared Styles
   ============================================ */

:root {
  --deep-green: #17482c;
  --mid-green: #346841;
  --leaf-green: #638f5d;
  --cream: #faf6ee;
  --cream-2: #f2ecdd;
  --gold: #c17f3c;
  --charcoal: #26261f;
  --text-soft: #58604f;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(31, 61, 36, 0.12);
  --radius: 14px;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--deep-green);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; color: var(--text-soft); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.9em;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--deep-green);
  color: var(--cream);
}
.btn-primary:hover { background: var(--mid-green); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--deep-green);
  color: var(--deep-green);
}
.btn-outline:hover { background: var(--deep-green); color: var(--cream); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #a86a2d; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31,61,36,0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 46px; width: auto; }
.brand-icon { height: 40px; }
.brand-text { font-family: var(--serif); font-size: 1.3rem; color: var(--deep-green); font-weight: 600; }
.brand-text small { display: block; font-family: var(--sans); font-size: 0.55rem; letter-spacing: 0.25em; color: var(--gold); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--deep-green); border-color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--deep-green); border-radius: 2px; }

@media (max-width: 880px) {
  .nav-links { position: fixed; top: 74px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: flex-start; padding: 20px 24px 30px; gap: 16px; box-shadow: var(--shadow); transform: translateY(-130%); transition: transform 0.3s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,35,20,0.55) 0%, rgba(20,35,20,0.72) 60%, rgba(20,35,20,0.88) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 100px 24px 80px; margin: 0 auto; text-align: center; }
.hero-content .eyebrow { color: var(--cream-2); }
.hero h1 { color: var(--white); }
.hero p.lead { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 520px; margin: 0 auto 2em; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-btns .btn-outline { border-color: var(--white); color: var(--white); }
.hero-btns .btn-outline:hover { background: var(--white); color: var(--deep-green); }

.page-hero {
  position: relative;
  padding: 150px 24px 90px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-bg, .page-hero .hero-overlay { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero .hero-overlay { background: linear-gradient(180deg, rgba(20,35,20,0.6), rgba(20,35,20,0.82)); }
.page-hero-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--deep-green); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: rgba(250,246,238,0.78); }
.section-dark .eyebrow { color: #d9b98a; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0 0 40px; }

/* ---------- Grids & Cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 880px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-6px); }
.card .icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }

.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Service category cards (home) ---------- */
.service-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.service-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-tile:hover img { transform: scale(1.07); }
.service-tile .tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,35,20,0.85) 0%, rgba(20,35,20,0.1) 55%);
  display: flex; align-items: flex-end; padding: 24px;
}
.service-tile .tile-overlay h3 { color: var(--white); margin: 0; font-size: 1.25rem; }
.service-tile .tile-overlay span { color: rgba(255,255,255,0.75); font-size: 0.8rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  columns: 3 220px;
  column-gap: 18px;
}
.gallery-grid figure {
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-grid img { width: 100%; display: block; transition: transform 0.4s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }

/* ---------- Pricing / Services table ---------- */
.price-category { margin-bottom: 54px; }
.price-category-head {
  display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px;
  border-bottom: 2px solid var(--gold); padding-bottom: 10px;
}
.price-category-head h3 { margin: 0; }
.price-category-head span { color: var(--text-soft); font-size: 0.85rem; }

.price-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
@media (max-width: 700px) { .price-list { grid-template-columns: 1fr; } }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0; border-bottom: 1px dashed rgba(31,61,36,0.18);
  gap: 12px;
}
.price-row .name { font-weight: 500; color: var(--charcoal); }
.price-row .meta { font-size: 0.78rem; color: var(--text-soft); display: block; }
.price-row .amount { font-family: var(--serif); font-weight: 600; color: var(--gold); white-space: nowrap; font-size: 1.05rem; }

.price-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px; }
.price-tab {
  padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(31,61,36,0.25);
  font-size: 0.85rem; font-weight: 600; cursor: pointer; background: var(--white); color: var(--deep-green);
  transition: all 0.2s;
}
.price-tab.active, .price-tab:hover { background: var(--deep-green); color: var(--cream); border-color: var(--deep-green); }
.price-panel { display: none; }
.price-panel.active { display: block; animation: fadein 0.4s ease; }
@keyframes fadein { from { opacity:0; transform: translateY(8px);} to {opacity:1; transform:none;} }

/* ---------- Quote / testimonial ---------- */
.quote-block {
  text-align: center; max-width: 720px; margin: 0 auto;
  font-family: var(--serif); font-size: 1.5rem; color: var(--deep-green); font-style: italic;
}
.section-dark .quote-block { color: var(--cream); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--deep-green); margin-bottom: 6px; letter-spacing: 0.03em; }
input, select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid rgba(31,61,36,0.22); border-radius: 8px;
  font-family: var(--sans); font-size: 0.92rem; background: var(--cream); margin-bottom: 18px; color: var(--charcoal);
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }

.form-success {
  display: none; background: var(--deep-green); color: var(--cream); padding: 22px 26px; border-radius: var(--radius); margin-top: 18px;
}
.form-success.show { display: block; }

/* ---------- Info strip ---------- */
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 880px) { .info-strip { grid-template-columns: 1fr; } }
.info-item { text-align: center; padding: 10px; }
.info-item .icon { font-size: 1.6rem; margin-bottom: 10px; }
.info-item h4 { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-green); color: rgba(250,246,238,0.85); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--cream); font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; }
.footer-bottom { border-top: 1px solid rgba(250,246,238,0.15); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: rgba(250,246,238,0.55); }
.social-row { display: flex; gap: 14px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(250,246,238,0.3); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.social-row a:hover { background: var(--gold); border-color: var(--gold); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.tag {
  display: inline-block; background: rgba(193,127,60,0.12); color: var(--gold); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 0; width: 100%; height: 320px; }

.hours-table { list-style: none; margin: 0; padding: 0; }
.hours-table li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(250,246,238,0.2); font-size: 0.95rem; }
.hours-table li span:last-child { font-weight: 600; color: var(--cream); }
