/* ============================================================
   Bohemia Scrap s.r.o. – Likvidace vozidel
   Custom CSS (doplněk k Tailwind CDN)
   ============================================================ */

/* Fonty */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --green:  #166534;
  --green-light: #15803d;
  --orange: #ea580c;
  --orange-light: #f97316;
  --dark:   #111827;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: #fff;
}

/* ── Hero ───────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -60px;           /* přesahuje kontejner → ořízne letterbox pruhy v obrázcích */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0d1a0d;  /* tmavě zelený fallback – žádná černá */
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 15, 0, 0.72) 0%,
    rgba(5, 30, 5, 0.42) 35%,
    rgba(0, 0, 0, 0.08) 65%,
    transparent 100%
  );
}

/* Pulsující telefon */
@keyframes pulse-ring {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0   rgba(234,88,12,0.7); }
  70%  { transform: scale(1.04); box-shadow: 0 0 0 16px rgba(234,88,12,0); }
  100% { transform: scale(1);   box-shadow: 0 0 0 0   rgba(234,88,12,0); }
}

.btn-phone-pulse {
  animation: pulse-ring 2s ease-out infinite;
}

/* ── Formulář ───────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22,101,52,0.12);
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
}

.btn-submit:hover  { background: #c2410c; }
.btn-submit:active { transform: scale(.98); }

/* ── Steps / Kroky ──────────────────────────────── */
.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Karty benefitů ─────────────────────────────── */
.benefit-card {
  border-radius: 1rem;
  padding: 2rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  transition: transform .2s, box-shadow .2s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(22,101,52,0.12);
}

/* ── Cookie lišta ───────────────────────────────── */
#cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(17,24,39,0.97);
  backdrop-filter: blur(4px);
  color: #f9fafb;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  transform: translateY(0);
  transition: transform .4s ease;
}

#cookie-bar.hidden {
  transform: translateY(100%);
}

/* ── Navigace dropdown ──────────────────────────── */
.nav-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 280px;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0;
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
}

.nav-dropdown-trigger:hover .nav-dropdown,
.nav-dropdown-trigger:focus-within .nav-dropdown {
  display: block;
}

/* ── Google Maps ────────────────────────────────── */
.map-frame {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 1rem;
  filter: saturate(0.8) contrast(1.1);
}

/* ── FAQ accordion ──────────────────────────────── */
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--green);
  transition: transform .2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

/* ── Breadcrumb ─────────────────────────────────── */
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Toast notifikace ───────────────────────────── */
#toast {
  position: fixed;
  top: 5rem;
  right: 1rem;
  z-index: 9999;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: #fff;
  transform: translateX(120%);
  transition: transform .3s ease;
  max-width: 320px;
}

#toast.show { transform: translateX(0); }
#toast.success { background: var(--green); }
#toast.error   { background: #dc2626; }

/* ── Responsivita ───────────────────────────────── */
@media (max-width: 640px) {
  .hero-section { min-height: 100svh; }
  .map-frame { height: 280px; }
}

/* ── Útok skenováním (honeypot) ─────────────────── */
.hp-field { display: none !important; }

/* ── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f3f4f6; }
::-webkit-scrollbar-thumb { background: #6b7280; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }
