/* ===========================
   Petrichor Massage For Health — stylesheet
   Palette: cream / light gray / green tea
   =========================== */

:root {
  --cream: #faf6ee;
  --cream-deep: #f2ead9;
  --paper: #fffdf8;
  --gray-light: #e7e5df;
  --gray: #b9b6ac;
  --gray-dark: #6f6c63;
  --ink: #3c392f;

  --tea: #7c9473;
  --tea-deep: #5a7052;
  --tea-pale: #dbe6d3;
  --tea-mist: #eef3e9;
  --clay: #c98a5e;

  --shadow-soft: 0 10px 30px rgba(70, 65, 45, 0.08);
  --shadow-card: 0 6px 18px rgba(70, 65, 45, 0.07);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Caveat", cursive;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.2; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; color: var(--gray-dark); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--tea-deep);
  margin-bottom: 0.9em;
}

.script {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--tea-deep);
  font-size: 1.08em;
}

/* subtle paper grain overlay for a handmade feel */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, #000 0.5px, transparent 0.6px),
    radial-gradient(circle at 60% 70%, #000 0.5px, transparent 0.6px),
    radial-gradient(circle at 80% 20%, #000 0.5px, transparent 0.6px);
  background-size: 5px 5px, 7px 7px, 9px 9px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-primary {
  background: var(--tea-deep);
  color: var(--paper);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--tea); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-outline {
  background: transparent;
  border-color: var(--tea-deep);
  color: var(--tea-deep);
}
.btn-outline:hover { background: var(--tea-mist); transform: translateY(-2px); }

.btn-small { padding: 10px 22px; font-size: 0.82rem; }
.btn-block { width: 100%; margin-top: 6px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--tea-deep);
}
.logo-img {
  height: 52px;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
}
.logo-img-dark {
  height: 108px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.main-nav {
  display: flex;
  gap: 34px;
}
.nav-link {
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--gray-dark);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--tea-deep);
  transition: right 0.3s ease;
}
.nav-link:hover { color: var(--tea-deep); }
.nav-link:hover::after,
.nav-link.active::after { right: 0; }
.nav-link.active { color: var(--tea-deep); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 0%, var(--tea-mist) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 30%, var(--cream-deep) 0%, transparent 60%),
    var(--cream);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  z-index: 0;
}
.blob-1 {
  width: 380px; height: 380px;
  top: -120px; right: -100px;
  background: radial-gradient(circle at 30% 30%, var(--tea-pale), transparent 70%);
}
.blob-2 {
  width: 260px; height: 260px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle at 60% 60%, var(--cream-deep), transparent 70%);
}

.hero-leaves {
  position: absolute;
  width: 480px;
  height: 480px;
  top: -60px;
  right: -80px;
  color: var(--tea-pale);
  opacity: 0.6;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-sub {
  font-size: 1.08rem;
  max-width: 520px;
}


.hero-cta { display: flex; gap: 16px; margin: 30px 0 56px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-light);
  justify-content: center; /* center the single prominent "Since" stat */
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--tea-deep);
  font-weight: 600;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--gray-dark);
  text-transform: uppercase;
}

/* Static variant for non-numeric stat (e.g. "Open since 2024") */
/* Static "Since" stat — larger, centered, and more prominent */
.stat.static { align-items: center; }

.stat-num.static {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  color: var(--gray-dark);
  letter-spacing: 0;
}
.stat-num.static .since {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--gray-dark);
  font-weight: 600;
  letter-spacing: 0.12em;
}
.stat-num.static .since-year {
  font-size: clamp(2rem, 6vw, 3.6rem);
  color: var(--tea-deep);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.28);
}

/* Keep vertical alignment tidy when a stat item uses the static variant */
.stat.static {
  align-items: flex-start;
}

/* ===== wave divider ===== */
.divider {
  color: var(--cream-deep);
  line-height: 0;
  transform: scaleY(1);
}
.divider-flip { transform: scaleY(-1); }
.divider svg { width: 100%; height: 36px; }

/* ===== About ===== */
.about { background: var(--cream-deep); padding: 100px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-visual { position: relative; }
.frame-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 8px solid var(--paper);
}
.frame-img {
  height: 420px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.stamp {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: var(--paper);
  color: var(--tea-deep);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-card);
}
.frame-note {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--tea-deep);
  margin-top: 22px;
  text-align: center;
}

.about-points { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.about-points li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 0.95rem; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tea);
  flex-shrink: 0;
}

/* ===== Section head shared ===== */
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-sub { color: var(--gray-dark); }

/* ===== Services (menu-board) ===== */
.services { padding: 100px 0; background: var(--cream); }

.menu-board {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-light);
  padding: 48px 44px;
}

.menu-group + .menu-group {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px dashed var(--gray-light);
}

.menu-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.menu-group-head h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--tea-deep);
}
.menu-unit {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dark);
  white-space: nowrap;
}

.menu-list { display: flex; flex-direction: column; gap: 14px; }
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.menu-name {
  font-size: 0.95rem;
  color: var(--ink);
}
.menu-dots {
  flex: 1;
  border-bottom: 1px dotted var(--gray);
  margin-bottom: 4px;
}
.menu-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tea-deep);
  white-space: nowrap;
}

.menu-note {
  margin: 30px 0 0;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: var(--tea-deep);
}

/* ===== Gallery ===== */
.gallery { padding: 100px 0; background: var(--cream-deep); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 130px);
  grid-template-areas:
    "room room tea      tea"
    "room room team      foot"
    "quiet quiet team    foot";
  gap: 16px;
}
.gallery-tile {
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-card);
}
.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 0;
}
.gallery-tile:hover img { transform: scale(1.08); }
.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 28, 20, 0) 45%, rgba(30, 28, 20, 0.55) 100%);
  z-index: 0;
}
.gallery-tile span {
  position: relative;
  z-index: 1;
  background: rgba(60, 57, 47, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
}
.tile-1 { grid-area: room; }
.tile-2 { grid-area: tea; }
.tile-3 { grid-area: team; }
.tile-4 { grid-area: foot; }
.tile-5 { grid-area: quiet; }

/* ===== Testimonials ===== */
.testimonials { padding: 100px 0; background: var(--cream); position: relative; }

.testi-track {
  display: block;
  width: 100%;
  overflow: visible;
  border-radius: var(--radius-md);
}
.testi-card {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 0 14px 0;
  background: var(--tea-mist);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
}
.testi-card p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
}
.testi-card footer {
  margin-top: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--tea-deep);
}
.testi-date {
  text-transform: none;
  letter-spacing: 0;
  color: var(--gray-dark);
  font-size: 0.78rem;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px auto 0;
  padding: 8px 18px;
  background: var(--paper);
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.google-badge span { color: var(--clay); font-weight: 500; }

.testi-dots { display: none; }

/* ===== Visit / Contact ===== */
.visit { padding: 100px 0 120px; background: var(--cream-deep); }

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.info-list { margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  box-shadow: var(--shadow-card);
}
.info-list strong { display: block; font-size: 0.92rem; color: var(--ink); margin-bottom: 2px; }
.info-list p { margin: 0; font-size: 0.9rem; }

.map-frame { margin-top: 30px; }
.map-embed {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: block;
  filter: saturate(0.85) contrast(0.96);
}

.booking-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-light);
}

.form-row { margin-bottom: 18px; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--gray-dark);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--tea);
  box-shadow: 0 0 0 3px var(--tea-mist);
}
.form-row textarea { resize: vertical; }

.form-status {
  min-height: 1.2em;
  margin-top: 14px;
  font-size: 0.86rem;
  text-align: center;
  color: var(--tea-deep);
}
.form-status.error { color: #b1523f; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 30px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer-tag { color: var(--gray-light); font-size: 0.9rem; max-width: 340px; }
.footer-social { display: flex; gap: 16px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,246,238,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.footer-social a:hover { background: var(--tea-deep); border-color: var(--tea-deep); }

.qr-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 14px 20px;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.qr-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.25); }
.qr-card img {
  width: 110px;
  height: 110px;
  border-radius: 10px;
  flex-shrink: 0;
}
.qr-caption { display: flex; flex-direction: column; gap: 2px; max-width: 140px; }
.qr-scan {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.4;
}

.footer-copy { margin-top: 18px; font-size: 0.78rem; color: var(--gray); }

/* ===== Back to top ===== */
.to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--tea-deep);
  color: var(--paper);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 90;
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--tea); }

/* ===== Reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-grid, .visit-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 130px);
    grid-template-areas:
      "room room"
      "room room"
      "tea  tea"
      "team foot"
      "quiet quiet";
  }
  .main-nav { display: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--gray-light);
    gap: 16px;
    box-shadow: var(--shadow-soft);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .header-actions .btn-small { display: none; }
  .menu-board { padding: 32px 22px; }
  .menu-name { font-size: 0.88rem; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: none;
  }
  .gallery-tile { height: 200px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .booking-form { padding: 30px; }
  .form-row.two-col { grid-template-columns: 1fr; }
}


