/* ------------------------------
   LIGHT PREMIUM L1 THEME
   (Šviesi, premium, moderni)
-------------------------------*/

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f4f4f6;
  --line: #e3e5e8;
  --text: #1a1a1a;
  --muted: #6d737c;

  --accent: #f2c94c;
  --accent-strong: #e0b83e;

  --shadow: 0 8px 22px rgba(0, 0, 0, 0.08);

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --container: 1180px;
}

/* RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* LAYOUT */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

section {
  padding: 64px 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  text-align: center;
  margin-bottom: 18px;
}

.sub {
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
  font-size: 0.98rem;
}

/* ===== NAVIGATION (NH2 – light glass) ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent);
}

.logo i {
  color: var(--accent);
}

.logo-img {
  height: 18vh;   /* buvo ~46px, dabar ~40% mažesnis */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  opacity: 0.9;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  background: var(--surface-2);
}

.call-now a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #111;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.call-now a:hover {
  background: var(--accent-strong);
}

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('../img/hero6.jpg') center 35% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.35));
  z-index: 0; /* ↓ buvo 1, keičiame į 0 */
}

.hero-inner {
  position: relative;
  z-index: 1; /* ↑ tekstas virš overlay */
}

.hero h2 {
  font-size: clamp(2.07rem, 1.38rem + 2.3vw, 2.99rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.hero p {
  color: #fff;
  opacity: 0.95;
  font-size: clamp(1rem, 0.9rem + .4vw, 1.25rem);
  margin-bottom: 20px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== BUTTONS (B3 – mixed) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, background .25s ease, box-shadow .25s ease;
}

.btn.primary {
  background: var(--accent);
  color: #111;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn.ghost {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn.ghost:hover {
  background: var(--surface-2);
}

.btn.phone {
  background: var(--accent);
  color: #fff;
}

.btn.phone:hover {
  background: #d32f2f;
}

.btn.whatsapp {
  background: #25D366;
  color: #fff;
}

.btn.viber {
  background: #7360F2;
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ===== ABOUT ===== */
.about {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3.5vw, 36px);
  box-shadow: var(--shadow);
}

.about img {
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about h3 {
  font-size: clamp(1.3rem, 1rem + 1vw, 1.6rem);
  margin-bottom: 10px;
}

.about p {
  color: var(--muted);
}

/* ===== CONTACT ===== */
.contact-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

/* ===== SERVICES (C3 mixed style) ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, background .25s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-3px);
  background: var(--surface-2);
}

.card .emoji {
  font-size: 1.4rem;
}

.card h3 {
  margin: 8px 0 6px;
  font-size: 1.05rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== WHY US (C3 - alt style) ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.why-item {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.why-item i {
  font-size: 1.3rem;
  color: var(--accent);
}

.why-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== TESTIMONIALS (slider) ===== */
.slider {
  position: relative;
  margin-top: 26px;
}

.slides {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

.slide {
  flex: 0 0 100%;
  padding: 20px;
}

.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow);
}

.quote small {
  color: var(--muted);
  display: block;
  margin-top: 6px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cfd2d6;
  border: 1px solid var(--line);
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.slider-btn:hover {
  background: var(--surface-2);
}

.slider-btn.prev {
  left: 6px;
}

.slider-btn.next {
  right: 6px;
}

.more-btn {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* ===== FAQ ===== */
.faq {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

summary .chev {
  margin-left: auto;
  transition: transform .25s ease;
}

details[open] summary .chev {
  transform: rotate(180deg);
}

details p {
  color: var(--muted);
  margin-top: 10px;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
}

/* ===== REVEAL ON SCROLL (animations level 2) ===== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

    .nav-links {
      position: absolute;
      top: 100%;       /* visada žemiau headerio */
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
      display: grid;
      gap: 6px;
      padding: 12px;
      transform-origin: top;
      transform: scaleY(0);
      opacity: 0;
      transition: transform .2s ease, opacity .2s ease;
    }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
  }

  .hero {
    min-height: 65vh;
    /* Mobile height */

    /* MOBILE BACKGROUND */
    background: url('../img/automobilis.webp') center top / cover no-repeat;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}