/* Taxi Bucuresti Enterprise – minimal, fast, responsive */
/* VARIABLES ARE INJECTED FROM ADMIN */
:root{
  /* LAYOUT – DEFAULT, NU SE MODIFICĂ DIN ADMIN */
  --radius: 18px;
  --max: 1120px;
  --pad: 18px;

  /* BORDER / UMBRE */
  --line: rgba(255,255,255,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.35);

  /* FUNDAL GRADIENT – DEFAULT */
  --bg-grad-1: rgba(77,163,255,.22);
  --bg-grad-2: rgba(105,240,197,.14);
  --bg-solid-1: #070b14;
  --bg-solid-2: #05070d;

  /* CULORI DEFAULT (vor fi suprascrise din admin) */
  --bg: #0b1220;
  --surface: #0f1b33;
  --card: #0e1730;
  --text: #eaf0ff;
  --muted: #8bc4e6;
  --brand: #4da3ff;
  --brand2: #69f0c5;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  font-weight: 500;
  line-height: 1.7;
  font-size: 16.5px;
}
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 15% -10%, var(--bg-grad-1), transparent 55%),
    radial-gradient(900px 700px at 80% 10%, var(--bg-grad-2), transparent 55%),
    linear-gradient(180deg, var(--bg-solid-1), var(--bg-solid-1) 40%, var(--bg-solid-2));
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%;height:auto;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
.small{
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
}
.badge{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 12px;border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  border-radius:999px;
}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:14px 18px;border-radius:999px;border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:650;
  cursor:pointer;
}
.btn.primary{
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  background: linear-gradient(
    90deg,
    var(--brand),
    var(--brand2)
  );
  color:#06101c;
}
.btn.primary:hover{filter:brightness(1.03)}
.btn.ghost:hover{background:rgba(255,255,255,.10)}
.btn:focus{outline:2px solid rgba(105,240,197,.7);outline-offset:2px}

.site-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  border-bottom:1px solid var(--line);
}
.header-row{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex;align-items:center;gap:12px;min-width:220px;
}
.brand-mark{
  width:38px;height:38px;border-radius:12px;
  background: linear-gradient(
    135deg,
    var(--brand),
    var(--brand2)
  );
  box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 25%, transparent);
}
.brand-name{font-weight:800;letter-spacing:.2px}
.nav{
  display:flex;gap:14px;align-items:center;flex-wrap:wrap;
}
.nav a{
  padding:10px 12px;border-radius:999px;border:1px solid transparent;
  color:var(--muted);
}
.nav a:hover{border-color:var(--line);color:var(--text);background:rgba(255,255,255,.05)}
.header-cta{display:flex;gap:10px;align-items:center}

.lang-switch{
  display:inline-flex;gap:8px;align-items:center;
  padding:6px 10px;border:1px solid var(--line);border-radius:999px;
  background:rgba(255,255,255,.04);
}
.lang-switch a{
  padding:8px 10px;border-radius:999px;color:var(--muted);
}
.lang-switch a.is-active{color:#06101c;background: linear-gradient(90deg, var(--brand), var(--brand2));, rgba(105,240,197,.80));font-weight:700}

.hero{
  padding:56px 0 28px;
}
.hero-grid{
  display:grid;grid-template-columns: 1.15fr .85fr;gap:26px;align-items:start;
}
.hero-card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-card-inner{padding:22px}
.h1{
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  line-height:1.15;
  margin:10px 0 12px;
  font-weight:800;
  letter-spacing:-0.3px;
}
h2, h3{
  font-weight:700;
  letter-spacing:-0.15px;
}
.lead{
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
}
.kpis{display:grid;grid-template-columns: repeat(3, 1fr); gap:10px; margin-top:18px}
.kpi{border:1px solid var(--line);border-radius:16px;padding:12px;background:rgba(255,255,255,.03)}
.kpi strong{display:block;font-size:1.2rem}
.kpi span{display:block;color:var(--muted);font-size:.88rem}

.section{padding:32px 0}
.section h2{margin:0 0 12px;font-size:1.5rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding:16px;
}
.card h3{margin:6px 0 6px}
.card p{margin:0;color:var(--muted)}
.icon{
  width:42px;height:42px;border-radius:14px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
}
.icon svg{width:22px;height:22px;opacity:.9}

.vehicle-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.vehicle{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.vehicle .img{
  aspect-ratio: 4/3;
  background: radial-gradient(600px 280px at 40% 0%, rgba(77,163,255,.18), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  display:flex;align-items:center;justify-content:center;
  border-bottom:1px solid var(--line);
}
.vehicle .img svg{width:86%;height:auto}
.vehicle .body{padding:14px}
.vehicle .title{font-weight:850;margin:0 0 6px}
.vehicle .meta{margin:0;color:var(--muted);font-size:.92rem}
.vehicle .tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.tag{font-size:.78rem;color:var(--muted);border:1px solid var(--line);padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.03)}

.footer{
  border-top:1px solid var(--line);
  margin-top:30px;
  background: rgba(0,0,0,.20);
}
.footer-grid{
  display:grid;grid-template-columns: 1.2fr 1fr 1fr;gap:16px;
  padding:26px 0;
}
.footer h3{margin:0 0 10px}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}
.footer-bottom{
  padding:14px 0;border-top:1px solid var(--line);
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;
  color:var(--muted);font-size:.9rem;
}
.anpc{
  display:flex;gap:14px;align-items:center;flex-wrap:wrap;
}
.anpc a{
  display:inline-flex;align-items:center;gap:10px;
  border:1px solid var(--line);
  border-radius: 12px;
  padding:10px 12px;
  background: rgba(255,255,255,.03);
}
.anpc img{width:170px;height:auto}

.page-hero{
  padding:36px 0 18px;
}
.page-hero h1{margin:0 0 10px;font-size:2rem}
.prose{
  color:var(--muted);
}
.prose p{margin:0 0 12px}

@media (max-width: 960px){
  .hero-grid{grid-template-columns:1fr;gap:14px}
  .kpis{grid-template-columns:1fr 1fr 1fr}
  .vehicle-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr;gap:10px}
}
@media (max-width: 520px){
  .kpis{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .vehicle-grid{grid-template-columns:1fr}
  .header-row{gap:10px}
  .brand{min-width:auto}
  .nav{display:none}
  .nav-mobile{display:block}
}
/* Desktop: ascunde burger */
@media (min-width: 521px){
  .nav-mobile{ display:none; }
}

@media (max-width: 520px){
  body{
    font-size:16px;
    line-height:1.7;
  }

/* NAV MOBILE: ascunde markerul implicit (triunghi/play) */
.nav-mobile summary { list-style: none; cursor: pointer; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::marker { content: ""; }

/* Icon hamburger (3 linii) */
.nav-mobile .burger{
  display:block;
  width:22px;
  height:2px;
  background: currentColor;
  border-radius:2px;
  position:relative;
  box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
}

/* Opțional: când e deschis meniul, transformă în X (tot CSS) */
.nav-mobile[open] .burger{
  background: transparent;
  box-shadow: none;
}
.nav-mobile[open] .burger::before,
.nav-mobile[open] .burger::after{
  content:"";
  position:absolute;
  left:0;
    top:7px;
  transform-origin: center;
  width:22px;
  height:2px;
  background: currentColor;
  border-radius:2px;
}
.nav-mobile[open] .burger::before{ transform: rotate(45deg); }
.nav-mobile[open] .burger::after{ transform: rotate(-45deg); }

/* HEADER LOGO FIX */
.header-row{ flex-wrap:nowrap; }

.brand{
  min-width: 0;          /* scoate blocarea pe lățime */
  flex-shrink: 0;        /* nu lăsa logo-ul să fie strivit aiurea */
}

.brand img,
.custom-logo{
  height: 44px;          /* ajustează: 40–52px */
  width: auto;
  max-width: 220px;      /* ajustează: 180–260px */
  display: block;
  object-fit: contain;
}

/* Opțional: meniu să nu se „rupă” */
.nav{ flex-wrap:nowrap; }
