/* ============ NOVA FİLO — v10: cam dock, açık footer, kasma temizliği, siyah-yeşil giriş butonu ============ */

/* ---------- Kasma temizliği ---------- */
/* Ekran dışındaki sürekli animasyonlar durur */
.lv:not(.lv-on), .lv:not(.lv-on)::before, .lv:not(.lv-on)::after, .lv:not(.lv-on) * { animation-play-state: paused !important; }
/* Ağır cam efektleri sadece menü/dock'ta kalır */
.nv-why li { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
.gv-tag { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6, 22, 14, 0.82); }
.gv-show-hint { backdrop-filter: none; -webkit-backdrop-filter: none; }
/* Fare eğimi: CSS değişkeniyle (React yeniden çizimi yok) */
.gv-stage { --tx: 0; --ty: 0; }
.gv-frame { transform: rotateY(calc(var(--tx) * 4deg)) rotateX(calc(var(--ty) * -3deg)); }
.gv-photo img { transform: scale(1.12) translate(calc(var(--tx) * -6px), calc(var(--ty) * -4px)); transition: transform 0.3s ease-out; }
.gv-show-stage { --tx: 0; --ty: 0; }
.gv-show-car { transform: rotateY(calc(var(--tx) * 4deg)) rotateX(calc(var(--ty) * -2deg)); transition: transform 0.3s ease-out; }
/* Dönen halkalar: bir tık küçük (üstteki yazılara değmesin) */
.nv-head::before, .section-head::before { width: 230px; height: 230px; left: -80px; top: -95px; }
.nv-head::after, .section-head::after { width: 140px; height: 140px; left: -35px; top: -50px; }
section:nth-of-type(even) .nv-head::before { left: auto; right: -110px; }
section:nth-of-type(even) .nv-head::after { left: auto; right: -40px; }
section[aria-label="Neden biz"] .nv-head::before { width: 250px; height: 250px; left: -70px; top: -70px; right: auto; }
section[aria-label="Neden biz"] .nv-head::after { width: 160px; height: 160px; left: -25px; top: -25px; right: auto; }
section[aria-label="Filo"] .nv-head::before { width: 170px; height: 170px; left: -40px; top: -30px; right: auto; }
section[aria-label="Filo"] .nv-head::after { width: 108px; height: 108px; left: -8px; top: 2px; right: auto; }

/* ---------- Footer: siyah yok, sayfa paletiyle uyumlu; linkler alt alta ---------- */
.nv-footer { background: linear-gradient(160deg, #0b573a 0%, #0e6d47 100%); color: rgba(255, 255, 255, 0.82); border-top: 1px solid rgba(255, 255, 255, 0.16); }
:root[data-theme="dark"] .nv-footer { background: linear-gradient(160deg, #0d2a1e 0%, #123a29 100%); border-top-color: rgba(47, 212, 122, 0.2); }
.nv-footer .nv-fh { color: #d6ffe9; }
.nv-footer-grid a { display: block !important; padding: 7px 0; }
.nv-footer-grid a:hover { color: #fff; transform: translateX(4px); }
.nv-footer-grid > div { min-width: 0; }
.nv-footer-grid { gap: 40px 48px; }
.nv-footer .nv-logo.is-light { color: #fff; }

/* ---------- Dock: üstteki menü gibi cam panel, ortada ---------- */
.nv-dock {
  right: auto; left: 50%; bottom: 16px; transform: translateX(-50%);
  gap: 4px; padding: 5px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 18px 40px -20px rgba(7, 18, 12, 0.55);
}
.nv-dock a { box-shadow: none; padding: 10px 18px; font-size: 0.88rem; }
.nv-dock-call { background: transparent; color: var(--text); }
.nv-dock-call:hover { background: color-mix(in srgb, var(--red) 12%, transparent); }
.nv-dock-wa { background: var(--red); color: #fff; }
:root[data-theme="dark"] .nv-dock-wa { color: #04140b; }
:root[data-theme="dark"] .nv-dock-wa svg { color: #04140b; }
@media (max-width: 760px) {
  .nv-dock { left: 12px; right: 12px; bottom: 12px; transform: none; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); }
  .nv-dock a { flex: 1; justify-content: center; border-radius: 999px; padding: 13px 10px; }
  .os-shell, .nv-shell { padding-bottom: 84px; }
}

/* ---------- Admin giriş butonu: siyah ağırlıklı, iki ton iç içe ---------- */
.ap-login-btn,
.ap-login-btn:active {
  background: radial-gradient(75% 230% at 0% 50%, rgba(18, 144, 90, 0.95) 0%, rgba(18, 144, 90, 0) 72%), radial-gradient(55% 230% at 100% 50%, rgba(16, 120, 76, 0.7) 0%, rgba(16, 120, 76, 0) 70%), #040a07 !important;
  border: 1px solid rgba(47, 212, 122, 0.32) !important;
  color: #f0fff6 !important;
}
.ap-login-btn:hover {
  background: radial-gradient(75% 230% at 0% 50%, rgba(28, 176, 112, 1) 0%, rgba(28, 176, 112, 0) 72%), radial-gradient(55% 230% at 100% 50%, rgba(20, 150, 96, 0.85) 0%, rgba(20, 150, 96, 0) 70%), #040a07 !important;
  border-color: rgba(47, 212, 122, 0.55) !important;
}

/* ---------- Telefon düzeltmeleri ---------- */
html, body { overflow-x: clip; max-width: 100%; }
main#icerik, .os-shell, section, .page-hero, .gv-hero, .gv-trust, .nv-final { overflow-x: clip; }
.gv-dots button { position: relative; }
.gv-dots button::after { content: ""; position: absolute; inset: -16px -4px; }
@media (max-width: 760px) {
  .nv-bento a, .nv-bento-link, .vc-hero-cta, .nv-card-body a { min-height: 40px; display: inline-flex; align-items: center; }
  .nv-head::before, .section-head::before { width: 170px; height: 170px; left: -60px; top: -60px; right: auto; }
  section:nth-of-type(even) .nv-head::before { right: auto; left: -60px; }
  .gv-hero h1 { max-width: none; }
  .nv-why li:hover, .info-box:hover, .contact-row:hover, .vehicle-grid > *:hover { transform: none; }
}
@media (max-width: 400px) {
  .form-grid-2 { grid-template-columns: 1fr !important; }
  .form-grid-2 input, .form-grid-2 select, .form-grid-2 textarea, .quote-form-box input, .quote-form-box select { min-width: 0; max-width: 100%; }
  .gv-hero h1 { font-size: 2.2rem; }
}

/* Menü kaydırınca içerikle çakışmasın: logo/butonların arkası zemin rengine solar */
.nv-nav { isolation: isolate; }
.nv-nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 55%, transparent 100%); }
.nv-nav.is-scrolled::before { opacity: 1; }
@media (max-width: 860px) {
  .nv-nav.is-scrolled::before { background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}
.nv-shell, .os-shell { padding-bottom: 0; }
.nv-footer { padding-bottom: 104px; }
