/* =====================================================================
   Bosphorus Cruise (bosphoruscruise.com.tr) - rezervasyon penceresi (ana sayfa)
   Bu dosya tek basina calisir; renkler site.css yoksa da yedek degerlerle gelir.
   ===================================================================== */
.bk {
  --bk-navy: var(--dcb-navy, #102f5c);
  --bk-navy-2: var(--dcb-navy-2, #1d5a96);
  --bk-gold: var(--dcb-gold, #f7941d);
  --bk-gold-dark: var(--dcb-gold-dark, #c46a00);
  --bk-cream: var(--dcb-cream, #f1f5fa);
  --bk-ink: var(--dcb-ink, #1c2430);
  --bk-muted: var(--dcb-muted, #5b6676);
  --bk-line: #e4e7ec;
  --bk-red: #b42318;
  --bk-green: #1f9d55;
  border: 0; padding: 0; margin: auto;
  width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  border-radius: 20px; overflow: hidden;
  background: #fff; color: var(--bk-ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif; font-size: 15px; line-height: 1.5;
  box-shadow: 0 40px 100px rgba(11, 31, 61, .45);
}
.bk[open] { display: flex; animation: bk-in .22s ease-out; }
.bk::backdrop { background: rgba(11, 31, 61, .72); backdrop-filter: blur(4px); }
@keyframes bk-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.bk *, .bk *::before, .bk *::after { box-sizing: border-box; }
.bk [hidden] { display: none !important; }

.bk-inner { display: flex; flex-direction: column; width: 100%; max-height: inherit; margin: 0; }

/* ---------- Ust bolum ---------- */
.bk-head { position: relative; flex-shrink: 0; padding: 26px 30px 22px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, rgba(247,148,29,.22) 0%, rgba(247,148,29,0) 55%), linear-gradient(135deg, var(--bk-navy), var(--bk-navy-2)); }
.bk-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .15s; }
.bk-close:hover { background: rgba(255,255,255,.2); }
.bk-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; color: var(--bk-gold); margin: 0 0 6px; }
.bk-title { font-family: var(--dcb-serif); font-size: 1.75rem; line-height: 1.2; color: #fff; margin: 0 0 14px; padding-right: 48px; }
.bk-chosen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bk-chosen li { margin: 0; font-size: .8rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.bk-trust { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .78rem; color: rgba(255,255,255,.75); }
.bk-trust li { margin: 0; display: flex; align-items: center; gap: 6px; }
.bk-trust li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--bk-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23102f5c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }

/* ---------- Govde ---------- */
.bk-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 8px 30px 18px; }
.bk-sec { padding: 20px 0; }
.bk-sec + .bk-sec { border-top: 1px solid var(--bk-line); }
.bk-sec-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: 'Inter', Arial, sans-serif; font-size: 1rem; font-weight: 700; color: var(--bk-navy); }
.bk-sec-title span { width: 26px; height: 26px; border-radius: 50%; background: var(--bk-navy); color: #fff; font-size: .8rem; display: grid; place-items: center; flex-shrink: 0; }

.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.bk-full { grid-column: 1 / -1; }
.bk-field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.bk-label { font-size: .78rem; font-weight: 600; color: var(--bk-muted); text-transform: uppercase; letter-spacing: .05em; }
.bk-label em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; color: #98a2b3; margin-left: 4px; }

.bk input[type=text], .bk input[type=email], .bk input[type=tel], .bk input[type=date], .bk select, .bk textarea {
  width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0 14px;
  font: inherit; font-size: 1rem; color: var(--bk-ink); background: #fff;
  border: 1px solid #d0d5dd; border-radius: 12px; box-shadow: 0 1px 2px rgba(16,24,40,.04);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.bk select { padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235b6676' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center/16px no-repeat; }
.bk input[type=date] { padding-right: 10px; }
.bk textarea { height: auto; min-height: 76px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.bk input::placeholder, .bk textarea::placeholder { color: #98a2b3; }
.bk input:hover, .bk select:hover, .bk textarea:hover { border-color: #98a2b3; }
.bk input:focus, .bk select:focus, .bk textarea:focus { outline: none; border-color: var(--bk-gold); box-shadow: 0 0 0 4px rgba(247,148,29,.2); }
.bk-phone { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 8px; }

/* ---------- Biletler ---------- */
.bk-tickets { border: 1px solid var(--bk-line); border-radius: 14px; overflow: hidden; }
.bk-ticket { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 14px 16px; background: #fff; }
.bk-ticket + .bk-ticket { border-top: 1px solid var(--bk-line); }
.bk-ticket-info strong { display: block; font-size: 1rem; color: var(--bk-navy); }
.bk-ticket-info small { display: block; font-size: .82rem; color: var(--bk-muted); }
.bk-ticket-price { font-weight: 600; color: var(--bk-navy); font-size: .95rem; white-space: nowrap; }
.bk-step { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bk-cream); border: 1px solid #ece6d6; }
.bk-step button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: var(--bk-navy); font-size: 1.2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(16,24,40,.1); transition: background .15s, color .15s; padding: 0; }
.bk-step button:hover { background: var(--bk-navy); color: #fff; }
.bk-step output { min-width: 30px; text-align: center; font-weight: 700; font-size: 1rem; }
.bk-hint { margin: 10px 2px 0; font-size: .82rem; color: var(--bk-muted); }

.bk-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.bk-error { margin: 4px 0 0; font-size: .9rem; color: var(--bk-red); font-weight: 500; }
.bk-error:empty { display: none; }
.bk-error:not(:empty) { padding: 10px 14px; background: #fef3f2; border: 1px solid #fecdca; border-radius: 10px; }

/* ---------- Alt bolum (sabit) ---------- */
.bk-foot { flex-shrink: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px; padding: 16px 30px 18px;
  background: #fff; border-top: 1px solid var(--bk-line); box-shadow: 0 -10px 24px rgba(16,24,40,.06); }
.bk-total { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; }
.bk-total-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--bk-muted); }
.bk-total strong { font-family: var(--dcb-serif); font-size: 2rem; line-height: 1.1; color: var(--bk-navy); }
.bk-total small { grid-column: 1 / -1; font-size: .8rem; color: var(--bk-muted); }
.bk-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--bk-gold); color: var(--bk-navy); font: inherit; font-weight: 700; font-size: 1.02rem; cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(247,148,29,.35); transition: transform .15s, background .15s, box-shadow .15s; }
.bk-submit:hover { background: #ffa733; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(247,148,29,.45); }
.bk-submit[disabled], .bk-submit.is-busy { opacity: .7; cursor: wait; transform: none; }
.bk-fine { grid-column: 1 / -1; margin: 2px 0 0; font-size: .78rem; color: var(--bk-muted); }

/* ---------- Basarili ---------- */
.bk-done { flex: 1; overflow-y: auto; padding: 44px 30px 40px; text-align: center; }
.bk-done-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; color: #fff;
  background: var(--bk-green); box-shadow: 0 0 0 10px rgba(31,157,85,.12); }
.bk-done h2 { font-family: var(--dcb-serif); font-size: 1.8rem; color: var(--bk-navy); margin: 0 0 10px; }
.bk-done p { color: var(--bk-muted); margin: 0 auto 10px; max-width: 460px; }
.bk-done .bk-ref { color: var(--bk-ink); font-size: .95rem; }
.bk-done .bk-ref strong { display: inline-block; margin-left: 6px; padding: 4px 12px; border-radius: 8px; background: var(--bk-cream); border: 1px dashed var(--bk-gold);
  color: var(--bk-navy); font-size: 1.15rem; letter-spacing: .06em; }


/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  .bk { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .bk[open] { animation: bk-up .25s ease-out; }
  .bk-head { padding: 20px 18px 18px; }
  .bk-title { font-size: 1.45rem; }
  .bk-body { padding: 4px 18px 14px; }
  .bk-grid { grid-template-columns: 1fr; }
  .bk-ticket { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .bk-ticket-price { grid-column: 1; grid-row: 2; font-size: .85rem; font-weight: 500; color: var(--bk-muted); }
  .bk-ticket .bk-step { grid-column: 2; grid-row: 1 / span 2; }
  .bk-ticket-info small { display: inline; margin-left: 6px; }
  .bk-ticket-info strong { display: inline; }
  .bk-foot { padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); gap: 4px 14px; }
  .bk-total strong { font-size: 1.6rem; }
  .bk-submit { padding: 0 22px; min-height: 50px; }
  .bk-fine { display: none; }
}
@keyframes bk-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bk[open] { animation: none; } }
.bk-done-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 18px; }
.bk-done-actions .bk-submit { text-decoration: none; margin-top: 0; }
.bk-link { background: none; border: 0; color: var(--bk-muted); font: inherit; font-size: .9rem; cursor: pointer; padding: 8px 12px; text-decoration: underline; }
