/*
 * Süleyman Açku Hair Design: site görünümü.
 * Düzen: bordo açılışta dükkân fotoğrafı, logo ve söz; randevu kartı bandın üstüne biner.
 * Altında hizmet kartları, Süleyman'ın videosu, harita ve gün gün çalışma saatleri.
 * Renkler: bordo ve krem (beyaz kullanılmaz). Yazılar logodan gelir: başlıklar Bodoni Moda, metinler Jost.
 */

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/fonts/bodoni-moda-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(/fonts/bodoni-moda-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/jost-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/jost-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Renkler: bordo ve krem. Sayfada beyaz yok; en açık yüzey de kremdir. */
  --wine: #6b1223;
  --wine-deep: #4f0c19;
  --wine-hover: #7e1b2f;
  --cream: #f8f3c8; /* sayfa zemini */
  --paper: #fffdd0; /* kart, kutu ve alanlar: daha açık krem */
  --cream-deep: #efe7b8; /* üzerine gelince ve ayırıcı zeminler */
  --blush: #eddcd3; /* bordo-krem karışımı */
  --blush-line: #ddc5ba;
  --ink: #33101a;
  --muted: #74474f;
  --input-line: #c6aba1;
  --on-wine: #fffdd0;
  --on-wine-soft: #dcc4c0;
  --line-on-wine: rgba(255, 253, 208, 0.24);
  --ok: #6b1223;
  --ok-bg: #e9d0c9;
  --wait: #6b1223;
  --wait-bg: #f1e4d4;
  --no: #4f0c19;
  --no-bg: #e6cbc4;
  --focus: var(--wine);

  /* Yazı */
  --display: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif;
  --sans: 'Jost', 'Century Gothic', Futura, 'Segoe UI', system-ui, sans-serif;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5rem;
  --fs-xl: clamp(1.875rem, 1.45rem + 1.5vw, 2.5rem);
  --fs-hero: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);

  /* Ölçüler */
  --wrap: 72rem;
  --radius: 4px;
  --band: clamp(3rem, 2rem + 4vw, 5rem);
  --header: 4.5rem;

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* "hidden" her zaman gizler; display veren sınıflar bunu ezmesin. */
[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.visually-hidden,
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.anchor {
  position: absolute;
  top: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--wine);
  border-radius: var(--radius);
}

.skip:focus {
  top: 12px;
}

.muted {
  color: var(--muted);
}

/* ------------------------------ Düğmeler ----------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.375rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font: 500 1rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.btn--wine {
  background: var(--wine);
  color: var(--on-wine);
}

.btn--wine:hover {
  background: var(--wine-hover);
}

.btn--cream {
  background: var(--cream);
  color: var(--wine);
}

.btn--cream:hover {
  background: var(--cream-deep);
}

.btn--line {
  border-color: var(--wine);
  color: var(--wine);
  background: transparent;
}

.btn--line:hover {
  background: var(--blush);
}

.btn--large {
  min-height: 56px;
  padding: 0 1.75rem;
  font-size: var(--fs-base);
}

.btn--compact {
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.9375rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.text-link {
  color: var(--wine);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

/* ------------------------------ Üst bant ----------------------------- */

.site-header {
  --focus: var(--on-wine);
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--wine);
  color: var(--on-wine);
  border-bottom: 1px solid var(--line-on-wine);
}

.site-header__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  width: 40px;
  height: auto;
  display: block;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.375rem;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: none;
  gap: 1.75rem;
}

.nav-link {
  color: var(--on-wine-soft);
  text-decoration: none;
  font-size: 1rem;
  padding-block: 0.375rem;
  border-bottom: 1px solid transparent;
}

.nav-link:hover {
  color: var(--on-wine);
  border-bottom-color: currentColor;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--line-on-wine);
  border-radius: 3px;
  color: var(--on-wine);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lang:hover {
  border-color: var(--on-wine-soft);
}

.menu {
  position: relative;
}

.menu__toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  list-style: none;
  border-radius: 3px;
}

.menu__toggle::-webkit-details-marker {
  display: none;
}

.menu__bars,
.menu__bars::before,
.menu__bars::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--on-wine);
  content: '';
  transition: transform 0.15s ease;
}

.menu__bars {
  position: relative;
}

.menu__bars::before {
  position: absolute;
  top: -7px;
}

.menu__bars::after {
  position: absolute;
  top: 7px;
}

.menu[open] .menu__bars {
  background: transparent;
}

.menu[open] .menu__bars::before {
  transform: translateY(7px) rotate(45deg);
}

.menu[open] .menu__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

.menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  display: flex;
  flex-direction: column;
  min-width: 15rem;
  padding: 0.75rem 1.25rem;
  background: var(--wine-deep);
  border: 1px solid var(--line-on-wine);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(20, 2, 6, 0.6);
}

.menu__panel .nav-link {
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line-on-wine);
}

.menu__panel .nav-link:last-child {
  border-bottom: 0;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .menu {
    display: none;
  }

  .site-header__actions {
    margin-left: 1.5rem;
  }
}

@media (max-width: 479px) {
  .brand__name {
    display: none;
  }
}

/* ---------- Açılış: dükkân fotoğrafı arka planda, üstünde logo; altında söz ---------- */

.hero {
  --focus: var(--on-wine);
  background: var(--wine);
  color: var(--on-wine);
  padding-bottom: clamp(5.5rem, 4.5rem + 3vw, 7rem);
}

/* Fotoğraf kenardan kenara; aşağı doğru bordoya karışır, yazılar bordonun üstünde başlar. */
.hero__media {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(20rem, 58vh, 34rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 60% at 50% 48%, rgba(51, 6, 15, 0.45), rgba(51, 6, 15, 0) 70%),
    linear-gradient(to bottom, rgba(79, 12, 25, 0.55) 0%, rgba(107, 18, 35, 0.35) 40%, rgba(107, 18, 35, 0.85) 80%, var(--wine) 100%);
}

.hero__logo {
  line-height: 0;
}

.hero__lockup {
  display: block;
  width: clamp(9rem, 7rem + 9vw, 14rem);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(30, 4, 10, 0.55));
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__kicker {
  color: var(--on-wine-soft);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__statement {
  margin-top: 0.5rem;
  font-family: var(--display);
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.hero__lead {
  margin-top: 1rem;
  max-width: 40ch;
  color: var(--on-wine-soft);
  font-size: var(--fs-md);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn--ghost {
  border-color: var(--line-on-wine);
  color: var(--on-wine);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--on-wine-soft);
  background: rgba(255, 253, 208, 0.06);
}

@media (max-width: 719px) {
  .hero__media {
    height: clamp(18rem, 52vh, 26rem);
  }

  .hero__lead {
    font-size: var(--fs-base);
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 9rem;
    padding-inline: 1rem;
    white-space: nowrap;
  }
}

/* -------------------- Randevu kartı (bandın üstüne biner) ------------ */

.booker-band {
  padding-bottom: var(--band);
  background: linear-gradient(var(--wine) 0 4rem, var(--cream) 4rem);
}

.booker {
  position: relative;
  margin-top: -4rem;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 30px 60px -36px rgba(42, 10, 18, 0.55);
}

.booker__tabs {
  display: flex;
  border-bottom: 1px solid var(--blush-line);
}

.booker__tab {
  flex: 1 1 0;
  min-height: 3.75rem;
  padding: 0 1rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: 500 1.0625rem/1.2 var(--sans);
  cursor: pointer;
}

.booker__tab:first-child {
  border-top-left-radius: 8px;
}

.booker__tab:last-child {
  border-top-right-radius: 8px;
}

.booker__tab:hover {
  color: var(--ink);
  background: var(--cream);
}

.booker__tab[aria-selected='true'] {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

@media (min-width: 720px) {
  .booker__tab {
    flex: 0 0 auto;
    padding: 0 2rem;
  }
}

.booker__panel {
  padding: clamp(1.25rem, 0.75rem + 2vw, 2.25rem);
}

.booker__panel:focus {
  outline: none;
}

.booker__form {
  display: grid;
  gap: 2rem;
}

.booker__when,
.booker__who {
  display: grid;
  gap: 1.75rem;
  align-content: start;
  min-width: 0;
}

@media (min-width: 960px) {
  .booker__form {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .booker__who {
    padding-left: 3rem;
    border-left: 1px solid var(--blush-line);
  }
}

.booker__intro {
  max-width: 56ch;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.step__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  margin-bottom: 1rem;
  font-family: var(--display);
  font-size: var(--fs-lg);
  color: var(--ink);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--wine);
  color: var(--on-wine);
  font: 500 0.9375rem/1 var(--sans);
}

.step__hint {
  margin-bottom: 1rem;
  color: var(--muted);
}

/* Seçim kutuları: gizli radio + görünür etiket */
.choice {
  position: relative;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.choice input:disabled {
  cursor: not-allowed;
}

.choice:has(input:focus-visible) {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

.days {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 4px 4px 10px;
  margin: -4px -4px 0;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.day {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 5.25rem;
  padding: 0.625rem 0.5rem 0.5rem;
  border: 1px solid var(--blush-line);
  border-radius: 3px;
  background: var(--cream);
  text-align: center;
  scroll-snap-align: start;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.day:hover {
  border-color: var(--wine);
}

.day__rel {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.3;
}

.day__num {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--wine);
  font-variant-numeric: lining-nums;
}

.day__month {
  font-size: 0.875rem;
  line-height: 1.3;
}

.day__state {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--muted);
}

.day:has(input:checked) {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--on-wine);
}

.day:has(input:checked) .day__rel,
.day:has(input:checked) .day__num,
.day:has(input:checked) .day__state {
  color: var(--on-wine);
}

.day:has(input:disabled) {
  background: transparent;
  border-style: dashed;
  opacity: 0.6;
}

.day:has(input:disabled):hover {
  border-color: var(--blush-line);
}

.times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
  gap: 0.5rem;
}

.time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border: 1px solid var(--blush-line);
  border-radius: 3px;
  background: var(--cream);
  color: var(--wine);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.time:hover {
  border-color: var(--wine);
}

.time:has(input:checked) {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--on-wine);
}

.time:has(input:disabled) {
  background: transparent;
  border-style: dashed;
  color: #9a7f80;
}

.time:has(input:disabled) .slot__time {
  text-decoration: line-through;
  text-decoration-color: var(--wine);
}

/* Onay bekleyen saat: seçilemez, üstü çizili değil; altında "onay bekliyor" yazar. */
.time--pending:has(input:disabled) {
  border-style: solid;
  border-color: var(--blush-line);
  background: var(--blush);
  color: var(--muted);
}

.time--pending:has(input:disabled) .slot__time {
  text-decoration: none;
}

.slot__note {
  margin-top: 0.125rem;
  font-size: 0.6875rem;
  line-height: 1.15;
  font-weight: 500;
  text-align: center;
  color: var(--wine);
}

.step__note {
  margin-top: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 3px;
  background: var(--blush);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.45;
}

.slot__time {
  font-family: var(--display);
  font-size: 1.1875rem;
  line-height: 1.1;
  font-variant-numeric: lining-nums tabular-nums;
}

.slot__night {
  font-size: 0.75rem;
  line-height: 1.2;
  opacity: 0.85;
}

/* Hizmet seçimi: adlar, fiyat yok */
.service-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pick {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.375rem 1rem;
  border: 1px solid var(--blush-line);
  border-radius: 999px;
  background: var(--cream);
  font-size: 1rem;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.pick:hover {
  border-color: var(--wine);
}

.pick:has(input:checked) {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--on-wine);
}

/* Form alanları */
.fields {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) and (max-width: 959px) {
  .booker__who .fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.field__label {
  font-weight: 500;
}

.field__hint {
  font-size: 0.875rem;
  color: var(--muted);
}

.field__error {
  font-size: 0.9375rem;
  color: var(--no);
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--input-line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  font: 400 var(--fs-base) / 1.4 var(--sans);
}

.input:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(107, 18, 35, 0.18);
}

.input[aria-invalid='true'] {
  border-color: var(--no);
}

.input--code {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}

textarea.input {
  min-height: 6.5rem;
  resize: vertical;
}

.summary {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--blush);
}

.summary__title {
  font-family: var(--display);
  font-size: var(--fs-md);
  color: var(--wine);
  margin-bottom: 0.5rem;
}

.summary__empty {
  color: var(--muted);
}

.facts {
  display: grid;
  gap: 0.375rem;
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

.fineprint,
.helpline {
  font-size: 0.875rem;
  color: var(--muted);
}

.helpline .text-link {
  margin-left: 0.25rem;
  white-space: nowrap;
}

.form-error,
.notice {
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  background: var(--no-bg);
  color: var(--no);
}

.notice {
  background: var(--blush);
  color: var(--ink);
}

.form-error a {
  color: inherit;
  font-weight: 500;
}

/* Talep gönderildi, durum ve önceki talep kartları */
.done,
.result {
  padding: clamp(1.25rem, 0.75rem + 2vw, 2rem);
  border: 1px solid var(--blush-line);
  border-radius: 6px;
  background: var(--cream);
}

.done:focus,
.result:focus {
  outline: none;
}

.done__title,
.result__title {
  font-family: var(--display);
  font-size: var(--fs-xl);
  line-height: 1.12;
  color: var(--wine);
  margin-top: 0.75rem;
}

.done__text,
.result__text {
  margin-top: 0.5rem;
  max-width: 52ch;
  color: var(--muted);
}

.done .facts,
.result .facts {
  margin-top: 1.25rem;
}

.code-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--blush);
}

.code-box__label {
  font-weight: 500;
}

.code-box__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.25rem;
}

.code-box__code {
  font-family: var(--display);
  font-size: 2.25rem;
  letter-spacing: 0.14em;
  color: var(--wine);
  font-variant-numeric: lining-nums;
  user-select: all;
}

.code-box__help {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.saved {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  background: var(--blush);
}

.saved__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.saved__label {
  font-size: 0.875rem;
  color: var(--muted);
}

.saved__when {
  font-weight: 500;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.pill::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.pill--pending {
  background: var(--wait-bg);
  color: var(--wait);
}

.pill--confirmed {
  background: var(--ok-bg);
  color: var(--ok);
}

.pill--rejected,
.pill--expired,
.pill--cancelled {
  background: var(--no-bg);
  color: var(--no);
}

.pill--done {
  background: var(--blush);
  color: var(--muted);
}

/* Randevu durumu sekmesi */
.lookup {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}

.fields--lookup {
  align-items: start;
}

.lookup__submit {
  justify-self: start;
}

@media (min-width: 720px) {
  .fields--lookup {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }

  .lookup__submit {
    margin-top: calc(1.5rem + 0.375rem + 1px);
  }
}

.result {
  margin-top: 1.5rem;
  max-width: 52rem;
}

.result__reason {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  background: var(--blush);
}

.cancel-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--blush-line);
}

.cancel-form__title {
  font-family: var(--display);
  font-size: var(--fs-md);
  color: var(--wine);
}

.cancel-form .btn {
  justify-self: start;
}

/* ------------------------- Bölüm başlıkları -------------------------- */

.band {
  padding-block: var(--band);
}

.band--blush {
  background: var(--blush);
}

.section-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

.section-title {
  font-family: var(--display);
  font-size: var(--fs-xl);
  line-height: 1.1;
  color: var(--wine);
}

.section-intro {
  max-width: 48ch;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.45;
}

/* ------------------------- Öne çıkan hizmetler ----------------------- */

.svc-cards {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* İki sütun; tek kalan son kart tam genişlik olur. */
@media (min-width: 600px) and (max-width: 959px) {
  .svc-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-card:nth-child(odd):last-child {
    grid-column: 1 / -1;
  }
}

/* Üç sütun (6'lık ızgarada ikişer). Son satırda iki kart kalırsa yarı yarıya, bir kart kalırsa tam genişlik. */
@media (min-width: 960px) {
  .svc-cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .svc-card {
    grid-column: span 2;
  }

  .svc-card:nth-child(3n + 1):nth-last-child(2),
  .svc-card:nth-child(3n + 1):nth-last-child(2) + .svc-card {
    grid-column: span 3;
  }

  .svc-card:nth-child(3n + 1):last-child {
    grid-column: 1 / -1;
  }
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.5rem;
  border: 1px solid var(--blush-line);
  border-radius: 6px;
  background: var(--paper);
  transition:
    border-color 0.15s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.svc-card:hover {
  border-color: var(--wine);
  box-shadow: 0 22px 40px -30px rgba(42, 10, 18, 0.55);
}

@media (prefers-reduced-motion: no-preference) {
  .svc-card:hover {
    transform: translateY(-2px);
  }
}

.svc-card__num {
  font-family: var(--display);
  font-size: 0.9375rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.svc-card__name {
  margin-top: 0.75rem;
  font-family: var(--display);
  font-size: var(--fs-lg);
  line-height: 1.15;
  color: var(--wine);
}

.svc-card__text {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.svc-card__book {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--wine);
  font-weight: 500;
  text-decoration: none;
}

/* Kartın tamamı tıklanır; odak halkası kartta görünür. */
.svc-card__book::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
}

.svc-card__book:focus-visible {
  outline: none;
}

.svc-card:has(.svc-card__book:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.svc-card:hover .svc-card__book {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

/* --------------------- Ustanın elinden: yazı ve video ----------------- */

.craft {
  --focus: var(--on-wine);
  padding-block: var(--band);
  background: var(--wine-deep);
  color: var(--on-wine);
}

.craft__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  /* Video varken iki sütun; yokken yazı tek sütun. */
  .craft__grid:has(.reel) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(3rem, 1rem + 5vw, 6rem);
  }
}

.craft__kicker {
  color: var(--on-wine-soft);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.craft__title {
  margin: 0.5rem 0 1.25rem;
  font-family: var(--display);
  font-size: var(--fs-xl);
  line-height: 1.1;
}

.craft__text {
  max-width: 52ch;
  color: var(--on-wine-soft);
}

.craft__text + .craft__text {
  margin-top: 0.875rem;
}

.craft__subtitle {
  margin: 1.75rem 0 0.75rem;
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 500;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  padding: 0.25rem 0.875rem;
  border: 1px solid var(--line-on-wine);
  border-radius: 999px;
  font-size: 0.9375rem;
}

.craft__insta {
  margin-top: 1.5rem;
  color: var(--on-wine-soft);
}

.craft .text-link {
  color: var(--on-wine);
}

.reel {
  justify-self: center;
  width: min(100%, 22rem);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 8px;
  background: #1e050b;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.9);
}

.reel__poster {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.reel__poster img,
.reel__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel__poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 5, 11, 0.55), rgba(30, 5, 11, 0) 45%);
}

.reel__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--paper);
  color: var(--wine);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}

.reel__play svg {
  margin-left: 4px;
}

.reel__poster:hover .reel__play {
  transform: translate(-50%, -50%) scale(1.06);
}

.reel__poster:focus-visible {
  outline-offset: -4px;
}

/* ---------------- Konum: harita, gün gün saatler, iletişim ------------ */

.visit__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .visit__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

.visit__map {
  display: block;
  width: 100%;
  height: clamp(20rem, 46vh, 30rem);
  border: 1px solid var(--blush-line);
  border-radius: 6px;
  background: var(--cream-deep);
}

@media (min-width: 900px) {
  .visit__map {
    height: 100%;
    min-height: 28rem;
  }
}

/* Harita açılmadan önceki kapak: bulanık harita, tam ortada "Haritayı gör". Haritayla aynı boyda. */
.map-gate {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(20rem, 46vh, 30rem);
  overflow: hidden;
  border: 1px solid var(--blush-line);
  border-radius: 6px;
  background: var(--cream-deep);
  isolation: isolate;
}

@media (min-width: 900px) {
  .map-gate {
    height: 100%;
    min-height: 28rem;
  }
}

.map-gate__bg {
  position: absolute;
  inset: -12px;
  z-index: -2;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  max-width: none;
  object-fit: cover;
}

.map-gate::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(248, 243, 200, 0.15), rgba(107, 18, 35, 0.12));
}

.map-gate__button {
  gap: 0.5rem;
  box-shadow: 0 16px 34px -14px rgba(42, 10, 18, 0.65);
}

.map-gate__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.map-gate__credit {
  position: absolute;
  right: 0.5rem;
  bottom: 0.375rem;
  color: var(--muted);
  font-size: 0.6875rem;
}

.week-hours {
  padding: 1.5rem;
  border-radius: 6px;
  background: var(--wine);
  color: var(--on-wine);
}

.week-hours__title {
  margin-bottom: 0.75rem;
  font-family: var(--display);
  font-size: var(--fs-lg);
}

.week-hours__list {
  margin: 0;
}

.week-hours__list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line-on-wine);
}

.week-hours__list dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.week-hours__list dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--on-wine-soft);
}

.week-hours__list .is-today dt,
.week-hours__list .is-today dd {
  color: var(--on-wine);
  font-weight: 500;
}

.week-hours__today {
  padding: 0.0625rem 0.5rem;
  border-radius: 999px;
  background: var(--on-wine);
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 500;
}

.week-hours__note {
  margin-top: 0.875rem;
  color: var(--on-wine-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

/* Telefonda iki sütun; uzun Instagram adı son satırı tek başına kaplar. */
@media (max-width: 599px) {
  .contact-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  /* Adres ve Instagram tek başına tam satır: uzun Instagram adı tek satıra sığar. */
  .contact-tiles li:nth-child(n + 3) {
    grid-column: 1 / -1;
  }

  .contact-tile {
    padding: 1rem 0.875rem;
  }

  /* Numara ve Instagram adı bölünmesin; dar telefonda yazı biraz küçülür. */
  .contact-tile__value {
    white-space: nowrap;
    font-size: clamp(0.9375rem, 0.55rem + 2.4vw, 1.0625rem);
  }

  /* Açık adres uzun; satıra sığmazsa alta geçer. */
  .contact-tile__value--wrap {
    white-space: normal;
  }
}

.contact-tile {
  display: grid;
  gap: 0.125rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--blush-line);
  border-radius: 6px;
  background: var(--paper);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.contact-tile:hover {
  border-color: var(--wine);
}

.contact-tile__icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--wine);
}

.contact-tile__label {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-tile__value {
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.contact-tile__action {
  margin-top: 0.5rem;
  color: var(--wine);
  font-weight: 500;
}

.contact-tile:hover .contact-tile__action {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

/* ---------------- Yorum: "Sitemizi ve hizmetimizi beğendin mi?" ------------ */

.review-box:empty {
  display: none;
}

.review-box {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--blush-line);
}

.review {
  display: grid;
  gap: 0.625rem;
  justify-items: start;
}

.review__title {
  font-family: var(--display);
  font-size: var(--fs-lg);
  line-height: 1.2;
  color: var(--wine);
}

.review__text {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Yıldızlar sağdan sola dizilir; üzerine gelinen ve solundakiler dolar. */
.stars {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.25rem;
  margin: 0.25rem 0 0;
  padding: 0;
  border: 0;
}

.stars__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.stars__star {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--blush-line);
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.12s ease, transform 0.12s ease;
}

.stars__input:checked ~ .stars__star,
.stars__star:hover,
.stars__star:hover ~ .stars__star {
  color: var(--wine);
}

.stars__input:focus-visible + .stars__star {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .stars__star:hover {
    transform: scale(1.08);
  }
}

.review__hint {
  min-height: 1.4em;
  color: var(--wine);
  font-size: 0.9375rem;
  font-weight: 500;
}

.review__comment {
  width: 100%;
  min-height: 5rem;
  resize: vertical;
}

.review__thanks {
  padding: 0.875rem 1rem;
  border-radius: 4px;
  background: var(--blush);
  color: var(--ink);
  font-weight: 500;
}

/* ------------------- KVKK: form notu ve aydınlatma metni ------------- */

/* "Aydınlatma Metni'ni okudum" kutusu: işaretlenmeden talep gönderilmez. */
.ack__label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  cursor: pointer;
}

.ack__label input {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0.0625rem 0 0;
  accent-color: var(--wine);
  cursor: pointer;
}

.ack .field__error {
  margin-top: 0.375rem;
  padding-left: 2.125rem;
}

.legal-band {
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--band);
}

.legal {
  max-width: 46rem;
  margin-inline: auto;
  padding: clamp(1.25rem, 0.75rem + 2.5vw, 2.75rem);
  border: 1px solid var(--blush-line);
  border-radius: 8px;
  background: var(--paper);
}

.legal__title {
  font-family: var(--display);
  font-size: var(--fs-xl);
  line-height: 1.12;
  color: var(--wine);
}

.legal__updated {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.legal__intro {
  margin-top: 1.25rem;
}

.legal__section {
  margin-top: 2rem;
}

.legal__heading {
  margin-bottom: 0.625rem;
  font-family: var(--display);
  font-size: var(--fs-lg);
  line-height: 1.2;
  color: var(--wine);
}

.legal p + p,
.legal ul + p,
.legal p + ul,
.legal__table + p {
  margin-top: 0.75rem;
}

.legal ul {
  margin: 0;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.375rem;
}

.legal__table {
  overflow-x: auto;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.legal th,
.legal td {
  padding: 0.75rem 0.625rem;
  border-bottom: 1px solid var(--blush-line);
  text-align: left;
  vertical-align: top;
}

.legal thead th {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.legal tbody th {
  font-weight: 500;
}

/* Telefonda tablo satırları kart gibi alt alta dizilir. */
@media (max-width: 639px) {
  .legal thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .legal tr {
    display: block;
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--blush-line);
  }

  .legal th,
  .legal td {
    display: block;
    padding: 0;
    border: 0;
  }

  .legal td {
    margin-top: 0.375rem;
    color: var(--muted);
  }

  .legal td::before {
    content: attr(data-label) ': ';
    color: var(--ink);
    font-weight: 500;
  }
}

.legal__back {
  margin-top: 2.5rem;
}

/* ------------------------- Bulunamadı sayfası ------------------------ */

.page-head {
  --focus: var(--on-wine);
  background: var(--wine);
  color: var(--on-wine);
  padding-block: clamp(4rem, 2rem + 8vw, 8rem);
}

.page-head__title {
  font-family: var(--display);
  font-size: var(--fs-hero);
  line-height: 1.05;
}

.page-head__intro {
  margin-top: 0.875rem;
  max-width: 58ch;
  color: var(--on-wine-soft);
  font-size: var(--fs-md);
}

.page-head__action {
  margin-top: 2rem;
}

/* -------------------------------- Alt bant --------------------------- */

.site-footer {
  --focus: var(--on-wine);
  background: var(--wine-deep);
  color: var(--on-wine-soft);
  padding-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.site-footer__logo {
  display: block;
  width: 6.5rem;
  height: auto;
  margin-bottom: 1rem;
}

.site-footer__title {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-wine);
  margin-bottom: 0.75rem;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.375rem;
}

.site-footer a {
  color: var(--on-wine-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-wine);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.site-footer__hours {
  margin: 0;
  display: grid;
  gap: 0.375rem;
}

.site-footer__hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__hours dd {
  margin: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line-on-wine);
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* --------------- Randevu kartı başlığı ve kişiye özel randevu sayfası --------------- */

.booker__heading {
  padding: clamp(1.25rem, 0.75rem + 2vw, 2rem) clamp(1.25rem, 0.75rem + 2vw, 2.25rem) 0;
  font-family: var(--display);
  font-size: var(--fs-xl);
  line-height: 1.1;
  color: var(--wine);
}

.link-box {
  margin-top: 0.25rem;
  font-size: var(--fs-base);
  overflow-wrap: anywhere;
}

.link-box a {
  color: var(--wine);
  font-weight: 500;
}

.actions--tight {
  margin-top: 0.75rem;
}

.manage-band {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.manage {
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--blush-line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 30px 60px -36px rgba(42, 10, 18, 0.45);
}

.manage__title {
  margin-top: 0.75rem;
  font-family: var(--display);
  font-size: var(--fs-xl);
  line-height: 1.12;
  color: var(--wine);
}

.manage__text {
  margin-top: 0.5rem;
  max-width: 52ch;
  color: var(--muted);
}

.manage .facts {
  margin-top: 1.25rem;
}
