* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background-color: #ececec;
  color: #111;
  position: relative;
  overflow-x: hidden;
}

/* NAVIGACIJA */
nav {
  width: 100%;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

a {
  text-decoration: none;
  color: inherit;
}

.logo .logotipas {
  font-weight: bold;
  font-size: 24px;
  color: #CAC196;
}

.logotipas img {
  width: 25%;
  height: auto;
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}


.navigacijos-turinys {
  display: flex;
  align-items: center;
  gap: 30px;
}

.meniu ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.meniu ul li {
  font-size: 16px;
  color: black;
  font-weight: 500;
  cursor: pointer;
}

.mygzukai ul {
  display: flex;
  gap: 10px;
  list-style: none;
}

.meniu li a:hover {
    color: #CAC196;
}

.nacas button {
  background-color: black;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.nacas1 button {
  background-color: #CAC196;
  color: black;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.btn-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000;      
  color: #fff;               
  text-decoration: none;         
  border-radius: 8px;           
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-link:hover {
  background-color: #333;        
}

.cal-link-button {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cal-link-button:hover {
  background-color: #333;
}


.burger {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/background.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}


/* TURINIO BLOKAS */
.kontaktai-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.kontaktai-container h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.kontaktai-container .intro {
  font-size: 16px;
  margin-bottom: 50px;
  color: #444;
}

.kontaktai-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  padding: 40px;
  box-shadow:
    inset 0 0 10px rgba(158, 158, 158, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.08);
}

.info-box,
.form-box {
  flex: 1;
  min-width: 280px;
  border-radius: 16px;
  padding: 30px 24px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  background: linear-gradient(to bottom, #ffffff 0%, #dddcdc 100%);
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.info-box h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.info-box p {
  font-size: 15px;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.5;
}

.call-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #cac196;
  color: #000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 40px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.call-button:hover {
  background-color: #b8b07d;
}

/* Iliustracijos stilius apačioje */
.ikonele {
  background-image: url("../images/ikonele.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 200px;
  width: 100%;
  margin-top: auto;
}



.form-box {
  flex: 2;
  min-width: 300px;
  text-align: left;
}

.form-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.form-box p {
  margin-bottom: 20px;
  color: #555;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

textarea {
  resize: vertical;
  padding: 12px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: rgba(255, 255, 255, 0.95);
  color: #000;
}

input {
  padding: 12px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: rgba(255, 255, 255, 0.95);
  color: #000;
}

textarea {
  resize: vertical;
  margin-bottom: 20px;
}

button[type="submit"] {
  padding: 12px 20px;
  background-color: #cac196;
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

button[type="submit"]:hover {
  background-color: #b8b07d;
}

.bottom-email {
  font-size: 14px;
  color: #333;
  margin-top: 10px;
}

.bottom-email a {
  color: #000;
  text-decoration: underline;
}

/* KOMANDA */
.komanda {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  max-width: 1150px;
  margin: 80px auto;
  padding: 60px 20px;
  box-shadow:
    inset 0 0 10px rgba(158, 158, 158, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  background: linear-gradient(to bottom, #ffffff 0%, #dddcdc 100%);
}

.komanda h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.komanda p {
  text-align: justify;        /* Išlygiuoja tekstą į abi puses */
  text-justify: inter-word;   /* Paskirsto tarpus tarp žodžių */
  hyphens: auto;              /* Leidžia skaldyti žodžius jei reikia */
  max-width: 900px;           /* Apriboja maksimalų plotį */
  margin: 0 auto;             /* Centruoja bloką horizontaliai */
  line-height: 1.6;           /* Geresnis tarp eilučių tarpas */
}

.cta-footer {
  position: relative;
  background-color: #0b0b0b;
  color: #fff;
  padding: 80px 20px 40px;
  overflow: hidden;
}

.cta-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-footer-content {
  text-align: center;
  margin-bottom: 60px;
}

.cta-footer-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.cta-footer-content p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 24px;
}

.h12, .po {
  color: #b8b07d;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #cac196;
  color: #000;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-button:hover {
  background-color: #b8b07d;
  transform: scale(1.05);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 20px;
}

.footer-left {
  flex: 1;
  font-size: 13px;
  color: #bbb;
}

.footer-logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.footer-logo img {
  width: 100px; /* gali koreguoti pagal poreikį */
  height: auto;
}

.footer-menu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.footer-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
}

.footer-menu ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-menu ul li a:hover {
  color: #b8b07d;
}

.snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.snowflake {
  position: absolute;
  top: -2em;
  color: white;
  font-size: 1.5em;
  user-select: none;
  animation-name: fall;
  animation-duration: 10s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: 0s;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

.snowflake:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.snowflake:nth-child(2) {
  left: 20%;
  animation-delay: 1s;
}

.snowflake:nth-child(3) {
  left: 30%;
  animation-delay: 2s;
}

.snowflake:nth-child(4) {
  left: 40%;
  animation-delay: 3s;
}

.snowflake:nth-child(5) {
  left: 50%;
  animation-delay: 4s;
}

.snowflake:nth-child(6) {
  left: 60%;
  animation-delay: 2s;
}

.snowflake:nth-child(7) {
  left: 70%;
  animation-delay: 3s;
}

.snowflake:nth-child(8) {
  left: 80%;
  animation-delay: 1s;
}

.snowflake:nth-child(9) {
  left: 90%;
  animation-delay: 5s;
}

.snowflake:nth-child(10) {
  left: 100%;
  animation-delay: 2.5s;
}

@media (max-width: 768px) {
   .burger {
        display: block;
    }

    .navigacijos-turinys {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(202, 193, 150, 0.4); /* OPACITY pridėta */
        position: absolute;
        top: 10vh;
        left: 0;
        z-index: 1000;
        padding: 30px 0;
        align-items: center;
        backdrop-filter: blur(10px); /* Gražesnis efektas */
    }

    .navigacijos-turinys.active {
        display: flex;
    }

    .meniu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        text-align: center;
        list-style: none;
    }

    .meniu ul li {
        font-size: 1.2rem;
        font-weight: 500;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Tarpinė linija */
        width: 100%;
    }

    .meniu ul li:last-child {
        border-bottom: none; /* paskutinis be linijos */
    }

    .meniu li a {
        color: black;
        text-decoration: none;
        display: block;
        width: 100%;
        transition: 0.3s ease;
    }

    .meniu li a:hover {
        color: #CAC196;
    }

    /* PAŠALINTAS mygzukai (mygtukai) */
    .mygzukai {
        display: none !important;
    }

   .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-row input,
  .form-box textarea,
  .form-box input,
  .form-box button {
    width: 100%;
  }

  .komanda p {
    margin-top: 10%;
    padding: 0 25px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-menu ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    margin: 0;
  }

  .footer-menu ul li {
    list-style: none;
  }

  .footer-left {
    font-size: 14px;
  }

  .logotipas img {
    width: 100px;
  }
}