/* Randevum Yanında - web sitesi.
   Renkler logodan: lacivert zemin, turkuazdan yeşile vurgu. Yazı: sistemin yuvarlak hatlı yüzü (logo yazısıyla uyumlu);
   özel bir yazı tipi kullanmak isterseniz --font değişkenini değiştirmeniz yeterli. */
:root {
  --navy: #0B2A5B; --navy-deep: #071C3F; --teal: #0E8F8C; --mint: #3FD0C4; --green: #23895A;
  --amber: #9A5B00; --danger: #B93030;
  --page: #F2F5F9; --card: #FFFFFF; --ink: #0E2038; --muted: #56677E; --line: #D8E0EA;
  --font: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root { --page: #081424; --card: #10223A; --ink: #EAF0F8; --muted: #9BAEC6; --line: #24395A; --teal: #3FD0C4; --green: #5AD49A; --amber: #F0B45A; --danger: #FF8A8A; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--page); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; outline: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.05rem; line-height: 1.3; font-weight: 700; }
a { color: var(--teal); }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); font-size: .9rem; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 6px; }

/* ---- üst çubuk */
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { border-radius: 9px; }
.wordmark { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; }
.wm-2 { color: var(--mint); }
#nav { display: flex; gap: 4px; flex-wrap: wrap; }
#nav a { color: #DCE6F5; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
#nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
#nav a[aria-current="page"] { background: rgba(63,208,196,.18); color: #fff; }
#nav a.cta { background: var(--mint); color: var(--navy-deep); }

/* ---- düğmeler ve form */
button, input, select, textarea { font: inherit; color: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; text-decoration: none; }
@media (prefers-color-scheme: dark) { .btn { background: #12A5A2; color: #04121F; } }
.btn:hover { filter: brightness(1.12); }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.btn.mint { background: var(--mint); color: var(--navy-deep); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost { background: transparent; color: var(--teal); padding-inline: 8px; }
.btn.danger { background: transparent; color: var(--danger); padding-inline: 8px; }
.btn.small { min-height: 38px; padding: 6px 12px; font-size: .9rem; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
label.f { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.in { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
textarea.in { min-height: 84px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: #12A5A2; flex: none; }
.grid2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.page { padding-block: 28px 56px; display: grid; gap: 18px; }
.narrow { width: min(460px, 100% - 32px); margin-inline: auto; }
.empty { text-align: center; color: var(--muted); padding: 36px 16px; }
.spin { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---- ana sayfa
   Kapak fotoğrafları: wwwroot/img/kapak-sol.jpg ve wwwroot/img/kapak-sag.jpg (yaklaşık 1200x900, 200 KB altı).
   Dosyalar yoksa yalnızca renkli zemin görünür. */
.hero2 { position: relative; isolation: isolate; color: #fff; padding-block: clamp(44px, 8vw, 110px); overflow: hidden;
  background: linear-gradient(100deg, #17B3AE 0 50%, #F07086 50% 100%); }
.hero-photo { position: absolute; inset: 0 50% 0 0; z-index: -1; background-size: cover; background-position: center; opacity: .9; }
.hero-photo.left { background-image: url(/img/kapak-sol.jpg); }
.hero-photo.right { inset: 0 0 0 50%; background-image: url(/img/kapak-sag.jpg); }
.hero2::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,28,63,.12), rgba(7,28,63,.42)); }
.hero-inner { text-align: center; max-width: 900px; }
.hero2 h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; text-shadow: 0 3px 18px rgba(0,0,0,.35); }
.hero2 .lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin: 14px auto 0; max-width: 52ch; color: #F3F7FB; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.searchbox { margin: 28px auto 0; max-width: 820px; text-align: left; }
.stabs { display: flex; gap: 4px; }
.stab { border: 0; padding: 10px 16px; border-radius: 12px 12px 0 0; background: rgba(255,255,255,.75); color: #0E2038; font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.stab[aria-selected="true"] { background: #fff; color: #E8657A; }
.srow { display: grid; gap: 10px; grid-template-columns: 1.3fr 1fr auto; background: #fff; padding: 12px; border-radius: 0 16px 16px 16px; box-shadow: 0 20px 50px rgba(3,12,30,.35); }
.srow .in { border-color: #D8E0EA; background: #fff; color: #0E2038; min-height: 50px; }
.sfield { display: grid; }
.btn.big { min-height: 50px; padding-inline: 28px; font-size: 1.05rem; }
@media (max-width: 640px) { .srow { grid-template-columns: 1fr; } }
.hero-chips { justify-content: center; margin-top: 18px; }
.hero-chips .chip { background: rgba(255,255,255,.92); color: #0E2038; border-color: transparent; text-decoration: none; }
.hero-chips .chip:hover { background: #fff; }

h2.center, .center { text-align: center; }
.feats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .feats { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.feat-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.5rem; margin-bottom: 14px;
  background: linear-gradient(135deg, #3FD0C4, #E8657A); }
.feat p { color: var(--muted); margin-top: 6px; }
.biz2 { background: var(--card); border-block: 1px solid var(--line); }
.kicker { color: #E8657A; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.biz2 h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.01em; }
.hl { color: #E8657A; }
.lead2 { font-size: 1.05rem; color: var(--muted); }
.biz2 .demo { box-shadow: 0 24px 60px rgba(3,12,30,.18); align-self: center; }
.app-band { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; }
.app-band .muted { color: #C9D6EA; }

/* Örnek saat seçici: sayfanın imzası. Dokunulan saat logodaki onay işaretine dönüşür. */
.demo { background: #fff; color: #0E2038; border-radius: 22px; padding: 20px; box-shadow: 0 24px 60px rgba(3,12,30,.45); }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.demo-head span { font-size: .85rem; color: #56677E; }
.demo .slots { margin-top: 14px; }
.demo-msg { margin-top: 14px; min-height: 1.5em; font-weight: 700; color: #23895A; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (min-width: 700px) { .slots.wide { grid-template-columns: repeat(6, 1fr); } }
.slot { white-space: nowrap; padding: 0 2px; font-size: .95rem; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.demo .slot { border-color: #D8E0EA; background: #fff; color: #0E2038; }
.slot:hover:not(:disabled) { border-color: #12A5A2; }
.slot:disabled { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.slot[aria-pressed="true"] { background: linear-gradient(135deg, #12A5A2, #2FA86B); border-color: transparent; color: #fff; }
.slot[aria-pressed="true"]::before { content: "✓ "; }
@media (prefers-reduced-motion: no-preference) { .slot[aria-pressed="true"] { animation: pop .28s ease-out; } }
@keyframes pop { from { transform: scale(.86); } to { transform: scale(1); } }

.band { padding-block: clamp(40px, 6vw, 72px); }
.biz-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 760px) { .biz-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #2FA86B; color: #fff; font-size: .8rem; font-weight: 800; display: grid; place-items: center; }

/* ---- listeler */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .9rem; cursor: pointer; min-height: 40px; }
.chip[aria-pressed="true"] { background: #12A5A2; border-color: #12A5A2; color: #fff; }
.list { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.item { display: grid; gap: 4px 12px; grid-template-columns: 1fr auto; align-items: start; }
a.card.item { text-decoration: none; color: inherit; }
a.card.item:hover { border-color: #12A5A2; }
.item .side { text-align: right; font-weight: 700; }
.badge { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; }
.badge.ok { color: var(--green); } .badge.wait { color: var(--amber); } .badge.off { color: var(--danger); }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.day { flex: none; width: 74px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; gap: 2px; text-align: center; }
.day small { color: var(--muted); } .day b { font-size: .92rem; }
.day[aria-pressed="true"] { background: #12A5A2; border-color: #12A5A2; color: #fff; } .day[aria-pressed="true"] small { color: #E6FFFB; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: #12A5A2; }
.notice { border-color: var(--amber); }
.hours { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center; }
.hours .in { width: 118px; min-height: 40px; padding: 6px 8px; }
table.plain { border-collapse: collapse; width: 100%; } table.plain td { padding: 4px 0; } table.plain td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* ---- alt bilgi, pencere, bildirim */
.foot { border-top: 1px solid var(--line); padding-block: 22px; font-size: .9rem; color: var(--muted); }
.foot-row { display: flex; gap: 12px 24px; justify-content: space-between; flex-wrap: wrap; }
.foot ul { list-style: none; display: flex; gap: 6px 18px; flex-wrap: wrap; padding: 0; margin: 0; }
.foot a { color: var(--muted); }
dialog { border: 1px solid var(--line); border-radius: 18px; padding: 20px; width: min(440px, 100% - 24px); background: var(--card); color: var(--ink); }
dialog::backdrop { background: rgba(4,12,28,.6); }
#toast { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; background: #0E2038; color: #fff; padding: 12px 18px; border-radius: 12px; max-width: min(92vw, 520px); display: none; z-index: 20; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
#toast.show { display: block; }
#toast.err { background: #8E2424; }

/* ---- yönetim paneli */
.wm-tag { font-size: .8rem; font-weight: 700; color: var(--navy-deep); background: var(--mint); border-radius: 6px; padding: 2px 8px; margin-left: 8px; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { display: grid; gap: 2px; text-decoration: none; color: inherit; }
a.stat:hover { border-color: #12A5A2; }
.stat b { font-size: 1.9rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .9rem; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table.data { border-collapse: collapse; width: 100%; font-size: .93rem; }
table.data th { text-align: left; font-weight: 700; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data .row { gap: 4px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters .in { width: auto; min-width: 150px; flex: 0 1 auto; }
.filters input[type=search] { flex: 1 1 220px; }

/* ---- işletme fotoğrafları */
.hidden { display: none; }
.thumb { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; background: var(--line); display: block; }
.thumb.none { display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--navy), #12A5A2); }
.item.with-thumb { grid-template-columns: 88px 1fr auto; align-items: center; column-gap: 14px; }
@media (max-width: 480px) { .item.with-thumb { grid-template-columns: 64px 1fr auto; } .item.with-thumb .thumb { width: 64px; height: 64px; font-size: 1.5rem; } }

/* Galeri: kapak solda büyük, diğerleri sağda ızgara. Telefonda yana kaydırılan şerit. */
.gallery { display: grid; gap: 8px; height: clamp(220px, 34vw, 380px); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; border-radius: var(--r); overflow: hidden; }
.gallery button { position: relative; padding: 0; border: 0; background: var(--line); cursor: zoom-in; min-width: 0; min-height: 0; }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,28,63,.62); color: #fff; font-weight: 700; }
.gallery.n1 { grid-template-columns: 1fr; }
.gallery.n2 { grid-template-columns: 2fr 1fr; } .gallery.n2 button:nth-child(2) { grid-row: 1 / 3; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery.n4 button:nth-child(2) { grid-column: 2 / 4; }
.gallery button:focus-visible { outline-offset: -3px; }
@media (max-width: 700px) {
  .gallery, .gallery.n1, .gallery.n2, .gallery.n3 { display: flex; height: 230px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .gallery button { flex: 0 0 86%; scroll-snap-align: start; }
  .gallery.n1 button { flex-basis: 100%; }
}
.photo-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.photo-grid li.card { padding: 8px; display: grid; gap: 8px; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; background: var(--line); }
.photo-grid .row { justify-content: space-between; }
dialog.wide { width: min(920px, 100% - 24px); }
.lightbox-img { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 10px; background: #071C3F; display: block; }

/* Gün gezinme satırı: tarih kutusu satırı kaplamasın */
.daynav .in { width: auto; flex: 0 0 auto; min-height: 40px; padding-block: 6px; }
