/* ============ Base & Tokens ============ */
:root {
  --bg: #0f0f10;
  --bg-soft: #17181b;
  --bg-card: #1d1f23;
  --bg-card-hover: #25282d;
  --line: #2a2d33;
  --text: #f2efe8;
  --text-dim: #a09a8d;
  --text-mute: #6b6760;
  --accent: #c9a87c;
  --accent-strong: #d4af37;
  --accent-soft: rgba(201, 168, 124, 0.12);
  --danger: #e85d5d;
  --success: #4cc38a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent-strong); }

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

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-dark {
  background: var(--bg-soft);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-dim);
  margin: 0 0 36px;
  font-size: 1rem;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  min-height: 48px;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #1a1410;
}
.btn-primary:hover {
  background: var(--accent-strong);
  color: #1a1410;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 168, 124, 0.3);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.02);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  min-height: 54px;
}

.btn-block {
  width: 100%;
}

.link-button {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 8px 16px;
  margin-top: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-button:hover { color: var(--accent); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 15, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}
.logo:hover { color: var(--accent); }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--text); }

/* ============ Hero ============ */
.hero {
  padding: 120px 0 100px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 124, 0.1), transparent 55%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent);
}

.hero-inner {
  text-align: center;
  max-width: 720px;
}

.hero-eyebrow {
  color: var(--text-mute);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  margin: 0 0 24px;
  letter-spacing: -0.035em;
  line-height: 1;
  background: linear-gradient(180deg, var(--text) 0%, #d8d2c5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-slogan {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

/* ============ Hizmetler ============ */
.hizmetler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.hizmet-kart {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
}
.hizmet-kart:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hizmet-kart h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
}

.hizmet-fiyat {
  margin: 12px 0 0;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
}

/* ============ Booking ============ */
.booking-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.booking-step {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  opacity: 0.55;
  transition: opacity 0.3s;
}
.booking-step:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}
.booking-step.aktif { opacity: 1; }
#tarih-secimi { opacity: 1; }

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.step-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.step-yardim {
  color: var(--text-mute);
  font-size: 0.9rem;
  margin: 0 0 12px;
  font-style: italic;
}
.aktif .step-yardim { display: none; }

/* Tarih kartları */
.tarih-listesi {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gun-kart {
  flex: 0 0 76px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  color: var(--text);
  transition: all 0.15s;
  scroll-snap-align: start;
  position: relative;
}
.gun-kart:hover:not(.kapali) {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
.gun-kart.secili {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1410;
}
.gun-kart.kapali {
  opacity: 0.4;
  cursor: not-allowed;
}

.gun-kisa {
  font-size: 0.75rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.gun-kart.secili .gun-kisa { color: rgba(26, 20, 16, 0.7); }

.gun-no {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.kapali-label {
  font-size: 0.65rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Saat slotları */
.saat-listesi {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}

.saat-kart {
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.15s;
  text-align: center;
  position: relative;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.saat-kart:hover:not(.dolu) {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
.saat-kart.secili {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1410;
}
.saat-kart.dolu {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: var(--text-mute);
}
.dolu-label {
  font-size: 0.65rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.saat-kart.kendi {
  cursor: not-allowed;
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.kendi-label {
  font-size: 0.62rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Hizmet seçim (radio) */
.hizmet-secim {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.hizmet-radio {
  display: block;
  cursor: pointer;
}
.hizmet-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hizmet-radio-icerik {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.hizmet-radio:hover .hizmet-radio-icerik {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
.hizmet-radio input:checked + .hizmet-radio-icerik {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.hizmet-radio-ad {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
.hizmet-radio-detay {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Form fields */
.form-icerik { margin-top: 8px; }

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
}

.form-group { margin-bottom: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input[type="text"],
input[type="tel"],
textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.15s;
  min-height: 48px;
}
input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-card-hover);
}
textarea { resize: vertical; min-height: 80px; }

.form-hata {
  color: var(--danger);
  font-size: 0.9rem;
  margin: 8px 0 16px;
}
.form-hata:empty { display: none; }

.form-altyazi {
  margin: 16px 0 0;
  color: var(--text-mute);
  font-size: 0.85rem;
  text-align: center;
}

/* ============ Onay ekranı ============ */
.randevu-onay {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: onayIn 0.5s ease-out;
}
.randevu-onay.gizli { display: none; }
.booking-form.gizli { display: none; }

@keyframes onayIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.onay-ikon {
  margin: 0 auto 16px;
  width: 80px;
  height: 80px;
}

.checkmark {
  width: 80px;
  height: 80px;
}
.checkmark-circle {
  stroke: var(--success);
  stroke-width: 2.5;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark-check {
  stroke: var(--success);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}
@keyframes stroke {
  to { stroke-dashoffset: 0; }
}

.onay-baslik {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 8px 0 8px;
}

.onay-mesaj {
  color: var(--text-dim);
  margin: 0 0 28px;
}

.onay-ozet {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 0 auto 24px;
  max-width: 420px;
  text-align: left;
}

.ozet-satir {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.ozet-satir:last-child { border-bottom: none; }
.ozet-satir span { color: var(--text-dim); }
.ozet-satir strong { color: var(--text); font-weight: 600; }

.onay-aksiyonlar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

/* ============ İletişim ============ */
.iletisim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.iletisim-liste {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.iletisim-liste li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.iletisim-liste li:last-child { border-bottom: none; }
.iletisim-liste strong {
  color: var(--text-mute);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.iletisim-liste a,
.iletisim-liste span {
  color: var(--text);
  font-size: 1rem;
}

.harita-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--bg-card);
}
.harita-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
}

/* ============ Footer ============ */
.site-footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--text-mute);
  font-size: 0.9rem;
}

/* ============ Mobile ============ */
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .hero { padding: 80px 0 64px; }
  .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.18em; margin-bottom: 20px; }
  .hero-slogan { font-size: 1rem; margin-bottom: 32px; }
  .nav { display: none; }
  .booking-form { padding: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .iletisim-grid { grid-template-columns: 1fr; gap: 32px; }
  .randevu-onay { padding: 36px 20px; }
  .onay-aksiyonlar { flex-direction: column; }
  .onay-aksiyonlar .btn { width: 100%; }
}
