:root {
  --jura: #0d7e8c;
  --jura-tamsi: #095c66;
  --jura-svies: #16a3b3;
  --smelis: #f6f3ec;
  --tekstas: #16242a;
  --pilka: #5e6b6e;
  --kortele-rad: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--tekstas);
  background: var(--smelis);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* apsauga nuo atsitiktinio horizontalaus slinkimo */
}
::selection { background: var(--jura); color: #fff; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Teksto ikonos – perdažomos teksto spalva (currentColor) per CSS kaukę */
.txt-ico {
  display: inline-block; width: 1em; height: 1em;
  vertical-align: -0.14em; margin-right: 0.45em; flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}
.txt-ico.boat { --m: url("nuotraukos/Boat.png"); }
.txt-ico.cal  { --m: url("nuotraukos/Calendar.png"); }
.txt-ico.call { --m: url("nuotraukos/Call.png"); }

/* Mobilus: išjungti dvigubo bakstelėjimo priartinimą (lieka pinch-zoom) */
body, a, button, .nav, .dots button, .map-btn, .rev-nav, .lang-toggle, .lang-menu button {
  touch-action: manipulation;
}

/* HERO */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, rgba(6,70,78,0.45) 0%, rgba(7,78,86,0.55) 45%, rgba(6,52,58,0.85) 100%),
              url("nuotraukos/elektrinisKateris_1.jpg") center/cover no-repeat;
}
.hero-content { max-width: 760px; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 1.2rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  padding: 0.45rem 1.1rem; border-radius: 50px; backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero p {
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  opacity: 0.95;
  max-width: 620px; margin: 0 auto;
}
.hero-phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.6rem; background: #fff; color: var(--jura-tamsi);
  text-decoration: none; font-weight: 800;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  padding: 0.7rem 1.6rem; border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hero-phone:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.3); }

/* SECTIONS */
section { padding: 4rem 1.5rem; }
section:first-of-type { padding-top: 2.2rem; } /* arčiau HERO */
.wrap { max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
  color: var(--jura-tamsi);
}
.section-sub {
  text-align: center;
  color: var(--pilka);
  margin-bottom: 1.2rem;
  font-size: 1.12rem;
  max-width: 560px; margin-left: auto; margin-right: auto;
}

/* CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 1.4rem;
}
.card {
  background: #fff;
  border-radius: var(--kortele-rad);
  overflow: hidden;
  border: 1px solid rgba(13,126,140,0.08);
  box-shadow: 0 10px 30px rgba(13,126,140,0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(13,126,140,0.20); }

/* GALLERY */
.gallery { position: relative; height: 230px; background: #d9e6e8; overflow: hidden; }
.slides { display: flex; height: 100%; transition: transform 0.4s ease; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.85); color: var(--jura-tamsi);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); transition: background 0.15s;
}
.nav:hover { background: #fff; }
.nav.prev { left: 10px; }
.nav.next { right: 10px; }
.dots {
  position: absolute; bottom: 12px; left: 0; right: 0;
  display: flex; gap: 8px; justify-content: center;
}
.dots button {
  width: 11px; height: 11px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.6); cursor: pointer; padding: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3); transition: background 0.2s, transform 0.2s;
}
.dots button.active { background: #fff; transform: scale(1.25); }
.gallery.single .nav, .gallery.single .dots { display: none; }

.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; color: var(--jura-tamsi); }
.card p { color: var(--pilka); margin-bottom: 1.2rem; flex: 1; }
.prices { list-style: none; }
.prices li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 0; border-top: 1px solid #eee; font-size: 1.05rem;
}
.prices li span:first-child { font-weight: 600; }
.kaina {
  background: linear-gradient(135deg, #2ecc71, #1f9d57);
  color: #fff; font-weight: 700;
  padding: 0.25rem 0.85rem; border-radius: 50px; font-size: 1rem;
  box-shadow: 0 4px 12px rgba(31,157,87,0.3);
}
.sena-kaina { text-decoration: line-through; color: #c0392b; opacity: 0.7; margin-right: 0.4rem; font-weight: 600; }
.price-wrap { display: inline-flex; align-items: center; gap: 0.45rem; }
.save {
  background: linear-gradient(135deg, #ffd75e, #ffb300); color: #5e4500;
  font-weight: 800; font-size: 0.78rem;
  padding: 0.15rem 0.5rem; border-radius: 50px;
  box-shadow: 0 3px 10px rgba(255,179,0,0.3);
}
.akcija {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: linear-gradient(135deg, #ffd75e, #ffb300); color: #5e4500;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 50px; margin-bottom: 0.9rem;
  box-shadow: 0 4px 12px rgba(255,179,0,0.3);
}

/* REVIEWS */
.reviews { background: #fff; }
.reviews .wrap { text-align: center; }
.stars { color: #f5b50a; font-size: 1.6rem; letter-spacing: 2px; margin: 0.4rem 0; }
.google-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid #dadce0; color: #3c4043;
  text-decoration: none; font-weight: 600; padding: 0.7rem 1.4rem;
  border-radius: 50px; transition: box-shadow 0.15s, transform 0.15s;
}
.google-link:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.12); transform: translateY(-2px); }

.rating-head { display: inline-flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.rating-num { font-size: 3rem; font-weight: 800; color: var(--jura-tamsi); line-height: 1; }
.rating-info { text-align: left; }

/* Atsiliepimų karuselė – rodyklės po juosta (neperspaudžia kortelių) */
.reviews-carousel { margin-bottom: 1.4rem; }
.reviews-track {
  display: flex; gap: 1.2rem; overflow-x: auto; padding: 0.5rem 0.2rem 1.4rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
}
.reviews-track.centered { justify-content: center; }   /* centruoti, kai telpa */
.reviews-track:empty { display: none; }
.reviews-track::-webkit-scrollbar { height: 8px; }
.reviews-track::-webkit-scrollbar-thumb { background: #cfe0e2; border-radius: 50px; }
.rev-nav-row { display: flex; justify-content: center; gap: 0.9rem; margin-top: 0.4rem; }
.reviews-carousel.no-nav .rev-nav-row { display: none; }
.rev-nav {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid #e0e0e0; background: #fff; color: var(--jura-tamsi);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: background 0.15s, transform 0.15s;
}
.rev-nav:hover { background: var(--smelis); transform: translateY(-2px); }
.review-card {
  flex: 0 0 340px; max-width: 86vw; scroll-snap-align: center; background: var(--smelis);
  border-radius: 16px; padding: 1.6rem; text-align: left;
  box-shadow: 0 6px 18px rgba(13,126,140,0.08);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.review-card .rhead { display: flex; align-items: center; gap: 0.7rem; }
.review-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--jura);
  color: #fff; font-weight: 700; font-size: 1.1rem; overflow: hidden; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.review-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card .who { font-weight: 700; color: var(--tekstas); line-height: 1.2; }
.review-card .when { font-size: 0.8rem; color: var(--pilka); }
.review-card .rstars { color: #f5b50a; font-size: 1rem; letter-spacing: 1px; }
.review-card .rtext { color: var(--pilka); font-size: 0.95rem; line-height: 1.5; }

/* CONTACT */
.contact { background: linear-gradient(160deg, #0a6470 0%, var(--jura-tamsi) 60%, #06424a 100%); color: #fff; text-align: center; }
.contact h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 1rem; }
.contact .phone {
  font-size: clamp(1.6rem, 5vw, 2.6rem); font-weight: 800; color: #fff;
  text-decoration: none; display: inline-block; margin: 0.5rem 0 1.2rem;
}
.contact .phone:hover { text-decoration: underline; }
.services { font-size: 1.1rem; opacity: 0.9; margin-bottom: 0.6rem; }
.hours { font-size: 1.05rem; opacity: 0.9; margin-bottom: 2rem; }
.hours strong { font-weight: 700; }

.socials { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.4rem; }
/* Facebook mygtukas – toks pat dydis kaip Waze, tik didesnė ikona.
   Neigiama paraštė kompensuoja paveikslėlio vidinį tuščią plotą,
   kad logotipas atrodytų didesnis, o mygtuko aukštis nepasikeistų. */
.socials .map-btn .ico { width: 64px; height: 64px; border-radius: 14px; margin: -12px 0 -9px; }

.nav-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; opacity: 0.95; }
.map-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.map-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.4rem;
  text-decoration: none; color: var(--jura-tamsi); background: #fff;
  padding: 1rem 1.6rem; border-radius: 16px; font-weight: 700; min-width: 110px;
  transition: transform 0.15s, box-shadow 0.15s; box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.map-btn .ico { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; display: block;
                transition: transform 0.18s ease; }
.map-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,0.3); }
.map-btn:hover .ico { transform: scale(1.12); }

.footer { padding: 1.5rem; text-align: center; color: var(--pilka); font-size: 0.9rem; }

/* SCROLL REVEAL – „pop out" efektas */
.reveal {
  opacity: 0; transform: translateY(34px) scale(0.92);
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* LANGUAGE SWITCH */
.lang-switch { position: fixed; bottom: 18px; left: 18px; z-index: 200; }
.flag { width: 22px; height: 15px; border-radius: 3px; display: block; flex: 0 0 auto;
        box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang-toggle {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #e4e4e4; cursor: pointer;
  padding: 8px 13px; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  color: var(--tekstas); box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.lang-toggle .chev { margin-left: 1px; color: var(--pilka); font-size: 0.7rem;
                     transition: transform 0.2s; }
.lang-switch.open .lang-toggle .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; bottom: calc(100% + 8px); left: 0; min-width: 168px;
  background: #fff; border: 1px solid #e4e4e4; border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18); overflow: hidden; padding: 5px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: transparent; border: none; cursor: pointer; text-align: left;
  padding: 9px 11px; border-radius: 8px; font-size: 0.95rem; font-weight: 600;
  color: var(--tekstas);
}
.lang-menu button:hover { background: var(--smelis); }
.lang-menu button.active { background: #eaf3f4; color: var(--jura-tamsi); font-weight: 700; }
