/* Adams Kuaför — koyu, sinematik tema */
:root {
  --bg: #141414;
  --bg-2: #1C1B1A;
  --line: rgba(222, 222, 222, .12);
  --text: #DEDEDE;
  --muted: #A9A6A3;
  --tan: #BB9D81;
  --tan-dark: #A2846A;
  --black: #000;
  --wa: #25A75A;

  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0; font-family: var(--display); font-weight: 400;
  text-transform: uppercase; line-height: .95; letter-spacing: .005em;
}
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--tan); color: #000; padding: 8px 12px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font: 400 18px/1 var(--display); text-transform: uppercase; letter-spacing: .02em;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--tan { background: var(--tan); color: #000; }
.btn--tan:hover { background: var(--text); }
.btn--line { border-color: rgba(222, 222, 222, .5); color: var(--text); }
.btn--line:hover { border-color: var(--tan); color: var(--tan); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 16px; }

/* ---------- üst menü (yüzen kutu) ---------- */
.top { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 var(--gut); pointer-events: none; }
.top__bar {
  pointer-events: auto;
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  background: rgba(20, 20, 20, .92); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: 12px 14px 12px 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 24px/1 var(--display); text-transform: uppercase; color: var(--tan); }
.brand img { border-radius: 50%; }
.nav { display: flex; gap: 22px; margin: 0 auto; }
.nav a { text-decoration: none; color: var(--tan); font-size: 15px; }
.nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
/* Arka plan: aynı fotoğraf, bulanık ve karanlık — düşük çözünürlük görünmez */
.hero__bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(30px) saturate(.6) brightness(.38); }
.hero__shade { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 75% 45%, transparent 0%, rgba(20,20,20,.55) 60%, var(--bg) 100%),
  linear-gradient(180deg, transparent 70%, var(--bg) 100%); }
.hero__in {
  position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 120px var(--gut) clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px 64px; align-items: center;
}
.hero__lead { font-size: 18px; max-width: 32em; margin-top: 24px; }
/* Ön plan fotoğrafı: kendi boyutunu aşmaz, ekrana sığar */
.hero__photo { margin: 0; justify-self: end; position: relative; width: min(100%, 520px, calc((100svh - 200px) * 542 / 820)); }
.hero__photo::before { content: ""; position: absolute; inset: 14px -14px auto 14px; aspect-ratio: 542 / 820; border: 1px solid var(--tan); opacity: .55; }
.hero__photo img { position: relative; width: 100%; aspect-ratio: 542 / 820; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.hero__photo figcaption { position: relative; margin-top: 26px; font: 400 18px/1 var(--display); text-transform: uppercase; color: var(--tan); letter-spacing: .03em; }
.hero h1 { color: var(--tan); font-size: clamp(56px, 9vw, 132px); margin-top: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; padding: 7px 14px 7px 12px; border: 1px solid var(--line); background: rgba(20,20,20,.6); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.is-open .status__dot { background: var(--wa); box-shadow: 0 0 0 4px rgba(37,167,90,.2); }
.status.is-closed .status__dot { background: #C4553F; }

/* ---------- ortak başlıklar ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.hero { border-top: 0; padding: 0; }
section h2 { font-size: clamp(42px, 5.6vw, 76px); color: var(--tan); }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 400 16px/1 var(--display); text-transform: uppercase; color: var(--tan); margin: 0; }
.tag__ico { width: 18px; height: 18px; fill: none; stroke: var(--tan); stroke-width: 1.6; }
.head { margin-bottom: clamp(32px, 5vw, 56px); }
.head p:not(.tag) { color: var(--muted); max-width: 40em; margin-top: 16px; }
.head--split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 48px; align-items: start; }
.head--center { text-align: center; display: grid; justify-items: center; gap: 0; }
.head--center h2 { margin-top: 16px; }

.ph { margin: 0; position: relative; overflow: hidden; background: var(--bg-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.9); }
.ph figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20,20,20,.85); padding: 6px 10px; font-size: 13px; }

/* ---------- hakkımızda ---------- */
.about__top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 56px); }
.about__top .tag { font-size: 16px; }
.lede { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; margin-bottom: 24px; }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.about__grid > .ph { aspect-ratio: 4 / 5; }
.about__mid { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font: 400 24px/1 var(--display); color: var(--tan); text-transform: uppercase; }
.ph--short { min-height: 160px; }
.ph--short img { position: absolute; inset: 0; }

/* ---------- hizmetler ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
.card { text-decoration: none; display: grid; gap: 10px; }
.card img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; filter: saturate(.75) brightness(.88); transition: filter .25s; }
.card:hover img { filter: saturate(.95) brightness(1); }
.card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card__t { font: 400 26px/1 var(--display); text-transform: uppercase; color: var(--tan); }
.card__plus { position: relative; width: 16px; height: 16px; flex: none; }
.card__plus::before, .card__plus::after { content: ""; position: absolute; background: var(--muted); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.card__plus::before { width: 16px; height: 1.5px; }
.card__plus::after { width: 1.5px; height: 16px; }
.card:hover .card__plus::before, .card:hover .card__plus::after { background: var(--tan); }
.card__d { color: var(--muted); font-size: 15px; }
.extras { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.extras a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.extras a:hover { border-color: var(--tan); color: var(--tan); }

/* ---------- galeri ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(.8) brightness(.9); }
.strip figcaption { font: 400 20px/1 var(--display); text-transform: uppercase; color: var(--tan); margin-top: 10px; }
.center-note { text-align: center; margin-top: 40px; }

/* ---------- yorumlar ---------- */
.marquee { overflow: hidden; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 16px; padding-right: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.center-note--row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.marquee__toggle { background: transparent; }
.q { margin: 0; border: 1px solid var(--line); padding: 22px 24px; background: var(--bg-2); width: clamp(280px, 30vw, 400px); flex: none; display: flex; flex-direction: column; justify-content: space-between; }
.q p { font-size: 16px; }
.q p::before { content: "“"; display: block; font: 400 48px/.6 var(--display); color: var(--tan); margin-bottom: 8px; }
.q footer { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.q__av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--tan); color: #000; font-size: 12px; font-weight: 600; }
.q cite { font: 400 17px/1 var(--display); font-style: normal; text-transform: uppercase; color: var(--tan); }
.q__stars { margin-left: auto; color: var(--tan); letter-spacing: 2px; font-size: 14px; }

/* ---------- SSS ---------- */
.faq__in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px 64px; align-items: start; }
.faq__in h2 { margin: 16px 0 20px; }
.faq__in .muted { margin-bottom: 24px; max-width: 30em; }
.faq__list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); background: var(--bg-2); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 52px 18px 20px;
  font: 400 21px/1.1 var(--display); text-transform: uppercase; color: var(--tan);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 1.5px; background: var(--muted); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- randevu + iletişim ---------- */
.book__in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px 72px; align-items: start; }
.book__info { display: grid; gap: 28px; }
.info h3 { font-size: 22px; color: var(--tan); margin-bottom: 8px; }
.info p { color: var(--text); }
.info a { color: var(--text); }
.info a:hover { color: var(--tan); }
.hours { border-collapse: collapse; width: 100%; max-width: 280px; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 2px 0; color: var(--muted); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--tan); font-weight: 600; }
.book__main h2 { margin-bottom: 14px; }
.form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font: 400 16px/1 var(--display); text-transform: uppercase; color: var(--tan); }
.form .opt { font-family: var(--body); text-transform: none; color: var(--muted); font-size: 13px; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 16px var(--body); color: var(--text);
  background: transparent; border: 1px solid var(--line); border-radius: 0;
  padding: 12px 14px; min-height: 48px;
  color-scheme: dark;
}
.form select option { background: var(--bg); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--tan); }
.form__err { color: #E07A62; font-size: 14px; }
.form__err:empty { display: none; }
.map { margin-top: 32px; border: 1px solid var(--line); height: 300px; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(.9) contrast(.9); }

/* ---------- footer ---------- */
.foot { background: var(--tan); color: #000; overflow: hidden; }
.foot__word {
  font: 400 clamp(120px, 31vw, 440px)/.78 var(--display);
  text-align: center; color: rgba(0, 0, 0, .22);
  padding-top: clamp(24px, 4vw, 48px); letter-spacing: -.01em;
  user-select: none;
}
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 24px; font-size: 14px; border-top: 1px solid rgba(0,0,0,.18); }

/* ---------- sabit butonlar ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; gap: 12px; justify-items: center; }
.fab__btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(20,20,20,.94); color: var(--tan);
  cursor: pointer; text-decoration: none; padding: 0;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.7);
  transition: transform .15s, background-color .15s, opacity .2s, visibility .2s;
}
.fab__btn:hover { transform: translateY(-2px); }
.fab__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fab__top { width: 44px; height: 44px; opacity: 0; visibility: hidden; }
.fab__top.is-on { opacity: 1; visibility: visible; }
.fab__bot { background: var(--tan); color: #000; border-color: var(--tan); }
.fab__bot svg circle { fill: currentColor; stroke: none; }
.fab__wa { width: 60px; height: 60px; background: var(--wa); color: #fff; border-color: var(--wa); }
.fab__wa svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }

/* ---------- asistan ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bot {
  position: fixed; right: 88px; bottom: 20px; z-index: 80;
  width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100svh - 120px));
  display: grid; grid-template-rows: auto 1fr auto auto;
  background: var(--bg); border: 1px solid rgba(187,157,129,.35);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.85);
  padding: 0; border-top: 0;
}
.bot[hidden] { display: none; }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-top: 3px solid var(--tan); border-bottom: 1px solid var(--line); }
.bot__head img { border-radius: 50%; }
.bot__head h2 { font-size: 22px; color: var(--tan); }
.bot__head p { font-size: 13px; color: var(--muted); line-height: 1.3; }
.bot__x { margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.bot__x svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }
.bot__log { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 13px; font-size: 15px; line-height: 1.45; white-space: pre-line; }
.msg--bot { background: var(--bg-2); border: 1px solid var(--line); align-self: flex-start; }
.msg--me { background: var(--tan); color: #000; align-self: flex-end; }
.msg a { color: var(--tan); font-weight: 600; }
.msg--typing { color: var(--muted); letter-spacing: 3px; }
.bot__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chip { flex: 0 1 auto; max-width: 100%; padding: 5px 9px; font: 500 12px/1.3 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tan); background: transparent; border: 1px solid rgba(187,157,129,.45); cursor: pointer; }
.chip:hover { background: var(--tan); color: #000; }
.bot__form { display: flex; border-top: 1px solid var(--line); }
.bot__form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: 400 16px var(--body); padding: 14px 16px; }
.bot__form input:focus { outline: none; }
.bot__form button { width: 52px; background: var(--tan); border: 0; color: #000; cursor: pointer; display: grid; place-items: center; }
.bot__form button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- açılış ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
  .hero__photo { animation: rise 1s .2s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
}

/* ---------- duyarlı ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .top__bar { justify-content: space-between; }
  .hero__in, .about__top, .head--split, .faq__in, .book__in { grid-template-columns: 1fr; }
  .hero__photo { justify-self: start; width: min(100%, 440px); }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__mid { grid-column: 1 / -1; grid-row: 1; }
  .ph--short { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  }

@media (max-width: 600px) {
  .top { top: 10px; }
  .brand { font-size: 20px; }
  .hero__in { padding-top: 104px; gap: 36px; }
  .hero h1 { font-size: clamp(52px, 16vw, 80px); }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 150px; }
  .hero__photo { width: calc(100% - 14px); }
  .cards { gap: 24px 10px; }
  .card__t { font-size: 21px; }
  .card__d { font-size: 13px; }
  .strip { gap: 10px; }
  .form { grid-template-columns: 1fr; }
  .faq summary { font-size: 19px; }

  .fab { right: 14px; bottom: 14px; gap: 10px; }
  .fab__btn { width: 48px; height: 48px; }
  .fab__top { width: 40px; height: 40px; }
  .fab__wa { width: 56px; height: 56px; }
  .bot { right: 0; left: 0; bottom: 0; width: 100%; height: min(86svh, 640px); border-left: 0; border-right: 0; }
}

/* ---------- kaydırma animasyonu ---------- */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
.card.rv.in img { animation: unveil 1.1s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms); }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- mobil ince ayarlar ---------- */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
a, button, summary { -webkit-tap-highlight-color: rgba(187,157,129,.25); touch-action: manipulation; }
.top { padding-top: env(safe-area-inset-top); }
@media (max-width: 600px) {
  .foot__in { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .fab { right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); }
  .bot { height: min(80svh, 600px); padding-bottom: env(safe-area-inset-bottom); }
  .q { width: 82vw; padding: 20px; }
  .head--center h2 { font-size: clamp(38px, 11vw, 56px); }
  .form input, .form select, .form textarea, .bot__form input { font-size: 16px; } /* iOS yakınlaştırmasını engeller */
  .map { height: 260px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 48px; }
  .btn { padding: 0 16px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero__in { padding-top: 96px; }
  .hero__photo { width: min(100%, 300px); }
  .bot { height: calc(100svh - 24px); bottom: 12px; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 24px; }
.nf__in { display: grid; gap: 18px; justify-items: center; }
.nf h1 { font-size: clamp(56px, 12vw, 120px); color: var(--tan); }
@media (max-width: 600px) {
  .info a, .foot a { display: inline-block; padding: 10px 0; }
}
.about__grid > .ph img { object-position: 50% 30%; }
@media (min-width: 961px) { .about__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .about__grid { grid-template-columns: 1fr; } .about__mid { grid-row: auto; } .ph--short { display: block; aspect-ratio: 4 / 3; } }

/* galeri: 3 fotoğraf */
.strip { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:first-child { grid-column: 1 / -1; }
  .strip figure:first-child img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
}
