/* =================== Desktop Navbar =================== */
.navbar-desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0; /* užtikrina, kad neliktų tarpo */
  width: 100%;
  padding: 15px 80px; /* mažesnis padding – išvengiam nukirpimo */
  box-sizing: border-box; /* kad padding neplėstų pločio */
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Kairė pusė */
.nav-left {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0; /* padeda išvengti pertempimo */
}

/* Nuorodos */
.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
  white-space: nowrap;
}

/* Dešinė pusė */
.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-shrink: 0; /* neleidžia susispausti */
}

.nav-right .language,
.nav-right .phone,
.nav-right a.duka {
  text-decoration: none;
  color: #000;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}

.nav-right .language:hover,
.nav-right .phone:hover {
  background-color: black;
  color: #fff;
}

.nav-right .phone {
  border: 2px solid #000;
  border-radius: 8px;
  padding: 5px 15px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.nav-right a.duka:hover {
  background-color: transparent;
  color: #000;
}

.nav-right .arrow {
  font-size: 0.7em;
  margin-left: 5px;
}

/* Logo */
.logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Užtikrina, kad hero sektorius nesusispaustų po navbar */
body {
  margin: 0;
  font-family: Verdana, sans-serif;
  background-color: #f5f5f5;
  padding-top: 90px; /* šiek tiek didesnis dėl navbar aukščio */
  box-sizing: border-box;
}


/* =================== Desktop Language Selector =================== */
#langSelectorDesktop {
  position: relative;
  cursor: pointer;
  z-index: 10005;
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s;
  color: #000; /* raidžių spalva visada juoda */
}

/* Hover fono nebėra */
#langSelectorDesktop:hover {
  background: transparent;
}

/* Current lang raidžių spalva visada juoda */
#langSelectorDesktop .currentLang {
  color: #000;
}

/* Nauja moderni rodyklė (">" pasukta žemyn) */
#langSelectorDesktop .arrow {
  display: inline-block;
  margin-left: 6px;
  border: solid #000; /* rodyklė juoda */
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg); /* žemyn */
  transition: transform 0.2s ease;
}

/* Kai dropdown atidarytas – rodyklė pasisuka aukštyn */
#langSelectorDesktop.active .arrow {
  transform: rotate(-135deg);
}

/* Dropdown */
#langDropdownDesktop {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 10006;
  min-width: 60px;
}

/* Dropdown nuorodos */
#langDropdownDesktop a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #000; /* visada juoda */
  font-weight: 500;
}

/* Hover efektas dropdown nuorodoms */
#langDropdownDesktop a:hover {
  background: #f0f0f0;
}
/* =================== Mobile Navbar =================== */
.navbar-mobile {
  display: none;
  flex-direction: column;
  padding: 10px 20px;
  background: #fff;
  border-radius: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10001;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Viršutinė juosta: logo + kalba + burger */
.navbar-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
  z-index: 10010;
}

/* Kairė: logo */
.navbar-mobile-top a img.logo-img {
  height: 50px;
  width: auto;
}

/* Dešinė: kalba + burger */
.mobile-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 20px; /* tarpas nuo dešinės pusės */
}

/* Burger */
.burger {
  font-size: 30px;
  color: #000;
  cursor: pointer;
}

/* =================== Mobile menu =================== */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 25px;
  gap: 30px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

/* =================== Mobile Language Selector =================== */
#langSelectorMobile {
  position: relative;
  cursor: pointer;
  z-index: 10005;
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 500;
  color: #000; /* tekstas visada juodas */
  background: transparent; /* fonas visada permatomas */
  -webkit-tap-highlight-color: transparent; /* išjungia mobilų “tap” efektą */
  transition: none; /* nebebus foninio animacijos mirksėjimo */
}

/* Hover, active ir focus fono nenurodome – fonas visada permatomas */
#langSelectorMobile:hover,
#langSelectorMobile:active,
#langSelectorMobile:focus {
  background: transparent;
}

/* Rodyklė: ">" pasukta žemyn */
#langSelectorMobile .arrow {
  display: inline-block;
  margin-left: 6px;
  border: solid #000; /* rodyklė juoda */
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg); /* žemyn */
  transition: transform 0.2s ease;
}

/* Kai dropdown atidarytas – rodyklė pasisuka aukštyn */
#langSelectorMobile.active .arrow {
  transform: rotate(-135deg);
}

/* Dropdown */
#langDropdownMobile {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 10006;
  min-width: 60px;
}

/* Dropdown nuorodos */
#langDropdownMobile a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #000; /* visada juoda */
  font-weight: 500;
}

/* Hover efektas dropdown nuorodoms */
#langDropdownMobile a:hover {
  background: #f0f0f0;
}



/* =================== Responsive =================== */
@media (max-width: 768px) {
  .navbar-mobile {
    display: flex;
  }
}
/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 10000;
  display: flex;
  flex-direction: column; /* stulpelis, kad nuorodos neatsidėtų į eilutę */
  justify-content: flex-start;
  padding: 40px 25px;
  gap: 30px; /* tarpai tarp blokų */
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

/* Menu Left / Right */
.menu-main {
  display: flex;
  gap: 50px; /* tarpai tarp left ir right blokų */
}

.menu-left, .menu-right {
  display: flex;
  flex-direction: column; /* stulpelis */
}

.menu-left a {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  margin-bottom: 15px;
  padding-bottom: 8px;
}

.menu-left a:last-child {
  border-bottom: none;
}

.menu-right {
  min-width: 120px;
}

.menu-right a {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  margin-bottom: 10px;
  border-bottom: none;
}

.menu-right p {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #777;
}

/* Kontaktai */
.menu-contact p {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}
.menu-contact a {
  font-size: 16px;
  color: #000;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

/* Social ikonėlės */
.menu-social {
  display: flex;
  gap: 15px;
}
.menu-social a {
  font-size: 22px;
  color: #000;
  text-decoration: none;
}


#burger {
  position: relative;
  z-index: 10002; /* didesnis nei .mobile-menu */
}

/* Media queries */
@media (max-width:768px){
  .navbar-desktop { display: none; }
  .navbar-mobile { display: flex; }
}


.container {
  max-width: 1200px;
  width: 100%;
  margin: 40px auto;
  padding: 0 15px;
  font-family: Arial, sans-serif;
  color: #333;
}

.content {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

/* KAIRĖ PUSĖ */
.left {
  flex: 2;
  min-width: 300px;
  width: 100%;
}

.main-photo {
  width: 100%;
  height: 553px;              /* fiksuotas „kubas“ desktop'e */
  border-radius: 8px;
  overflow: hidden;
  background: #fff;           /* be juodų kraštų */
}

.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;          /* užpildo visą bloką kaip admita.lt */
  object-position: center center !important;
  display: block;
  transition: 0.3s;
}
.main-photo > img {
  object-fit: cover !important;
  object-position: center center !important;
}


.photo-carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  width: 100%;
}

.photo-carousel img {
  width: 120px;
  height: 80px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.9;
  border: 2px solid transparent;
  transition: transform 0.3s, opacity 0.3s, border 0.3s;
  object-fit: cover;
}

.photo-carousel img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.photo-carousel img.active {
  border: 2px solid #d32f2f;
  opacity: 1;
}

/* DEŠINĖ PUSĖ */
.right {
  flex: 1;
  background: #2f2f2f;
  color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  min-width: 260px;
  width: 100%;
}

.price-box h3 {
  text-align: center;
  margin-bottom: 20px;
}

.price-item {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  padding: 8px 0;
}

.price-item p {
  margin: 0;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 8px 0;
}

/* APATINIS TEKSTAS */
.text-section {
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  width: 100%;
}

#text {
  overflow: hidden;
  max-height: 80px;
  transition: max-height 0.4s ease;
}

#text.expanded {
  max-height: 500px;
}

#readMoreBtn {
  background: #d32f2f;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 4px;
}

#readMoreBtn:hover {
  background: #b71c1c;
}

/* ——————————————————————— */
/* 📱 TELEFONAMS IR PLANŠETĖMS */
/* ——————————————————————— */
@media (max-width: 900px) {
  .content {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .left, .right {
    width: 100%;
    max-width: 100%;
  }

  .main-photo {
    height: 320px;
  }

  .photo-carousel img {
    width: 90px;
    height: 60px;
  }

  .right {
    background: #2f2f2f;
    color: #fff;
    width: 100%;
  }

  .price-box h3 {
    font-size: 20px;
  }

  .text-section {
    margin-top: 10px;
  }

  #readMoreBtn {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .main-photo {
    height: 250px;
  }

  .photo-carousel img {
    width: 75px;
    height: 50px;
  }

  .price-item {
    font-size: 15px;
  }

  .text-section {
    padding: 15px;
  }
}
/* ================= Footer ================= */
.footer {
  background-color: #111; 
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.footer-logo img {
  max-width: 160px;
  margin-bottom: 20px;
}

.footer-contacts,
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contacts li,
.footer-column ul li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #bbb;
  display: flex;
  align-items: center;
}

.footer-contacts li .icon {
  margin-right: 10px;
  font-size: 18px;
}

.footer-contacts a,
.footer-column ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contacts a:hover,
.footer-column ul li a:hover {
  color: #fff;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
}

/* ================= Payment ================= */
.payment-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.pay-card {
  background: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.pay-card img {
  height: 10px;
  width: auto;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* pašalina horizontalų scroll ir baltą dryžį */
}
.text-section {
  background: #fafafa;
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-family: Arial, sans-serif;
  color: #333;
  position: relative;
  overflow: hidden;
}

/* Tik dalis teksto matoma */
#text {
  max-height: 300px;
  overflow: hidden;
  transition: max-height 0.6s ease;
  position: relative;
}

/* Išpleista būsena */
#text.expanded {
  max-height: 1000px;
}

/* Gradientinis blukimas apačioje */
.fade-overlay {
  position: absolute;
  bottom: 50px; /* virš mygtuko */
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, #fafafa 50%, rgba(250, 250, 250, 0));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Kai rodomas visas tekstas – blukimas dingsta */
#text.expanded + .fade-overlay {
  opacity: 0;
}

/* Mygtukas */
#readMoreBtn {
  background: transparent;
  border: none;
  color: #000;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 5px;
  transition: color 0.3s, background 0.3s;
}

/* Hover – kaip tavo kalbos pasirinkimo efektas */
#readMoreBtn:hover {
  background-color: #000;
  color: #fff;
}

/* Rodyklė – identiška kalbos meniu */
#readMoreBtn .arrow {
  display: inline-block;
  margin-left: 6px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.3s;
}

/* Kai paspausta – rodyklė pasisuka aukštyn */
#readMoreBtn.active .arrow {
  transform: rotate(-135deg);
}

/* Hover metu rodyklė tampa balta */
#readMoreBtn:hover .arrow {
  border-color: #fff;
}

/* ✅ Žalios varnelės */
.rental-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem 1rem;
  list-style: none; /* panaikinam juodus taškus */
  padding: 0;
  margin: 1.5rem 0;
}

.rental-benefits li {
  color: #222;
  position: relative;
  padding-left: 28px;
}

.rental-benefits li::before {
  content: "✔";
  color: #2ecc71;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* ✅ Pagrindinės savybės sąrašas be taškų */
.features-list {
  list-style: none; /* jokių juodų taškų */
  margin-left: 0;
  padding-left: 0;
}

.features-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}
/* Mygtuko konteineris – kad centriškai išsidėstytų */
.reserve-btn-wrapper {
  text-align: center;
  margin-top: 20px;
}

/* Pats mygtukas */
.reserve-btn {
  display: inline-block;
  background-color: #d32f2f; /* tamsiai raudonas – dera su akcentais */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 19px 35px;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
}

/* Hover efektas */
.reserve-btn:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
}

/* Mažesniuose ekranuose – platesnis */
@media (max-width: 600px) {
  .reserve-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
  }
}

/* =================== Newsletter container =================== */
.newsletter-container {
  max-width: 400px;
  margin: 20px;
  font-family: Arial, sans-serif;
}

/* =================== Input group =================== */
.input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.input-group input[type="email"] {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 5px;
  transition: border 0.2s;
}

.input-group button {
  width: 50px;
  height: 50px;
  background-color: #f5c600;
  border: 2px solid #f5c600;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  transition: border 0.2s, background 0.2s;
}

.input-group button::after {
  content: '→'; /* normalus dešinės krypties simbolis */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px; /* didesnė rodyklė */
  color: white;
  line-height: 1;
}

/* =================== Consent checkbox =================== */
.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  position: relative;
}

.consent input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  display: inline-block;
  border-radius: 5px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
}

.custom-checkbox::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  top: 2px;
  left: 6px;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s;
}

.consent input[type="checkbox"]:checked + .custom-checkbox {
  background-color: #f5c600;
  border-color: #f5c600;
}

.consent input[type="checkbox"]:checked + .custom-checkbox::after {
  transform: rotate(45deg) scale(1);
}

.consent a {
  text-decoration: underline;
  color: blue;
}

.error-checkbox {
  border-color: red !important;
}

/* =================== Success state =================== */
.input-group.success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #4caf50; /* žalias fonas */
  color: white;
  border-radius: 5px;
  padding: 12px 15px;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  transition: all 0.3s;
}

/* Tik viena varnelė prieš tekstą */
.input-group.success::before {
  content: '✔';
  display: inline-block;
  font-size: 20px;
  margin-right: 8px;
  line-height: 1;
}

/* Paslepiam submit mygtuko arrow */
.input-group.success button::after {
  content: none;
}

/* Paslepiam checkbox ir tekstą po submit */
.input-group.success ~ .consent {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}

/* Checkbox pseudo-elementas po submit nesimato */
.input-group.success ~ .consent .custom-checkbox::after {
  transform: scale(0) !important;
}

/* =================== Success message tekstas =================== */
#successMessage {
  margin-top: 10px;
  font-weight: 500;
  font-size: 16px;
  color: #4caf50;
}

/* =================== Hover/focus states =================== */
.input-group input[type="email"]:focus {
  outline: none;
  border-color: #999;
}

.input-group button:hover {
  background-color: #e6b800;
}

.input-group button:active {
  transform: scale(0.98);
}

/* =================== Responsive =================== */
@media (max-width: 480px) {
  .newsletter-container {
    max-width: 100%;
    padding: 0 10px;
  }

  .input-group button {
    width: 45px;
    height: 45px;
  }
}
.consent a {
  text-decoration: none; /* nebėra pabraukimo */
  color: #f5c600; /* paveldi teksto spalvą */
}
.consent {
  display: inline-flex;       /* inline-flex vietoje flex */
  align-items: center;        /* vertikaliai center */
  gap: 8px;                   /* tarpai tarp checkbox ir teksto */
  font-size: 14px;
  flex-wrap: wrap;            /* leidžia persikelti tik jei labai mažai vietos */
}

.consent input[type="checkbox"] {
  flex-shrink: 0;             /* checkbox nesumažėja */
}

.consent span.custom-checkbox {
  width: 20px;
  height: 20px;
}

.consent span,
.consent a {
  white-space: nowrap;        /* tekstas ir nuoroda nesiskaldys */
}

@media (max-width: 480px) {
  .consent {
    font-size: 12px;          /* šiek tiek mažesnis tekstas tilpimui */
    gap: 6px;
  }
}
.newsletter-text {
  font-size: 16px;
  margin-bottom: 15px;
  color: #fff;
  text-align: center; /* arba left, jei nori kairėje */
}