/* =================== 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; }
}
/* ================= 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žį */
}

.container {
      max-width: 900px;
      margin: 40px auto;
      background: #fafafa;
      padding: 40px 50px;
      border-radius: 12px;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

    h1 {
      text-align: center;
      margin-bottom: 30px;
      font-weight: 700;
      font-size: 26px;
    }

    form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 25px 30px;
    }

    label {
      display: block;
      font-weight: 600;
      margin-bottom: 6px;
    }

    label span {
      color: red;
    }

    input, select, textarea {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 15px;
      background: #fff;
      box-sizing: border-box;
      transition: border-color 0.2s ease;
    }

    input:focus, select:focus, textarea:focus {
      border-color: #888;
      outline: none;
    }

    textarea {
      resize: vertical;
      min-height: 90px;
    }

    .full {
      grid-column: 1 / 3;
    }

    h2 {
      grid-column: 1 / 3;
      font-size: 18px;
      margin-top: 20px;
      margin-bottom: 10px;
      border-bottom: 1px solid #ddd;
      padding-bottom: 6px;
    }

    .checkbox-group {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px 40px;
      padding-top: 5px;
    }

    .checkbox-group label {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 500;
      cursor: pointer;
    }

    input[type="checkbox"] {
      accent-color: #222;
      width: 18px;
      height: 18px;
    }

    button {
      grid-column: 1 / 3;
      padding: 14px;
      background-color: #222;
      color: #fff;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    button:hover {
      background-color: #444;
    }

    .message {
      grid-column: 1 / 3;
      padding: 10px;
      text-align: center;
      color: green;
      display: none;
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .container {
        margin: 20px;
        padding: 25px;
      }

      form {
        grid-template-columns: 1fr;
      }

      .full, h2, button, .message {
        grid-column: 1;
      }

      .checkbox-group {
        grid-template-columns: 1fr;
      }
    }
    /* =================== 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 */
}