:root{
  /* Paletă LST LucaBus – roșu & negru */
  --bg:#0f0f10;              /* negru profund (overlay) */
  --bg2:#1a1a1c;             /* negru deschis */
  --accent:#c1121f;          /* roșu principal (logo) */
  --accent2:#8a0e16;         /* roșu închis */
  --text:#ffffff;
  --muted:rgba(255,255,255,.72);
  --line:rgba(255,255,255,.18);
  --card:#ffffff;
  --cardText:#121212;
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --radius:18px;
  --max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#0b2230;
}

a{color:inherit; text-decoration:none}

/* ===== Header/Hero ===== */
.hero{
  position:relative;
  min-height:72vh;
  overflow:hidden;
  border-bottom:6px solid var(--accent);
}

/* Background slides */
.hero .slides{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero .slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position: center 85%;
  opacity:0;
  transform:scale(1.03);
  transition:opacity .8s ease, transform 1.2s ease;
}
.hero .slide.is-active{
  opacity:1;
  transform:scale(1);
}

/* Teal overlay + top-to-bottom depth */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(15,15,16,.75), rgba(26,26,28,.65)),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.30));
  z-index:1;
}

.wrap{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

.topbar{
  position:relative;
  z-index:2;
  padding:22px 0 14px;
}

.toprow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  align-items:flex-start;
  gap:14px;
  min-width:240px;
}

.brand-mark{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  flex:0 0 auto;
}

.brand-name{
  line-height:1;
  font-weight:900;
  letter-spacing:.4px;
  font-size:46px;
  text-transform:none; /* păstrează exact literele din HTML (LST LucaBus) */
}

.brand-sub{
  margin-top:6px;
  font-size:14px;
  color:var(--muted);
  font-weight:600;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav a{
  font-weight:700;
  padding:12px 14px;
  border-radius:12px;
  opacity:.92;
  position: relative;
  z-index: 1;
}

.nav a::before{
  content:"";
  position:absolute;
  inset:0;
  background:var(--accent);
  z-index:-1;
  opacity:0;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s ease, opacity .2s ease;
  border-radius:12px; /* colțuri rotunjite la hover */
}

.nav a:hover::before{
  opacity:1;
  transform:scaleX(1);
}

.nav a:hover{background:rgba(255,255,255,.10)}

.nav a.is-active{
  background:var(--accent);
  color:#ffffff;
  border-radius:0;
  padding:26px 18px;
  margin-top:-8px;
  box-shadow:0 14px 40px rgba(0,0,0,.25);
  z-index:2;
}

.topline{
  margin-top:18px;
  height:2px;
  background:var(--line);
}

.hero-content{
  position:relative;
  z-index:2;
  padding:70px 0 84px;
  text-align:center;
}

.hero h1{
  margin:0;
  font-size:clamp(40px, 6vw, 78px);
  font-weight:900;
  letter-spacing:-.5px;
  text-shadow:0 12px 30px rgba(0,0,0,.25);
}

.hero p{
  margin:14px auto 0;
  max-width:900px;
  font-size:clamp(18px, 2.2vw, 36px);
  color:rgba(255,255,255,.92);
  font-weight:600;
  text-shadow:0 10px 22px rgba(0,0,0,.22);
}

.dots{
  margin-top:30px;
  display:flex;
  justify-content:center;
  gap:10px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:99px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(255,255,255,.35);
  cursor:pointer;
  transition:transform .2s ease, background .2s ease;
}

.dot.is-active{
  background:var(--accent);
  transform:scale(1.15);
}

/* ===== Section: intro ===== */
main{background:#f6fbff; color:#0b2230}

.section{
  padding:64px 0;
}

.grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:32px;
  align-items:center;
}

.kicker{
  color: var(--accent);
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}

.section h2{
  margin:10px 0 10px;
  font-size:clamp(26px, 3vw, 42px);
  font-weight:900;
  color:#0c2a35;
}

.section p{
  margin:0;
  color:#35525e;
  font-size:18px;
  line-height:1.55;
}

.highlight{color:var(--accent); font-weight:900}

.card{
  background:var(--card);
  color:var(--cardText);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
  border:1px solid rgba(0,0,0,.06);
}

.stats{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}

.stat{
  padding:14px;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(193,18,31,.18), rgba(193,18,31,.06));
  border:1px solid rgba(193,18,31,.35);
}

.stat b{display:block; font-size:22px}
.stat span{color:#35525e}

/* ===== Contact bar ===== */
.contact-bar{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:50;
  display:flex;
  gap:10px;
  align-items:flex-end;
}

.chat-bubble{
  background:#fff;
  color:#0c2a35;
  border-radius:14px;
  box-shadow:0 14px 40px rgba(0,0,0,.18);
  padding:14px 16px;
  font-weight:700;
  border:1px solid rgba(0,0,0,.06);
  max-width:260px;
}

.avatar{
  width:46px;
  height:46px;
  border-radius:50%;
  background:linear-gradient(180deg, #d7f7ff, #ffffff);
  border:2px solid rgba(123,200,0,.6);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  overflow:hidden;
  display:grid;
  place-items:center;
  font-weight:900;
  color:#1f7f96;
}

/* ===== Footer ===== */
footer{
  background:#0b2230;
  color:rgba(255,255,255,.86);
  padding:38px 0;
}
footer .cols{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap:22px;
}
footer h3{margin:0 0 10px; color:#fff}
footer a{opacity:.9}
footer a:hover{opacity:1; text-decoration:underline}
.small{opacity:.7; font-size:14px; margin-top:12px}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .grid{grid-template-columns:1fr;}
  .nav{justify-content:flex-start}
  .nav a.is-active{padding:16px 14px; margin-top:0; border-radius:12px}
  footer .cols{grid-template-columns:1fr}
}

/* ===== Contact section – larger map ===== */
#contact .card{
  grid-template-columns: 1fr 1.2fr; /* give more space to the map */
}

#contact .map-embed{
  height: 420px; /* larger map height */
  width: 100%;
  border-radius:16px;
  overflow:hidden;            /* IMPORTANT: keep map inside the card */
  background:#eaf6fb;
  border:1px solid rgba(0,0,0,.10);
}

#contact .map-embed iframe{
  width:100% !important;
  height:100% !important;
  border:0;
  display:block;
}

/* Contact card layout (ensure map stays inside) */
.contact-card{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:18px;
  align-items:stretch; /* important: stretch children to card height */
  overflow:hidden;     /* safety: prevent any overflow */
}

/* remove any leftover inline sizing effects */
.contact-card > div{min-width:0;}

/* ===== Fleet images fixed size ===== */
.fleet-img {
  width: 100%;
  height: 220px;              /* înălțime FIXĂ pentru toate */
  object-fit: cover;          /* taie surplusul, nu deformează */
  object-position: center 25%;
  display: block;
  background: #eee;           /* fallback dacă poza e lentă */
}

/* Control separat pe imagini */
.fleet-img--standard{
  object-position: center 28%; /* ajustează primele 2 imagini */
}

.fleet-img--vip{
  object-position: center; /* ajustează VIP separat */
}

/* Asigură că nimic nu poate mări imaginea */
.fleet-card img {
  max-width: 100%;
  height: 220px;
}

/* Variantă modernă: proporție constantă */
@supports (aspect-ratio: 16 / 9) {
  .fleet-img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: center 25%;
  }

  .fleet-img--standard{
    object-position: center 85%;
  }

  .fleet-img--vip{
    object-position: center;
  }

  .fleet-card img {
    height: auto;
  }
}

@media (max-width: 900px){
  #contact .card{
    grid-template-columns: 1fr; /* stack on mobile */
  }

  #contact .map-embed{
    height: 320px;
    width: 100%;
    border-radius:16px;
    overflow:hidden;
  }

  .contact-card{grid-template-columns:1fr;}
}
