/* KiralamaFilo — Ek stiller (FAB, page-banner, form, alerts, admin bar) */

/* ====== FAB (Floating Action Button) ====== */
.fab-btn {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: transform .25s ease;
}
.fab-btn:hover { transform: translateY(-4px); }
.fab-btn .fab-ic {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: box-shadow .25s ease;
}
.fab-btn:hover .fab-ic { box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.fab-btn .fab-ic i,
.fab-btn .fab-ic svg { font-size: 30px; width: 30px; height: 30px; }
.fab-cap {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(15,23,42,.8);
  padding: 3px 11px;
  border-radius: 20px;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  font-family: 'Outfit', sans-serif;
}
.fab-wa { right: 22px; }
.fab-wa .fab-ic { background: #25D366; }
.fab-wa .fab-ic svg { width: 34px; height: 34px; }
@keyframes fabPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: .7; }
}

/* ====== Mobile bottom bar ====== */
.st-bb {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9998;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + env(safe-area-inset-bottom,0px)) 16px 12px;
  background: #16181e;
  border-top: 1px solid rgba(255,255,255,.09);
}
.st-bb__brand { text-decoration: none; min-width: 0; }
.st-bb__logo { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; color: #fff; font-family: 'Outfit', sans-serif; }
.st-bb__logo .accent { color: var(--st-accent, #d6001c); }
.st-bb__tag { display: block; font-size: 10.5px; color: #8d95a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-bb__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.st-bb__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255,255,255,.12);
}
.st-bb__btn.wa { background: #25D366; color: #06301a; }
.st-bb__btn.call { background: var(--st-accent, #d6001c); color: #fff; }

/* ====== Page banner (inner pages) ====== */
.page-hero {
  background: #0b0d11;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -100px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,0,28,.35), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}
.page-hero .st-shell { position: relative; z-index: 1; }
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
}
.page-hero h1 .accent,
.page-hero h1 span.accent { color: var(--theme-primary, #d6001c); }
.page-hero p {
  margin: 14px 0 0;
  font-size: 15.5px;
  color: rgba(255,255,255,.65);
}

/* Breadcrumb */
.st-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
}
.st-breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.st-breadcrumb a:hover { color: #fff; }
.st-breadcrumb i { font-size: 10px; }

/* ====== Contact/Reservation form ====== */
.st-form-card {
  background: #fff;
  border: 1px solid var(--st-line, #e6e8ee);
  border-radius: var(--st-r-lg, 20px);
  padding: 36px;
}
.st-form-card h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--st-ink, #0b0d11); }
.st-form-card .sub { margin: 0 0 28px; font-size: 14.5px; color: var(--st-ink-2, #4b5361); }

.st-field { margin-bottom: 18px; }
.st-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--st-ink, #0b0d11);
}
.st-field input,
.st-field select,
.st-field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--st-line, #e6e8ee);
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  color: var(--st-ink, #0b0d11);
  background: #fff;
  transition: border-color .18s ease;
}
.st-field input:focus,
.st-field select:focus,
.st-field textarea:focus {
  outline: none;
  border-color: var(--st-accent, #d6001c);
}
.st-field textarea { resize: vertical; min-height: 110px; }
.st-field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ====== Contact info card ====== */
.st-contact-info {
  background: var(--st-ink, #0b0d11);
  color: #a8b0bd;
  border-radius: var(--st-r-lg, 20px);
  padding: 36px;
  height: 100%;
}
.st-contact-info h2 { color: #fff; font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.st-contact-info .sub { margin: 0 0 28px; color: #98a1af; font-size: 14.5px; }
.st-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.st-contact-item .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--st-accent, #d6001c);
  flex-shrink: 0;
}
.st-contact-item h4 { margin: 0 0 3px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.45); }
.st-contact-item p, .st-contact-item a { margin: 0; color: #fff; font-size: 15px; text-decoration: none; }
.st-contact-item a:hover { color: var(--st-accent, #d6001c); }

/* ====== Alert messages ====== */
.st-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14.5px;
  font-weight: 600;
}
.st-alert i { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.st-alert--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.st-alert--success i { color: #16a34a; }
.st-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.st-alert--error i { color: #dc2626; }
.st-alert--info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.st-alert--info i { color: #2563eb; }

/* ====== Content pages (SSS, Koşullar, vb.) ====== */
.st-content { max-width: 800px; margin-inline: auto; }
.st-content h2 { font-size: 24px; font-weight: 800; color: var(--st-ink, #0b0d11); margin: 32px 0 12px; }
.st-content h2:first-child { margin-top: 0; }
.st-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.st-content p { line-height: 1.75; color: var(--st-ink-2, #4b5361); margin: 0 0 16px; }
.st-content ul { padding-left: 22px; margin: 0 0 16px; }
.st-content ul li { margin-bottom: 7px; line-height: 1.7; color: var(--st-ink-2, #4b5361); }
.st-content .accent-line {
  display: inline-block;
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--st-accent, #d6001c);
  margin-bottom: 10px;
}

/* ====== Advantage cards (hakkimizda) ====== */
.st-adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}
.st-adv-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--st-line, #e6e8ee);
  border-radius: var(--st-r, 14px);
  background: var(--st-surface, #fff);
}
.st-adv-card .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(214,0,28,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--st-accent, #d6001c);
  flex-shrink: 0;
}
.st-adv-card h4 { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; }
.st-adv-card p { margin: 0; font-size: 13.5px; color: var(--st-ink-2, #4b5361); line-height: 1.6; }

/* ====== Stats row ====== */
.st-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  padding: 36px;
  background: var(--st-ink, #0b0d11);
  border-radius: var(--st-r-lg, 20px);
  text-align: center;
  color: #fff;
}
.st-stat__num { font-size: 32px; font-weight: 900; letter-spacing: -.03em; color: var(--st-accent, #d6001c); }
.st-stat__lbl { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ====== CTA section ====== */
.st-cta {
  background: var(--st-ink, #0b0d11);
  border-radius: var(--st-r-lg, 20px);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.st-cta::before {
  content: "";
  position: absolute;
  top: -80px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,0,28,.3), transparent 68%);
  pointer-events: none;
}
.st-cta h2 { margin: 0 0 10px; font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.st-cta p { margin: 0 0 28px; font-size: 15.5px; color: rgba(255,255,255,.65); }
.st-cta .st-actions { justify-content: center; }

/* ====== Map ====== */
.st-map iframe { width: 100%; height: 340px; border: 0; border-radius: var(--st-r, 14px); display: block; }

/* ====== Vehicle filter tabs ====== */
.st-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.st-filtertab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--st-line, #e6e8ee);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--st-ink-2, #4b5361);
  background: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .16s, background .16s, color .16s;
}
.st-filtertab:hover { border-color: var(--st-ink, #0b0d11); color: var(--st-ink, #0b0d11); }
.st-filtertab.active { background: var(--st-ink, #0b0d11); border-color: var(--st-ink, #0b0d11); color: #fff; }

/* ====== Admin bar (top of front pages when logged in to admin) ====== */
.st-adminbar {
  background: #1f2937;
  color: #d1d5db;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 20px;
  text-align: center;
  letter-spacing: .01em;
}
.st-adminbar a { color: var(--st-accent, #d6001c); text-decoration: none; }
.st-adminbar a:hover { text-decoration: underline; }

/* ====== Responsive additions ====== */
@media (max-width: 768px) {
  .fab-wa { right: 14px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .fab-btn .fab-ic { width: 54px; height: 54px; }
  .st-form-card { padding: 24px; }
  .st-contact-info { padding: 24px; }
  .st-field-row { grid-template-columns: 1fr; }
  .st-cta { padding: 32px 24px; }
  .st-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 24px; }
  .st-bb { display: flex; }
  body { padding-bottom: 68px; }
  .fab-wa { display: none !important; }
}
@media (max-width: 480px) {
  .st-adv-grid { grid-template-columns: 1fr; }
}
