:root { --bg:#0e0e12; --text:#e8e8ea; --muted:#b5b5bb; --primary:#4c8bf5; --card:#16161c; --border:#2a2a31; --light-bg:#f7f7f9; --light-text:#111214; --light-muted:#666a72; --light-card:#ffffff; --light-border:#e5e6eb; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial; background: var(--bg); color: var(--text); }
a { color: var(--text); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-header { position: fixed; top:0; left:0; right:0; z-index: 1000; transition: background 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease; }
.site-header--transparent { backdrop-filter: none; background: transparent; border-bottom: 2px solid rgba(255,255,255,0.40); }
.site-header--dark { backdrop-filter: saturate(180%) blur(8px); background: rgba(0,0,0,0.85); border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-header .container { display:flex; align-items:center; justify-content:space-between; height:64px; }
.brand { font-weight:700; letter-spacing:0.5px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { padding:8px 10px; border-radius:8px; color: var(--muted); }
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255,255,255,0.06); }

/* Language Selector Styles */
.language-selector {
  position: relative;
  margin-left: 12px;
}

.language-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.language-current:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.language-current img {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 160px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  display: none;
  z-index: 1000;
}

.language-menu.show {
  display: block;
  animation: fadeIn 0.2s ease;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s ease;
  font-size: 14px;
}

.language-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.language-option img {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero { height: 100vh; position: relative; }
.slider { height: 100%; width: 100%; position: relative; overflow: hidden; }
.slide { position: absolute; inset:0; background-size: cover; background-position: center; opacity:0; transition: opacity 800ms ease; }
.slide.active { opacity:1; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%); z-index: 1; }
.slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) brightness(0.9); }
.slide-overlay { position:absolute; left:60%; transform:translate(-50%, -50%); top: 42%; text-align:center; z-index: 2; width: 60vw; max-width: 760px; }
.slide-overlay h1 { font-size: clamp(28px,4vw,52px); margin:0 0 10px 0; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.slide-overlay p { font-size: clamp(16px,2.2vw,22px); margin:0; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.hero-callout { display:flex; align-items:center; justify-content:flex-end; gap: 14px; padding: 14px 18px; border-radius: 999px; background: rgba(28, 21, 66, 0.92); box-shadow: 0 10px 25px rgba(0,0,0,0.25); margin-top: 12px; width: var(--hero-callout-width, fit-content); max-width: var(--hero-callout-max, 100%); margin-left: auto; }
.hero-callout__text { font-size: clamp(10px, 1.6vw, 14px); font-weight: 600; color: #f4f3ff; }
.hero-callout__phone { display:inline-flex; align-items:center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: linear-gradient(180deg, #d21c22 0%, #b0161b 100%); color:#fff; text-decoration:none; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15), 0 8px 18px rgba(0,0,0,0.25); transition: transform 150ms ease, filter 150ms ease, color 150ms ease, background 150ms ease; }
.hero-callout__phone:hover { transform: translateY(-1px); filter: none; background: #ffffff; color: #b0161b; }
.hero-callout__icon { display:inline-flex; align-items:center; justify-content:center; width: 34px; height: 34px; border-radius: 999px; background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); transition: color 150ms ease, background 150ms ease; }
.hero-callout__phone:hover .hero-callout__icon { color: #fff; background: rgba(255,255,255,0.3); }
main .container { padding-top: 24px; padding-bottom: 60px; }
.about, .why-us { background: var(--light-bg); color: var(--light-text); }
.about { margin-top: -24px; padding-top: 24px; }
.page { background: var(--light-bg); color: var(--light-text); }
.about h2, .why-us h2, .page h1 { font-size: 28px; margin: 40px 0 16px; }
.hero-search { position:absolute; left: 40px; top: 50%; transform: translateY(-50%); z-index: 3; }
.hero-form { background: rgba(255,255,255,0.92); border: 1px solid var(--light-border); border-radius: 16px; padding: 18px; min-width: 300px; color: var(--light-text); }
.hero-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: end; }
.hero-form label { display:block; font-size: 13px; color: var(--light-muted); margin-bottom: 6px; }
.hero-form select, .hero-form input[type="number"] { width:100%; background: var(--light-card); border:1px solid var(--light-border); color: var(--light-text); border-radius: 12px; padding: 10px 12px; outline:none; }
.hero-actions { grid-column: 1 / -1; }
.hero-actions button { width: 100%; }
.about p { color: var(--light-text); line-height: 1.7; font-size: 15px; }
.about h2 { margin-top: 0; }
.about .container { padding-top: 0; padding-bottom: 24px; }
.why-us .container { padding-top: 12px; }
.why-us h2 { margin-top: 20px; }
.features { display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 18px; }
.card { background: var(--light-card); border:1px solid var(--light-border); border-radius: 16px; padding: 20px; }
.card-title { font-weight: 400; margin-bottom: 8px; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.2; color: var(--light-text); }
.card-text { color: var(--light-text); font-size: 14px; line-height: 1.7; }
.site-footer { border-top:1px solid var(--border); background: #111116; }
.site-footer .footer-cols { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 28px 0; }
.site-footer .footer-title { font-weight: 600; margin-bottom: 6px; }
.copyright { color: var(--muted); font-size: 14px; padding-bottom: 24px; }
.page .container { padding-top: 94px; }
.page.admin .container { padding-top: 40px; }
.filters .grid, .contact-form .grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.filters label, .contact-form label { display:block; font-size: 14px; color: var(--light-muted); margin-bottom: 6px; }
.page input[type="text"], .page input[type="number"], .page input[type="email"], .page input[type="password"], .page textarea { width:100%; background: var(--light-card); border:1px solid var(--light-border); color: var(--light-text); border-radius: 12px; padding: 12px 14px; outline:none; }
textarea { resize: vertical; }
.actions { display:flex; align-items:center; }
button { appearance:none; background: rgba(28, 21, 66, 0.92); color:#fff; border:none; border-radius: 12px; padding: 12px 18px; font-weight:600; cursor:pointer; }
button:hover { filter: brightness(1.08); }
.results-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.car-card { background: var(--light-card); border:1px solid var(--light-border); border-radius: 16px; overflow: hidden; }
.car-image { height: 180px; background-size: cover; background-position: center; }
.car-info { padding: 14px; }
.car-title { font-weight: 600; }
.car-meta { color: var(--light-muted); margin: 6px 0 10px; }
.car-price { font-weight: 700; }
.empty { color: var(--light-muted); }
.notice { background: #142135; color:#bcd; border: 1px solid #20365c; padding: 12px 16px; border-radius: 12px; margin-top: 10px; }
.contact-form .full { grid-column: 1 / -1; }
.admin-top { display:flex; justify-content:flex-end; margin-bottom: 12px; }
.admin-top a { color: var(--light-text); text-decoration: underline; }
@media (max-width: 960px) {
  .features, .results-grid, .site-footer .footer-cols, .filters .grid, .contact-form .grid { grid-template-columns: 1fr; }
  .slide-overlay { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 88vw; max-width: 520px; }
  .slide-overlay h1 { font-size: clamp(22px, 7vw, 34px); }
  .slide-overlay p { font-size: clamp(14px, 4.4vw, 18px); }
  .hero-callout { flex-direction: column; align-items: stretch; border-radius: 22px; width: 100%; max-width: 100%; margin-left: 0; }
  .hero-callout__text { text-align: center; }
  .hero-callout__phone { justify-content: center; width: 100%; }
  .hero-search { display: none; }
  .hero-form { min-width: 0; }
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .slide-overlay { top: 44%; width: 92vw; }
  .hero-callout { padding: 12px 14px; }
  .hero-callout__phone { padding: 10px 14px; }
  .hero-callout__icon { width: 30px; height: 30px; }
}

@media (max-height: 500px) and (max-width: 900px) {
  .hero-search { display: none; }
}
iframe.goog-te-banner-frame.skiptranslate { display:none !important; }
body { top:0 !important; }
