/* index.css v2025-11-16-0002 */
/* =========================
   BASE / RESETS
========================= */
*,
*::before,
*::after{ box-sizing:border-box; margin:0; padding:0 }
html,body{ height:100% }
html{ overflow-x:hidden }
body{
  font-family:'Inter','Helvetica Neue',Arial,sans-serif;
  background:#f7f7f7; color:#222;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; display:block }
[hidden]{ display:none !important }
.container{ max-width:1200px; margin:0 auto; padding:0 1rem }
body.no-scroll{ overflow:hidden }

/* === Sayfa scroll kilidi (search açıkken) === */
body.wb-lock{
  overflow:hidden !important;
  position:fixed !important;
  width:100% !important;
  left:0; right:0;
  /* Not: top değeri JS ile atanacak (mevcut scroll korunur) */
}

/* =========================
   THEME TOKENS
========================= */
:root{
  --brand:#0ea5b3;            /* Webey ana renk (teal) */
  --brand-strong:#0b6ef4;     /* Eski CTA gradyan (kullanılmıyor) */
  --ring:#93c5fd;
  --bg-soft:#f7f7f7;
  --text:#111827;

  --radius:12px;
  --radius-lg:20px;
  --shadow-1:0 4px 10px rgba(0,0,0,.08);
  --shadow-2:0 12px 28px rgba(0,0,0,.12);
  --shadow-3:0 24px 64px rgba(0,0,0,.35);

  --z-splash:4000;
  --z-navbar:999;
  --z-ac:1300;        /* Autocomplete panel */
  --z-toast:3000;
  --z-modal:10030;    /* Sabit MODAL katmanı (AUTH vb.) */

  /* DOB sabitleme: tek satır yüksekliği */
  --dob-row: 44px;

  /* Navbar tonları + Profilim rengi */
  --nav-bg: rgba(22,24,28,.86);
  --nav-grad-top: rgba(0,0,0,.48);
  --nav-grad-btm: rgba(0,0,0,.30);
  --nav-accent:#0ea5b3;            /* Giriş Yap butonu rengi */
  --nav-accent-hover:#0a8f9e;

  /* Dinamik aksan (JS ile güncellenir) */
  --accent: var(--nav-accent);
  --accent-ink:#fff;
}

/* Genel focus halkası helper */
:where(a,button,[role="button"],.rec-card,.district-toggle,.auth-input,.list-btn,.profile,.scroll-btn):focus-visible{
  outline:2px solid var(--ring);
  outline-offset:2px;
  border-radius:12px;
}

/* Metin seçimi */
::selection{ background:rgba(14,165,179,.25); color:inherit }

/* =========================
   SPLASH (Webey Preloader)
========================= */
#splashOverlay{
  position:fixed; inset:0; z-index:var(--z-splash);
  display:grid; place-items:center;
  background:
    radial-gradient(1600px 900px at 20% -10%, rgba(14,165,179,.18), transparent 60%),
    radial-gradient(1400px 800px at 120% 20%, rgba(11,110,244,.12), transparent 60%),
    #0b0f1a;
  color:#fff;
  transition:opacity .28s ease, visibility .28s ease;
}
#splashOverlay[aria-hidden="true"]{ pointer-events:none }
#splashOverlay.closing{ opacity:0; visibility:hidden }

.splash-card{
  width:min(520px,92vw);
  padding:28px 24px 22px;
  border-radius:var(--radius-lg);
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow:var(--shadow-3);
  text-align:center;
}
.splash-logo{
  font-weight:800; letter-spacing:.2px;
  font-size:clamp(26px,5vw,32px);
  display:inline-flex; align-items:center; gap:10px;
}
.splash-logo .dot{
  width:12px; height:12px; border-radius:999px; background:var(--brand);
  box-shadow:0 0 0 6px rgba(14,165,179,.25);
}
.splash-sub{ margin-top:8px; color:#e5e7eb; font-size:14px }
.splash-row{ margin-top:18px; display:flex; align-items:center; justify-content:center; gap:12px }
.spinner{
  width:42px; height:42px; border-radius:50%;
  border:3px solid rgba(255,255,255,.18);
  border-top-color:var(--brand);
  animation:spin 1s linear infinite
}
@keyframes spin{ to{ transform:rotate(360deg) } }
@media (prefers-reduced-motion: reduce){
  .spinner{ animation:spin 2.2s linear infinite }
}

/* =========================
   NAVBAR
========================= */
.navbar{
  position:fixed; inset:0 0 auto 0; height:64px;
  padding:12px 40px;
  display:flex; align-items:center; justify-content:space-between;
  background:var(--nav-bg);
  color:#fff;
  box-shadow:var(--shadow-1); z-index:var(--z-navbar);
  opacity:0; transform:translateY(-100%); transition:all .4s ease;
  backdrop-filter:blur(6px);
}
/* Tema/override durumlarında her zaman tıklanabilir kalsın */
.navbar, .hero-navbar-right { pointer-events:auto }
.navbar .profile, .hero-navbar-right .profile { pointer-events:auto }

.navbar.visible{ opacity:1; transform:translateY(0) }

/* görünüm durumları */
.navbar.transparent{
  background:linear-gradient(to bottom,var(--nav-grad-top),var(--nav-grad-btm));
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
}
.navbar.solid{
  background:rgba(24,26,30,.92);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.10);
  backdrop-filter:saturate(1.1) blur(8px);
}

/* Logo */
.logo-text{
  font-size:24px; font-weight:600; white-space:nowrap; min-width:0; overflow:hidden; text-overflow:ellipsis;
  cursor:pointer; transition:transform .3s;
  color:#fff; background:transparent; border:0; padding:0; box-shadow:none; text-shadow:none;
}
.logo-text:hover{ transform:scale(1.05) }
.navbar.solid .logo-text{ color:#fff; text-shadow:none }

/* arama */
.search-section{
  flex:1; display:flex; align-items:center; justify-content:center;
  gap:12px; margin:0 40px; max-width:680px; min-width:0;
}
.search-section .search-box{
  display:flex; align-items:center; gap:8px; min-width:180px; height:44px; padding:10px 16px;
  background:#fff; border-radius:10px; box-shadow:0 2px 6px rgba(0,0,0,.06);
}
.search-section .search-box i{ color:#888; font-size:16px }
.search-section .search-box input{ flex:1; border:none; outline:none; background:transparent; font-size:14px; color:#333 }
.right-section{ display:flex; align-items:center; gap:18px; min-width:0; }

.navbar .right-section .profile,
.navbar .right-section .to-profile{
  display:inline-flex; align-items:center; gap:6px;
  padding:10px 18px; border-radius:999px; font-weight:600; font-size:14px; white-space:nowrap;
  text-decoration:none; background:var(--nav-accent); color:#fff; border:none;
  box-shadow:0 6px 18px rgba(0,0,0,.15);
}
.navbar .right-section .profile:hover,
.navbar .right-section .to-profile:hover{ background:var(--nav-accent-hover) }
.navbar .right-section .profile i,
.navbar .right-section .to-profile i{ font-size:16px }

.navbar.solid .right-section .profile,
.navbar.solid .right-section .to-profile{
  background:var(--nav-accent); color:#fff; border:none;
}

.list-btn{
  padding:10px 16px; border:none; border-radius:8px; font-size:14px; font-weight:600; background:#fff; color:#000;
  cursor:pointer; transition:background-color .3s; text-decoration:none !important;
}
.list-btn:hover{ background:#eaeaea }

/* mobil */
@media (max-width:768px){
  .search-section{ display:none }
  .navbar{
    padding-left:max(16px, env(safe-area-inset-left)); padding-right:max(16px, env(safe-area-inset-right));
    background:var(--nav-bg); color:#fff;
  }
  .right-section{ gap:10px }
  .navbar .right-section .profile,
  .navbar .right-section .to-profile{ padding:8px 12px; font-size:13px }
  .list-btn{ padding:8px 12px; font-size:13px }
  .logo-text{ font-size:20px }
}

/* =========================
   HERO
========================= */
.hero-section{ position:relative; width:100%; height:75vh; min-height:520px; overflow:hidden }
.hero-video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
  filter:contrast(1.05) saturate(1.05);
}
body.hero-paused .hero-video{ filter:contrast(1.02) saturate(1.02) brightness(.96) }

.hero-overlay{
  position:relative; z-index:2; height:100%;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  text-align:center; padding:0 20px; color:#fff;
}
.hero-overlay::before{ content:""; position:absolute; inset:0; z-index:-1; background:rgba(0,0,0,.45); pointer-events:none }
.hero-logo{ position:absolute; top:20px; left:28px; font:600 24px/1 'Inter',sans-serif; color:#fff; z-index:5; cursor:pointer; transition:transform .3s }
.hero-logo:hover{ transform:scale(1.06) }

.animated-heading{ font-size:clamp(40px,5.2vw,54px); font-weight:600; line-height:1.15; letter-spacing:.2px; margin-bottom:18px; color:#fff }
.animated-heading span{ display:inline-block; opacity:0; animation:letterIn .35s forwards }
.fade-out span{ opacity:0; transition:opacity .3s }

.hero-overlay p{ font-size:18px; font-weight:400; max-width:640px; margin-bottom:26px; color:#eee }

.hero-overlay .search-box{
  display:flex; align-items:center; gap:12px; width:92%; max-width:560px;
  background:#fff; border-radius:10px; padding:14px 18px; margin-bottom:34px;
  box-shadow:0 6px 24px rgba(0,0,0,.15)
}
.search-icon{ color:#8f8f8f }
.hero-overlay .search-box input{ flex:1; border:none; background:transparent; outline:none; font-size:16px; color:#222 }

/* --- Kayda devam et CTA (hero) --- */
.resume-cta{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 16px; border:0; border-radius:999px;
  background:var(--brand); color:#fff; font-weight:800; cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,.2);
  transition:filter .2s ease, transform .06s ease;
  margin-bottom:12px;
}
.resume-cta i{ font-size:16px }
.resume-cta:hover{ filter:brightness(1.05) }
.resume-cta:active{ transform:translateY(1px) }

.hero-navbar-right{
  position:absolute; top:24px; right:48px; display:flex; align-items:center; gap:16px; z-index:4
}
.hero-navbar-right .profile{
  background:var(--brand, #0081a7); color:#fff; border:none; border-radius:999px; padding:10px 18px; font-weight:600; font-size:14px; cursor:pointer;
  transition:background .25s,transform .1s; display:inline-flex; align-items:center; gap:6px; box-shadow:0 4px 14px rgba(0,0,0,.2)
}
.hero-navbar-right .profile:hover{ background:#0a8f9e }
.hero-navbar-right .profile:active{ transform:translateY(1px) }
.hero-navbar-right .list-btn{
  background:#fff; color:#111; border:none; border-radius:999px; padding:10px 18px; font-weight:600; font-size:14px;
  box-shadow:0 4px 14px rgba(0,0,0,.2)
}
.hero-navbar-right .profile i,
.hero-navbar-right .to-profile i{ font-size:16px }
.hero-navbar-right .profile,
.hero-navbar-right .to-profile{ text-decoration:none; }

/* =========================
   HERO MENU
========================= */
.hero-menu{
  position:absolute; left:50%; bottom:18px; transform:translateX(-50%);
  width:100%; max-width:1280px; padding:0 48px;
  display:flex; flex-wrap:wrap; justify-content:center; column-gap:40px; row-gap:14px;
  font-size:15px; font-weight:500; color:#fff; z-index:3;
}
.hero-menu a,.hero-menu span{
  color:#fff; text-decoration:none; white-space:nowrap; cursor:pointer; position:relative; padding-bottom:6px; transition:color .25s;
}
.hero-menu a::after,.hero-menu span::after{
  content:""; position:absolute; left:0; bottom:0; width:100%; height:2px; background:#fff;
  transform:scaleX(0); transform-origin:left; transition:transform .25s;
}
.hero-menu a:hover::after,.hero-menu a.active::after{ transform:scaleX(1) }

#heroSec.has-appt .hero-video{ display:none }
#heroSec.has-appt #heroOverlay{ display:none }

/* =========================
   APPOINTMENT HERO
========================= */
.appt-hero[hidden]{ display:none !important }
.appt-hero{
  position:relative; z-index:2; height:100%;
  display:flex; align-items:center; justify-content:center; padding:24px;
  background:radial-gradient(1200px 600px at 30% 10%, rgba(0,0,0,.35), rgba(0,0,0,.65));
  color:#fff;
}
.appt-hero .hero-navbar-right .profile{ background:var(--brand,#0081a7) }
.appt-hero-card{
  width:min(1100px, 92vw);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(10px) saturate(1.2);
  border:1px solid rgba(255,255,255,.18);
  border-radius:20px;
  display:grid; grid-template-columns:1.1fr .9fr; gap:14px;
  padding:20px;
  box-shadow:var(--shadow-3);
}
.ah-left{ display:flex; flex-direction:column; gap:12px; min-width:0 }
.ah-status{
  display:inline-flex; align-items:center; gap:6px;
  background:#16a34a; color:#fff; font-weight:800; font-size:12px;
  padding:6px 10px; border-radius:999px; letter-spacing:.2px; width:max-content;
}
.ah-title{ font-size:clamp(22px,3.2vw,28px); font-weight:800 }
.ah-biz{ display:flex; align-items:center; gap:10px }
.ah-biz img{ width:44px; height:44px; border-radius:10px; object-fit:cover; background:#fff }
.ah-bizname{ font-weight:800 }
.ah-addr{ color:#e5e7eb; font-size:14px }
.ah-when{ font-weight:700; color:#e8e8e8 }
.ah-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:4px }
.btn-primary{ background:#fff; color:#111; border:none; border-radius:12px; padding:12px 16px; font-weight:800; text-decoration:none }
.btn{ background:transparent; border:1px solid rgba(255,255,255,.5); color:#fff; border-radius:12px; padding:11px 14px; text-decoration:none; font-weight:700 }
.btn-ghost{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); color:#fff; border-radius:12px; padding:11px 14px; text-decoration:none; font-weight:700 }

:where(button,a)[data-loading="1"],
.auth-btn[data-loading="1"]{ position:relative; pointer-events:none; opacity:.85; }
:where(button,a)[data-loading="1"]::after,
.auth-btn[data-loading="1"]::after{
  content:""; position:absolute; right:12px; top:50%; transform:translateY(-50%);
  width:18px; height:18px; border-radius:50%;
  border:2px solid #fff; border-top-color:transparent;
  animation:spin .9s linear infinite;
}

.ah-map{ position:relative; border-radius:16px; overflow:hidden; border:1px solid rgba(255,255,255,.18); min-height:260px }
.ah-map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; pointer-events:none }
.ah-map .pin{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-100%); width:22px; height:22px; border-radius:50%;
  background:#ef4444; box-shadow:0 0 0 6px rgba(239,68,68,.25); outline:2px solid #fff; outline-offset:2px;
}

/* =========================
   RECOMMENDED
========================= */
.recommended-section{ margin-top:60px }
.recommended-header{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1.25rem }
.recommended-header h2{ margin:0; font-size:1.6rem; font-weight:600; letter-spacing:-.2px; color:#1a1b1e }
.rec-viewport{ position:relative; overflow:hidden }
.rec-track{
  display:flex; gap:18px; padding:0 .5rem; overflow-x:auto; scroll-behavior:smooth; scrollbar-width:none;
  outline:none;
}
/* Kart linkinin alt cizgisini tamamen kapat */
.rec-card,
.rec-card:link,
.rec-card:visited,
.rec-card:hover,
.rec-card:active{
  text-decoration: none !important;
  color: inherit;
}

.rec-track:focus{ outline:2px solid var(--ring); outline-offset:4px; border-radius:12px }
.rec-track::-webkit-scrollbar{ display:none }
.rec-card{
  min-width:320px; max-width:320px; border:1px solid #e6e6e6; border-radius:16px; background:#fff; overflow:hidden; position:relative;
  transition:transform .25s ease, box-shadow .25s ease; flex-shrink:0;
  content-visibility:auto; contain-intrinsic-size: 320px 180px;
}
.rec-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-2) }
.rec-card:focus-visible{ transform:translateY(-4px); box-shadow:0 0 0 3px rgba(11,110,244,.35), var(--shadow-2) }

/* img wrap — iki sınıf ismi de destekleniyor */
.rec-imgwrap,
.rec-img-wrap{ background:#eee; aspect-ratio:16/9; }
.rec-imgwrap img,
.rec-img-wrap img{ display:block; width:100%; aspect-ratio:16/9; object-fit:cover }

.rec-info{ padding:.75rem 1rem }
.rec-name{ margin:0 0 .25rem; font-size:1rem; font-weight:700; line-height:1.2; color:#1f2937 }
.rec-sub{ margin:0; font-size:.9rem; color:#6b7280 }
.rec-price{ margin-top:.35rem; font-weight:800; letter-spacing:.2px; color:#111 }
.rec-empty{ padding:18px; text-align:center; color:#6b7280 }

/* Eski isim desteği */
.rec-title{ margin:0 0 .25rem; font-size:1rem; font-weight:600; line-height:1.2; color:#1f2937 }
.rec-meta{ margin:0; font-size:.9rem; color:#6b7280 }

	/* Hover ok butonu */
.rec-arrow{
  position:absolute; right:10px; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:999px;
  border:1px solid #e5e7eb; background:#fff; display:grid; place-items:center; box-shadow:0 8px 20px rgba(0,0,0,.08);
  opacity:0; transition:.2s; pointer-events:none;
}
.rec-arrow i{ font-size:14px; color:#111 }
.rec-card:hover .rec-arrow,
.rec-card:focus-within .rec-arrow{ opacity:1; pointer-events:auto }

.scroll-btn{
  position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:999px; border:1px solid #e6e6e6; background:#fff;
  display:grid; place-items:center; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,.08); transition:background .3s,color .3s;
}
.scroll-btn.left{ left:-6px }
.scroll-btn.right{ right:-6px }
.scroll-btn:hover{ background:#111; color:#fff }
.scroll-btn:disabled{ opacity:.5; pointer-events:none }

.rec-card.disabled{ pointer-events:none; box-shadow:none; opacity:.9 }
.rec-card.disabled:hover{ transform:none; box-shadow:none }

/* =========================
   CITY (İstanbul İlçeleri)
========================= */
.city-section{ padding:80px 40px; text-align:center }
.city-section h2{ text-align:center; font-size:clamp(26px,5vw,44px); margin-bottom:10px }
.city-hint{ text-align:center; color:#666; margin-bottom:24px }
.districts-wrap{ max-width:1200px; margin:0 auto 40px; padding:0 16px }
.districts-grid{ display:grid; gap:8px 64px; grid-template-columns:repeat(4,minmax(220px,1fr)) }
@media (max-width:1100px){ .districts-grid{ grid-template-columns:repeat(3,minmax(220px,1fr)) } }
@media (max-width:800px){ .districts-grid{ grid-template-columns:repeat(2,minmax(200px,1fr)); column-gap:32px } }
@media (max-width:560px){ .districts-grid{ grid-template-columns:1fr; column-gap:16px } }
.district-col{ list-style:none; margin:0; padding:0 }
.district-item{ border-bottom:1px solid #eee; content-visibility:auto; contain-intrinsic-size: 24px 20px; }
.district-toggle{
  width:100%; display:flex; align-items:center; gap:10px; background:transparent; border:0; padding:12px 0; cursor:pointer; font-size:18px; color:#222; text-align:left;
}
.district-toggle i{ color:#138e9b; width:18px; text-align:center; transition:transform .12s ease }
.district-toggle[aria-expanded="true"] i{ transform:rotate(90deg) }
.district-panel{ display:none; padding:0 0 12px 28px }
.district-panel[data-open="true"]{ display:block }
.district-actions{ display:flex; gap:12px; flex-wrap:wrap; align-items:center }
.district-actions a{ padding:0; border:none; background:transparent; color:#0b6ef4; font-weight:700; text-decoration:none }
.district-actions a:hover{ text-decoration:underline }

/* =========================
   FOOTER
========================= */
.footer{ background:#111; color:#eee; font-size:15px; line-height:1.6; padding:48px 32px 40px }
.foot-bottom{ max-width:1240px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:22px }
.foot-brand{ display:flex; align-items:center; gap:18px; font-size:14px }
.foot-logo{ font-size:24px; font-weight:600; color:#fff }
.foot-social{ display:flex; gap:14px; align-items:center }
.foot-social a{ text-decoration:none !important; color:inherit }
.foot-social .social-btn{
  display:grid; place-items:center; width:44px; height:44px; border-radius:999px;
  background: radial-gradient(100% 100% at 50% 0%, #2a2f3a 0%, #1f232d 100%);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 6px 16px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.foot-social .social-btn i{ font-size:18px; line-height:1 }
.foot-social .social-btn:hover{ transform:translateY(-1px); box-shadow:0 10px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.1); filter:brightness(1.05) }
.foot-social .social-btn:focus-visible{ outline:2px solid #60a5fa; outline-offset:2px }

/* =========================
   AUTH MODAL + TOAST
========================= */
.modal-overlay{
  position:fixed; inset:0; display:none; place-items:center;
  background:rgba(15,23,42,.45); backdrop-filter:blur(8px) saturate(1.1);
  -webkit-backdrop-filter:blur(8px) saturate(1.1);
  padding:20px; z-index:var(--z-modal);
  opacity:0; transition:opacity .2s ease;
}
.modal-overlay.active{ display:grid; opacity:1 }
.modal-box{
  width:min(520px,92vw);
  background:
    radial-gradient(120% 140% at 100% 0%, #ffffff 0%, #f8fafc 70%) no-repeat;
  color:#0f172a; border:1px solid rgba(2,6,23,.06); border-radius:var(--radius-lg);
  box-shadow:0 20px 60px rgba(0,0,0,.25), 0 1px 0 rgba(255,255,255,.4) inset;
  position:relative; overflow:hidden; animation:pop .2s ease-out;
}
.modal-close{
  position:absolute; top:10px; right:10px; width:36px; height:36px;
  border-radius:12px; border:1px solid rgba(2,6,23,.08);
  background:#fff; display:grid; place-items:center; cursor:pointer; color:#0f172a;
  z-index:2; transition:all .15s ease;
}
.modal-close:hover{ background:#f3f4f6; transform:translateY(-1px) }

.modal-title-center{ text-align:center; font-weight:800; font-size:20px; margin-bottom:4px }
.modal-subtitle{ text-align:center; color:#475569; font-size:13.5px; margin:-2px 0 10px }

.auth-container{ padding:22px 20px 24px; display:grid; gap:16px }
.auth-tabs{ display:flex; gap:8px; justify-content:center }
.auth-tab{
  padding:8px 14px; border-radius:999px; border:1px solid rgba(2,6,23,.08);
  background:#f8fafc; cursor:pointer; font-weight:700; color:#0f172a; transition:all .15s ease;
}
.auth-tab.active{ background:#111827; color:#fff; border-color:#111827 }

.auth-form{ display:none; max-width:380px; margin:0 auto }
.auth-form.active{ display:block }
.auth-form h2{ text-align:center; margin:6px 0 12px }

.field-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:10px }
.form-row{ display:flex; align-items:center; gap:10px }
.field{ display:block }

.auth-input{
  width:100%; padding:13px 14px; border:1px solid #e5e7eb; border-radius:12px;
  font-size:15px; background:#fff; transition:border .12s, box-shadow .12s; margin-bottom:10px;
}
.auth-input:focus{ outline:none; border-color:#93c5fd; box-shadow:0 0 0 4px rgba(59,130,246,.15) }

/* Telefon/OTP */
.auth-input[type="tel"]{ letter-spacing:.5px }

/* Şifre göz ikonu */
.password-wrap{ position:relative; }
.auth-form input[type="password"]{ padding-right:48px }
.toggle-eye{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  width:36px; height:36px; display:grid; place-items:center;
  border:0; background:transparent; color:#6b7280; cursor:pointer; border-radius:8px;
}
.toggle-eye:hover{ background:#f3f4f6; color:#111 }
.toggle-eye:focus-visible{ outline:2px solid #93c5fd; outline-offset:2px }

/* OTP */
#otpForm input[name="code"]{ text-align:center; letter-spacing:6px; font-weight:800; font-size:20px; }
#otpForm input[name="code"]::placeholder{ letter-spacing:6px; color:#9ca3af }

/* Resend */
.resend-otp{
  background:transparent; border:0; padding:8px 8px; margin-top:6px;
  font-weight:700; color:var(--nav-accent); cursor:pointer; border-radius:8px;
  text-decoration:none !important;
}
.resend-otp:hover{ background:rgba(14,165,179,.1); text-decoration:none !important }

/* Select */
select.auth-input{
  -webkit-appearance:none; -moz-appearance:none; appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px);
  background-size:5px 5px, 5px 5px;
  background-repeat:no-repeat;
  padding-right:34px;
}
select.auth-input:disabled{ color:#9ca3af; background:#f8fafc }

/* İpuçları */
.form-hint, .phone-hint{ color:#475569; font-size:12.5px; }
.info-card{
  background:#f1f5f9; border:1px solid #e2e8f0; color:#334155;
  padding:10px 12px; border-radius:12px; font-size:13px; margin:6px 0 10px;
}

/* Link */
.link{ color:var(--nav-accent); text-decoration:none; font-weight:600 }
.link:hover{ text-decoration:underline }

/* Buton (Giriş Yap rengine sabitlendi) */
.auth-btn{
  width:100%; padding:13px; border:none; border-radius:12px; font-weight:800;
  background:var(--nav-accent); color:#fff; cursor:pointer; letter-spacing:.2px;
  transition:transform .06s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow:0 6px 18px rgba(14,165,179,.28);
}
.auth-btn:hover{ filter:brightness(1.04) }
.auth-btn:active{ transform:translateY(1px) }
.auth-btn:disabled{
  filter:grayscale(.2);
  opacity:.7;
  cursor:not-allowed;
  box-shadow:none;
}

.error{ color:#dc2626; font-size:13px; min-height:18px; margin:8px 0 4px }

/* SR-Only */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* TR telefon (ülke kodu kutusu) */
.phone-row{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.cc-box{
  display:flex; align-items:center; gap:8px;
  min-width:110px; justify-content:center;
  padding:12px 14px; border:1px solid #e5e7eb; border-radius:12px;
  background:#fff; color:#0f172a; font-weight:800;
}
.cc-box .flag{ font-size:16px; line-height:1 }
.cc-box .cc{ letter-spacing:.2px }
.phone-input{ flex:1; }
.phone-row .auth-input{ margin-bottom:0; }
.phone-hint{ color:#6b7280; font-size:12px; margin-top:4px; margin-bottom:8px; }

/* OTP alan düzeni */
.otp-area{ display:grid; gap:8px; margin-top:6px }
.otp-area input{ text-align:center; letter-spacing:2px }

/* Toast (kalıcı olarak altta) */
.toast{
  position:fixed; left:50%; bottom:24px; transform:translateX(-50%) translateY(20px);
  background:#16a34a; color:#fff; font-weight:700; padding:12px 16px; border-radius:10px; box-shadow:0 12px 30px rgba(0,0,0,.2);
  opacity:0; pointer-events:none; z-index:var(--z-toast); transition:.25s;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0) }

/* =========================
   ADRES / KİMLİK MODALLARI
========================= */
#nameModal .info-card{ margin-top:2px }
#addressModal #streetInput{ display:none }
#addressModal .auth-input{ margin-bottom:12px }
#neighborhoodSelect.auth-input{ min-height:44px }

/* ==== Aramalı il / ilçe / mahalle modalı (adres) ==== */
.picker-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.36);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:calc(var(--z-modal) + 5);
}
.picker-overlay.active{
  display:flex;
}
.picker-sheet{
  width:min(420px, calc(100% - 32px));
  max-height:72vh;
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 18px 50px rgba(15,23,42,.35);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.picker-header{
  padding:10px 16px;
  border-bottom:1px solid #e2e8f0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:14px;
  font-weight:600;
  color:#0f172a;
}
.picker-close-btn{
  border:none;
  background:transparent;
  color:#64748b;
  cursor:pointer;
  padding:4px 6px;
  border-radius:999px;
}
.picker-close-btn:hover{
  background:#f1f5f9;
}
.picker-search{
  padding:8px 16px 4px;
}
.picker-search input{
  width:100%;
  height:40px;
  border-radius:10px;
  border:1px solid #e2e8f0;
  padding:0 12px;
  font-size:13px;
  background:#f9fafb;
}
.picker-search input:focus{
  outline:2px solid transparent;
  border-color:#bfdbfe;
  box-shadow:0 0 0 3px rgba(37,99,235,.25);
  background:#ffffff;
}
.picker-list{
  padding:4px 0 6px;
  overflow-y:auto;
  max-height:320px;
}
.picker-item{
  width:100%;
  text-align:left;
  border:none;
  background:#ffffff;
  padding:9px 16px;
  font-size:14px;
  cursor:pointer;
}
.picker-item:hover{
  background:#eff6ff;
}
.picker-item.selected{
  background:#e0f2fe;
  font-weight:600;
}
.picker-empty{
  padding:10px 16px;
  font-size:13px;
  color:#9ca3af;
}

/* =========================
   SADECE MOBİL OVERRIDE
========================= */
@media (max-width:860px){
  .hero-section::before,
  .hero-section::after,
  .hero-overlay::before{ content:none !important; background:transparent !important; box-shadow:none !important }
  .hero-overlay{ background:transparent !important }

  .navbar{
    transform:translateY(-100%); opacity:0; pointer-events:none;
    background:var(--nav-bg); color:#fff;
  }
  body.scrolled .navbar,
  .navbar.visible{ transform:translateY(0); opacity:1; pointer-events:auto }

  body{ padding-top:0 }

  /* TAM EKRAN + üstten kadraj */
  .hero-section{ height:100svh; min-height:100svh; padding-top:16px; padding-bottom:16px }

  /* MOBİL: video yerine fotoğraf (yük bindirmesin) */
  #heroSec{
    background:url('video/indexPhoto.jpg') center top / cover no-repeat #000;
  }
  .hero-video{ display:none !important; }

  .hero-navbar-right{ display:flex; justify-content:center; gap:.5rem; margin-top:calc(env(safe-area-inset-top) + 56px) }

  .rec-viewport .scroll-btn{ display:none }
  .rec-track{ -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; padding:0 12px }
  .rec-track > *{ scroll-snap-align:start }
  .rec-card{ min-width:clamp(240px, 86vw, 320px); max-width:86vw }

  .container{ padding:0 12px }
  .city-section{ padding:40px 16px }
  .districts-wrap{ padding:0 12px }
  .foot-bottom{ flex-direction:column; align-items:center; text-align:center; gap:.6rem }

  .navbar .logo-text{ font-weight:700; font-size:20px; color:#fff }
  .hero-logo{ font-weight:700; font-size:24px; color:#fff }

  .appt-hero-card{ grid-template-columns:1fr; }
  .ah-map{ min-height:220px }
}

/* =========================
   ANIMATIONS
========================= */
@keyframes pop{ from{ transform:translateY(8px) scale(.985); opacity:0 } to{ transform:none; opacity:1 } }
@keyframes letterIn{ from{ opacity:0; transform:translateY(20px) } to{ opacity:1; transform:translateY(0) } }

@media (prefers-reduced-motion: reduce){
  .animated-heading span{ animation:none; opacity:1 }
  .fade-out span{ transition:none }
  .navbar{ transition:none }
  .scroll-btn{ transition:none }
}

/* ===== DOB picker (wheel → buton görünümü) ===== */
.dobp-overlay{
  position:fixed; inset:0; display:grid; place-items:center;
  background:rgba(15,23,42,.45); backdrop-filter:blur(8px);
  z-index:calc(var(--z-modal) + 10);
  -webkit-user-select:none; user-select:none;
}
.dobp-box{
  width:min(460px, 92vw); border-radius:16px; background:#fff; color:#0f172a;
  border:1px solid #e5e7eb; box-shadow:0 20px 60px rgba(0,0,0,.25);
  padding:14px 14px 12px;
}
.dobp-head{ font-weight:800; font-size:18px; text-align:center; margin:6px 0 12px }

/* Viewport + rail (JS ile eklenen .dobp-rail için) */
.dobp-viewport{ position:relative; height:260px; overflow:hidden }
.dobp-rail{
  position:absolute; left:10px; right:10px; top:50%; height:var(--dob-row);
  margin-top:calc(-1 * var(--dob-row) / 2);
  border:2px dashed rgba(59,130,246,.25);
  border-radius:12px; pointer-events:none; box-sizing:border-box;
  box-shadow:0 1px 0 #fff inset,0 -1px 0 #fff inset;
}

.dobp-wheel{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr 1.2fr;
  gap:8px;
  padding:8px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#f8fafc;
  margin-bottom:12px;
  height:220px;
}
.dobp-col{
  overflow-y:auto;
  /* JITTER FIX */
  scroll-snap-type:none !important;
  overflow-anchor:none;

  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  scrollbar-width:thin;

  background:#fff;
  border-radius:10px;
  border:1px solid #eef2f7;
  -webkit-user-select:none;
  user-select:none;
  padding:8px;
}
.dobp-col::-webkit-scrollbar{ width:6px }
.dobp-col::-webkit-scrollbar-thumb{ background:#e5e7eb; border-radius:999px }

.dobp-opt{
  display:flex; align-items:center; justify-content:center;
  width:100%;
  height: var(--dob-row);
  padding:0 12px;
  border-radius:12px;
  border:1px solid #e2e8f0;
  background:#fff;
  font-weight:700; color:#111;
  text-align:center;
  cursor:pointer;
  transition: transform .06s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  margin:0;
  box-sizing:border-box;
}
.dobp-opt:hover{ background:#f3f6fb }
.dobp-opt:active{ transform:translateY(1px) }
.dobp-opt.is-active,
.dobp-opt[aria-selected="true"]{
  border-color:#93c5fd;
  box-shadow:0 0 0 3px rgba(59,130,246,.18);
  background:#eef6ff;
}

/* Eski sürümle uyumlu, rail yoksa merkez kılavuz için */
.dobp-wheel::after{
  content:"";
  position:absolute;
  left:8px; right:8px;
  top:50%;
  height: var(--dob-row);
  transform:translateY(-50%);
  border:2px dashed rgba(59,130,246,.25);
  border-radius:12px;
  pointer-events:none;
  box-sizing:border-box;
}

.dobp-mask{
  pointer-events:none; position:absolute; inset:0;
  background:linear-gradient(#f8fafc, rgba(248,250,252,0)), linear-gradient(rgba(248,250,252,0), #f8fafc);
  background-size:100% 30px, 100% 30px; background-repeat:no-repeat; background-position:top, bottom;
}
.dobp-actions{ display:flex; justify-content:flex-end; gap:10px }
.dobp-actions .btn-ghost{
  background:transparent; border:1px solid #e5e7eb; color:#111; border-radius:12px; padding:11px 14px; font-weight:700; cursor:pointer;
}

/* ===== Autocomplete (viewport-anchored) ===== */
.ac-panel{
  position:fixed; left:0; top:0;
  background:#fff; border:1px solid #e5e7eb; border-radius:12px;
  box-shadow:0 18px 40px rgba(0,0,0,.18), 0 2px 0 rgba(255,255,255,.4) inset;
  overflow:hidden; width:320px;
  z-index:var(--z-ac);
  will-change:transform, width, top, left;
}
.ac-panel[hidden]{ display:none !important; }
.ac-content{
  max-height:60vh; overflow:auto; overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.ac-section{
  padding:10px 14px; font-size:12px; font-weight:800; letter-spacing:.2px;
  color:#6b7280; background:#f8fafc; position:sticky; top:0; z-index:1;
  border-bottom:1px solid #eef2f7;
}
.ac-row{
  display:flex; align-items:center; gap:10px; width:100%;
  padding:10px 12px; background:#fff; border:0; cursor:pointer; text-align:left;
}
.ac-row:hover{ background:#f9fafb }
.ac-row.is-active{ background:#eef6ff; outline:2px solid rgba(59,130,246,.18); z-index:0 }
.ac-ico{ width:18px; display:inline-grid; place-items:center; opacity:.75 }
.ac-main{ display:flex; flex-direction:column; min-width:0 }
.ac-label{ font-weight:600; color:#111; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.ac-sub{ font-size:12.5px; color:#6b7280; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.ac-empty{ padding:14px; color:#6b7280 }

/* ===== Yeni: Scroll’a sabitlenen arama öneri paneli ===== */
.search-pop{
  position:fixed; left:0; top:0; z-index:var(--z-ac);
  min-width:280px; max-width:min(94vw, 620px);
  background:#fff; border-radius:12px; border:1px solid #eef2f7;
  box-shadow:0 8px 28px rgba(0,0,0,.2);
  overflow:hidden; will-change:top,left,width;
}
.search-pop .group-title{
  padding:10px 12px; font-size:12px; font-weight:800; letter-spacing:.2px;
  color:#6b7280; background:#f8fafc; border-bottom:1px solid #eef2f7; position:sticky; top:0; z-index:1;
}
.search-pop .sg-wrap{ max-height:54vh; overflow:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.search-pop .item{
  display:flex; gap:10px; align-items:center; width:100%;
  padding:10px 12px; background:#fff; border:0; border-top:1px solid #f3f4f6;
  cursor:pointer; text-align:left;
}
.search-pop .item i{ width:18px; color:#64748b }
.search-pop .item:hover{ background:#f9fafb }
.search-pop .item:focus-visible{ outline:2px solid rgba(59,130,246,.25); outline-offset:-2px; background:#eef6ff }
.search-pop .item[aria-selected="true"]{ background:#eef6ff }

/* ===== Mobil scroll hint + video bounce ===== */
.scroll-hint{
  position:absolute; left:50%; bottom:10px; transform:translateX(-50%); color:#fff;
  width:40px; height:40px; display:grid; place-items:center; border-radius:999px;
  background:rgba(0,0,0,.35);
  animation:hintPop .3s ease-out, hintBounce 1.2s ease-in-out 2 .5s;
  z-index:5;
}
.scroll-hint i{ font-size:18px }
@keyframes hintPop{ from{ transform:translateX(-50%) scale(.9); opacity:0 } to{ transform:translateX(-50%) scale(1); opacity:1 } }
@keyframes hintBounce{
  0%,100%{ transform:translateX(-50%) translateY(0) }
  50%{ transform:translateX(-50%) translateY(6px) }
}

/* Yeni: mobilde 0.5s x3 dikey squish intro */
@media (max-width:860px){
  .hero-video.bounce-intro{
    transform-origin:center 75%;
    animation:heroSquish .5s ease-in-out 3;
  }
}
@keyframes heroSquish{
  0%{ transform:scaleY(1) }
  33%{ transform:scaleY(.94) }
  66%{ transform:scaleY(1.02) }
  100%{ transform:scaleY(1) }
}

/* ==== Native date/time picker dokunuşları ==== */
.auth-input[type="date"],
.auth-input[type="time"]{ padding-right:44px }
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator{
  cursor:pointer;
  opacity:.75;
  padding:6px;
  margin-right:4px;
  border-radius:8px;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover{
  background:#eef2ff;
  opacity:1;
}

/* =========================
   TIME / FILTER OVERLAY (ortak)
========================= */
.time-overlay{
  position:fixed; inset:0; display:none; place-items:center;
  background:rgba(0,0,0,.45);
  z-index:var(--z-modal); /* Filtre için modal katmanı; Saat için JS inline zaten üstte */
}
.time-overlay.active{ display:grid }
.time-box{
  width:min(520px,92vw); max-height:min(85vh,720px); overflow:auto;
  background:#fff; border-radius:16px; padding:16px;
  border:1px solid #e5e7eb; box-shadow:0 20px 60px rgba(0,0,0,.25);
}

/* =========================
   SB TARİH MODALI (DATE=10040)
========================= */
#sb-date-overlay{
  position:fixed; inset:0; background:rgba(2,6,23,.45);
  display:none; place-items:center; z-index:10040; /* sabit DATE katmanı */
  backdrop-filter:blur(4px);
}
#sb-date-overlay.open{ display:grid }
.sb-date-box{
  width:min(520px, 94vw); background:#fff; border-radius:16px;
  border:1px solid #e5e7eb; box-shadow:0 24px 60px rgba(0,0,0,.25); padding:16px 16px 12px; position:relative;
}
.sb-date-close, #sb-date-close{
  position:absolute; top:10px; right:10px; border:1px solid #e5e7eb; background:#fff;
  width:34px; height:34px; border-radius:10px; cursor:pointer
}
.sb-date-head{ display:flex; align-items:center; justify-content:center; gap:10px; margin-top:8px }
.sb-date-head .month{ font-weight:800 }
.sb-date-head .nav{ width:36px; height:36px; border-radius:10px; border:1px solid #e5e7eb; background:#fff; cursor:pointer }
.sb-date-box .days-head{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; margin:10px 0 6px; padding:0 4px; color:#64748b; font-size:12px; text-align:center }
.sb-date-box .grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:6px; padding:0 4px }
.sb-date-box .grid span{ height:38px }
.sb-date-box .grid button{
  height:38px; border:1px solid #e5e7eb; background:#fff; border-radius:10px; cursor:pointer;
}
.sb-date-box .grid button[aria-disabled="true"]{ opacity:.5; cursor:not-allowed }
.sb-date-box .grid button.active{ background:var(--nav-accent); color:#fff; border-color:var(--nav-accent) }
.sb-date-box .chips{ display:flex; gap:8px; flex-wrap:wrap; margin:14px 4px 10px }
.sb-date-box .chips button{ border:1px solid #e5e7eb; background:#fff; border-radius:999px; padding:8px 12px; cursor:pointer }
.sb-date-box .chips button.active{ background:var(--nav-accent); color:#fff; border-color:var(--nav-accent) }
.sb-date-box .actions{ display:flex; justify-content:flex-end; gap:10px; margin-top:6px }
.sb-date-box .actions .clear{ border:1px solid #e5e7eb; background:#fff; border-radius:12px; padding:10px 14px; cursor:pointer }
.sb-date-box .actions .ok{ background:var(--nav-accent); color:#fff; border:none; border-radius:12px; padding:10px 14px; cursor:pointer }
.sb-date-box .actions .ok:hover{ filter:brightness(1.04) }

/* =========================
   BRAND TYPOGRAPHY (Webey italic)
   – HTML'de DM Serif Display importlu
========================= */
.logo-text,
.hero-logo,
.splash-logo,
.foot-logo,
.animated-heading{
  font-family:"DM Serif Display", serif !important;
  font-style:italic !important;
  letter-spacing:.2px;
  font-weight:600;
}

/* (BİTTİ) */
