/* ============================================================
   NSK Clinic Beauty — "Cevizli ahşap & yaldızlı adaçayı"
   Palette: walnut / oat / sage / olive / gold / ink
   Type: Fraunces (display) + Manrope (body)
   ============================================================ */

:root {
  --walnut:      #3a2a1e;
  --walnut-deep: #2a1e15;
  --oat:         #efe8dc;
  --oat-soft:    #f6f1e8;
  --cream:       #fbf8f2;
  --sage:        #8fa76b;
  --sage-soft:   #c3d2a6;
  --olive:       #5e7444;
  --gold:        #c6a15b;
  --gold-bright: #d8b874;
  --ink:         #2b2620;
  --ink-soft:    #5a5248;
  --line:        rgba(58, 42, 30, 0.14);

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Manrope", system-ui, sans-serif;

  --shadow-sm: 0 2px 10px rgba(42, 30, 21, 0.06);
  --shadow-md: 0 14px 40px rgba(42, 30, 21, 0.12);
  --shadow-lg: 0 30px 70px rgba(42, 30, 21, 0.18);

  --wrap: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--walnut);
  overflow-wrap: break-word;
  word-break: break-word;
}

p { margin: 0 0 1em; }

.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.gold { color: var(--gold); }
.serif-it { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--olive);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn--wa { --btn-bg: #25d366; --btn-fg: #08351b; }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--walnut-deep); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--walnut);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--oat-soft); }
.btn svg { width: 20px; height: 20px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--walnut);
}
.brand-mark b { color: var(--gold); font-weight: 600; }
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 700;
  margin-top: 5px;
}
/* light header over dark hero before scroll */
.site-header:not(.scrolled) .brand-mark { color: var(--cream); }
.site-header:not(.scrolled) .brand-mark b { color: var(--gold-bright); }
.site-header:not(.scrolled) .nav-links a { color: rgba(251,248,242,0.9); }
.site-header:not(.scrolled) .nav-toggle span { background: var(--cream); }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.28s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--walnut);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--walnut-deep);
  color: var(--cream);
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero::before {
  /* warm wood grain vignette */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(198,161,91,0.16), transparent 55%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #402f21, #2a1e15);
  opacity: 0.96;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .eyebrow { color: var(--sage-soft); }
.hero-copy .eyebrow::before { background: var(--gold-bright); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.2rem, 7.5vw, 4.4rem);
  margin: 22px 0 20px;
  font-weight: 400;
}
.hero h1 em { color: var(--gold-bright); font-style: italic; }
.hero-lead {
  font-size: 1.12rem;
  color: rgba(251,248,242,0.82);
  max-width: 30em;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 12px 20px;
  background: rgba(251,248,242,0.07);
  border: 1px solid rgba(216,184,116,0.35);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.rating-pill .stars { color: var(--gold-bright); letter-spacing: 2px; font-size: 0.95rem; }
.rating-pill .score { font-family: var(--font-display); font-size: 1.4rem; color: var(--cream); }
.rating-pill .rlabel { font-size: 0.82rem; color: rgba(251,248,242,0.7); line-height: 1.3; }

/* Arch-framed hero image — the signature motif */
.arch {
  position: relative;
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(216,184,116,0.4);
}
.arch::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  pointer-events: none;
}
.hero-media { position: relative; }
.hero-media .arch img { width: 100%; height: 560px; object-fit: cover; }
.hero-media .glow {
  position: absolute;
  inset: -8% -8% auto auto;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(143,167,107,0.55), transparent 70%);
  filter: blur(30px);
  z-index: -0;
}

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { padding: 96px 0; }
.section--oat { background: var(--oat); }
.section--soft { background: var(--oat-soft); }
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 18px 0 14px;
  font-weight: 400;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Intro / value strip ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.value {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value .ic {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--oat-soft);
  color: var(--olive);
  margin-bottom: 18px;
}
.value .ic svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.3rem; margin-bottom: 8px; }
.value p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* ---------- Split intro (about teaser) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--rev { direction: rtl; }
.split--rev > * { direction: ltr; }
.split-media .arch img { height: 520px; width: 100%; object-fit: cover; }
.split-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 18px; font-weight: 400; }
.split-copy p { color: var(--ink-soft); }
.tick-list { list-style: none; margin: 26px 0 30px; padding: 0; }
.tick-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.tick-list li::before {
  content: "";
  flex: 0 0 22px; height: 22px; margin-top: 2px;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ============================================================
   Services
   ============================================================ */
.svc-group + .svc-group { margin-top: 70px; }
.svc-group-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.svc-group-head h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
}
.svc-group-head .count {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.svc-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.svc-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleY(1); }
.svc-card .ic {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--oat-soft);
  color: var(--olive);
  margin-bottom: 16px;
}
.svc-card .ic svg { width: 24px; height: 24px; }
.svc-card h4 { font-size: 1.22rem; margin-bottom: 8px; }
.svc-card p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }

/* Chips (secondary service tags) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  padding: 8px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.chip:hover { background: var(--olive); color: #fff; border-color: transparent; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.gallery figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ============================================================
   Reviews
   ============================================================ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.review p { font-size: 1.02rem; color: var(--ink); flex: 1; }
.review .who {
  display: flex; align-items: center; gap: 12px;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.review .who b { display: block; font-size: 0.96rem; }
.review .who span { font-size: 0.82rem; color: var(--ink-soft); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative;
  background: var(--olive);
  color: #fff;
  padding: 84px 0;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 50% 0%, rgba(198,161,91,0.35), transparent 60%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 16px;
}
.cta-band h2 em { color: var(--gold-bright); font-style: italic; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 34em; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}
.info-list { list-style: none; margin: 0 0 30px; padding: 0; }
.info-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info-list .ic {
  flex: 0 0 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--oat-soft);
  color: var(--olive);
}
.info-list .ic svg { width: 22px; height: 22px; }
.info-list .lbl { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); font-weight: 700; }
.info-list .val { font-size: 1.1rem; font-weight: 600; color: var(--walnut); }
.info-list a.val:hover { color: var(--gold); }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 420px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--walnut-deep);
  color: rgba(251,248,242,0.72);
  padding: 64px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251,248,242,0.12);
}
.footer-brand .brand-mark { color: var(--cream); font-size: 1.7rem; }
.footer-brand .brand-mark b { color: var(--gold-bright); }
.footer-brand p { margin-top: 14px; max-width: 26em; font-size: 0.95rem; }
.footer-col h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.86rem;
  color: rgba(251,248,242,0.5);
}

/* ============================================================
   Floating WhatsApp
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero {
  background: var(--walnut-deep);
  color: var(--cream);
  padding: 150px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 90% at 90% 10%, rgba(143,167,107,0.22), transparent 55%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.05) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #402f21, #2a1e15);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; margin: 18px 0 14px; }
.page-hero h1 em { color: var(--gold-bright); font-style: italic; }
.page-hero p { color: rgba(251,248,242,0.8); max-width: 40em; font-size: 1.1rem; margin: 0; }
.page-hero .eyebrow { color: var(--sage-soft); }
.page-hero .eyebrow::before { background: var(--gold-bright); }
.crumbs { font-size: 0.86rem; color: rgba(251,248,242,0.55); margin-top: 24px; }
.crumbs a:hover { color: var(--gold-bright); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split--rev { direction: ltr; }
  .hero-media { order: -1; max-width: 480px; margin-inline: auto; }
  .hero-media .arch img { height: 440px; }
  .values, .reviews { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav > .btn { display: none; }        /* CTA lives in menu + floating WA on mobile */
  .eyebrow { letter-spacing: 0.16em; font-size: 0.68rem; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  .page-hero h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .rating-pill { width: 100%; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: var(--walnut-deep);
    padding: 40px 34px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--cream) !important; font-size: 1.25rem; padding: 12px 0; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; z-index: 80; }
  .nav-toggle.open span { background: var(--cream) !important; }
  .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); }

  .section { padding: 68px 0; }
  .hero { padding: 130px 0 70px; }
  .values, .reviews, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 150px; }
  .gallery .wide { grid-column: span 2; }
  .review:nth-child(n+4) { display: none; }
  .footer-bottom { flex-direction: column; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
