/* ============================================================
   Studio Vera — Güzellik & Bakım · Tasarım sistemi
   Aydınlık plum atölye · derin erik birincil · dusty-rose ikincil
   Bodoni Moda (başlık) + Manrope (gövde)
   ============================================================ */

:root {
  /* Renk (OKLCH) — whisper-plum porselen + derin erik */
  --bg:            oklch(0.984 0.006 340);
  --bg-deep:       oklch(0.963 0.010 340);
  --surface:       oklch(1 0 0);
  --surface-2:     oklch(0.975 0.008 340);
  --line:          oklch(0.90 0.012 340);
  --line-strong:   oklch(0.83 0.016 340);

  --ink:           oklch(0.245 0.020 345);
  --ink-soft:      oklch(0.415 0.020 345);
  --muted:         oklch(0.500 0.018 345);

  --accent:        oklch(0.445 0.115 345);   /* derin erik / plum */
  --accent-deep:   oklch(0.370 0.105 345);
  --accent-bright: oklch(0.560 0.105 345);
  --accent-tint:   oklch(0.445 0.115 345 / 0.09);
  --on-accent:     oklch(0.99 0.003 340);

  --rose:          oklch(0.855 0.050 18);    /* dusty rose — ikincil */
  --rose-tint:     oklch(0.855 0.050 18 / 0.35);

  /* Tipografi */
  --font-display: "Bodoni Moda", "Times New Roman", Georgia, serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow:    0 16px 40px -26px oklch(0.4 0.05 345 / 0.4);
  --shadow-lg: 0 40px 90px -44px oklch(0.4 0.06 345 / 0.5);

  --container: 1160px;
  --gutter: clamp(1.2rem, 4vw, 3rem);

  --z-header: 100; --z-fab: 200; --z-nav-mobile: 300; --z-lightbox: 400;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 1.8rem; height: 1px; background: var(--accent); }

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); margin-block: 0.8rem 0.6rem; }
.section__lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem); max-width: 44rem; }
.section__head--center .section__lead { margin-inline: auto; }

.ico { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }

/* ============================================================
   BUTONLAR
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.85rem 1.7rem; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease);
}
.btn svg { width: 1.15rem; height: 1.15rem; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 30px -16px var(--accent); }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn--wa { background: #1eb457; color: #fff; box-shadow: 0 14px 30px -16px #0d7a37; }
.btn--wa:hover { background: #17a04d; transform: translateY(-2px); }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: oklch(0.984 0.006 340 / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-scrolled { background: oklch(0.99 0.004 340 / 0.92); border-bottom-color: var(--line); box-shadow: 0 8px 24px -22px oklch(0.4 0.05 345 / 0.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand img { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: 0.01em; }
.brand__sub { font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav a {
  padding: 0.5rem 0.9rem; border-radius: var(--r-pill); font-weight: 500; font-size: 0.95rem;
  color: var(--ink-soft); transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--ink); background: var(--accent-tint); }
.nav a[aria-current="page"] { color: var(--accent-deep); background: var(--accent-tint); }

.header__cta { display: flex; align-items: center; gap: 0.6rem; }
.header__cta .btn { padding: 0.6rem 1.3rem; font-size: 0.92rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero__title { font-size: clamp(2.6rem, 1.8rem + 4vw, 5rem); font-weight: 600; letter-spacing: -0.015em; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lead { margin-top: 1.3rem; font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-soft); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.4); }
.hero__badge { position: absolute; left: 1.2rem; bottom: 1.2rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: var(--r-pill); background: oklch(1 0 0 / 0.9); backdrop-filter: blur(8px); font-size: 0.85rem; font-weight: 600; color: var(--accent-deep); box-shadow: var(--shadow); }
.hero__badge .ico { width: 1rem; height: 1rem; }

/* ============================================================
   HİZMET GRUPLARI (özet — anasayfa)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.svc-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; box-shadow: var(--shadow); transition: transform 0.28s var(--ease), border-color 0.28s var(--ease); }
a.svc-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.svc-card__ico { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--rose-tint); color: var(--accent-deep); margin-bottom: 1.1rem; }
.svc-card__ico .ico { width: 1.5rem; height: 1.5rem; }
.svc-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.svc-card p { color: var(--ink-soft); font-size: 0.95rem; }
.svc-card__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.9rem; color: var(--accent-deep); font-weight: 600; font-size: 0.88rem; }
.svc-card__more .ico { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
a.svc-card:hover .svc-card__more .ico { transform: translateX(4px); }

/* ============================================================
   FİYAT / MENÜ (hizmetler.php)
   ============================================================ */
.menu-nav { position: sticky; top: 76px; z-index: 50; background: oklch(0.984 0.006 340 / 0.92); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.menu-nav__scroll { display: flex; gap: 0.3rem; overflow-x: auto; padding: 0.7rem 0; scrollbar-width: none; }
.menu-nav__scroll::-webkit-scrollbar { display: none; }
.menu-nav a { white-space: nowrap; padding: 0.5rem 1rem; border-radius: var(--r-pill); font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); transition: color 0.2s, background-color 0.2s; }
.menu-nav a:hover { color: var(--accent-deep); background: var(--accent-tint); }

.svc-cat { scroll-margin-top: 130px; }
.svc-cat + .svc-cat { margin-top: clamp(3rem, 6vw, 4.5rem); }
.svc-cat__head { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; padding-bottom: 1rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line-strong); }
.svc-cat__ico { color: var(--accent); }
.svc-cat__ico .ico { width: 1.5rem; height: 1.5rem; }
.svc-cat__title { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); }
.svc-cat__note { color: var(--muted); font-size: 0.92rem; margin-left: auto; }

.svc-list { display: grid; gap: 0.3rem; }
.svc-item { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.3rem 1.2rem; padding: 1rem 0; border-bottom: 1px dashed var(--line-strong); }
.svc-item:last-child { border-bottom: none; }
.svc-item__name { font-family: var(--font-display); font-weight: 600; font-size: 1.14rem; }
.svc-item__desc { grid-column: 1 / -1; color: var(--muted); font-size: 0.93rem; max-width: 56ch; margin-top: 0.1rem; }
.svc-item__meta { display: flex; align-items: baseline; gap: 0.9rem; }
.svc-item__time { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--accent-deep); white-space: nowrap; }
.price__cur { font-size: 0.8em; }

/* ============================================================
   GALERİ
   ============================================================ */
.gallery-grid { columns: 3; column-gap: clamp(0.8rem, 2vw, 1.2rem); }
.gallery-grid figure { break-inside: avoid; margin-bottom: clamp(0.8rem, 2vw, 1.2rem); position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.gallery-grid img { width: 100%; height: auto; display: block; cursor: zoom-in; transition: transform 0.6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1rem 0.9rem; color: #fff; font-size: 0.86rem; background: linear-gradient(to top, oklch(0.25 0.04 345 / 0.75), transparent); opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; }
.gallery-grid figure:hover figcaption { opacity: 1; transform: none; }

/* ============================================================
   SPLIT / PROSE
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.prose > * + * { margin-top: 1.1rem; }
.prose p { color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.checklist { list-style: none; display: grid; gap: 0.7rem; margin-top: 1.6rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.65rem; color: var(--ink); }
.checklist .ico { width: 1.15rem; height: 1.15rem; color: var(--accent); margin-top: 0.3rem; }

/* ============================================================
   İLETİŞİM / RANDEVU
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.info-list { display: grid; gap: 1.3rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row__ico { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--rose-tint); color: var(--accent-deep); }
.info-row__ico .ico { width: 1.25rem; height: 1.25rem; }
.info-row__k { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.info-row__v { font-weight: 500; color: var(--ink); }
.info-row__v a:hover { color: var(--accent-deep); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.05rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 0.78rem 0.9rem; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin-top: clamp(2.5rem, 5vw, 4rem); }
.map iframe { width: 100%; height: clamp(280px, 40vw, 420px); border: 0; display: block; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.hours-table tr.is-today td { color: var(--accent-deep); font-weight: 700; }

/* ============================================================
   CTA
   ============================================================ */
.cta { position: relative; background: var(--accent-deep); color: oklch(0.98 0.01 340); overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(110% 120% at 82% -10%, oklch(0.56 0.11 345 / 0.7), transparent 58%); }
.cta__inner { text-align: center; max-width: 42rem; margin-inline: auto; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); color: #fff; }
.cta__lead { color: oklch(0.92 0.02 340); margin-block: 1rem 2rem; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.cta .btn--ghost { background: transparent; border-color: oklch(0.99 0 0 / 0.45); color: #fff; }
.cta .btn--ghost:hover { background: oklch(0.99 0 0 / 0.14); border-color: #fff; color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: clamp(3rem, 5vw, 4rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 2.5rem; }
.footer__brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer__brand img { width: 36px; height: 36px; }
.footer__brand b { font-family: var(--font-display); font-size: 1.3rem; }
.footer p { color: var(--muted); font-size: 0.94rem; max-width: 32ch; }
.footer h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer__links { display: grid; gap: 0.55rem; }
.footer__links a { color: var(--ink-soft); font-size: 0.95rem; width: fit-content; }
.footer__links a:hover { color: var(--accent-deep); }
.footer address { font-style: normal; display: grid; gap: 0.5rem; color: var(--ink-soft); font-size: 0.95rem; }
.footer address a:hover { color: var(--accent-deep); }
.social { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--ink-soft); font-size: 0.92rem; }
.social:hover { color: var(--accent-deep); }
.social .ico { width: 1.15rem; height: 1.15rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.credit a { color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); }
.credit a:hover { color: var(--accent-deep); }

/* ============================================================
   FAB / SCROLL PROGRESS / LIGHTBOX
   ============================================================ */
.fab {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: var(--z-fab);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #1eb457; color: #fff; box-shadow: 0 12px 30px -8px oklch(0.5 0.15 150 / 0.6);
  transition: transform 0.25s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); z-index: calc(var(--z-header) + 1); }

.lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); display: none; place-items: center; padding: 5vw; background: oklch(0.25 0.03 345 / 0.85); backdrop-filter: blur(6px); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.4rem; width: 46px; height: 46px; border-radius: 50%; background: oklch(1 0 0 / 0.16); color: #fff; font-size: 1.8rem; line-height: 1; }
.lightbox__close:hover { background: oklch(1 0 0 / 0.3); }

/* ============================================================
   REVEAL
   ============================================================ */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) { .gallery-grid { columns: 2; } }

@media (max-width: 880px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 16/11; max-height: 420px; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 16/11; max-height: 440px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; z-index: var(--z-nav-mobile);
    width: min(78vw, 320px); flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0.3rem; padding: 6rem 1.4rem 2rem; background: var(--surface);
    border-left: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.35s var(--ease);
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav a { padding: 0.9rem 1rem; font-size: 1.05rem; }
  .nav-toggle { display: block; z-index: calc(var(--z-nav-mobile) + 1); }
  .header__cta .btn span { display: none; }
  .svc-cat__note { margin-left: 0; flex-basis: 100%; }
}

@media (max-width: 560px) {
  .gallery-grid { columns: 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
