/* --- PAGRINDINIS TAVO NAVI CSS --- */

/* Pagrindiniai nustatymai */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #fafafa 0%, #e5e5e5 100%);
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* lieka body šriftas */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  overflow-x: hidden;  /* Užkerta horizontalią juostą visam puslapiui */
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.3s ease;
}

a:hover,
a:focus-visible {
  color: #007bff;
  outline: none;
}

/* Sticky header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #222;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 1rem 2rem;
}

header.scrolled {
  background-color: #222;
  box-shadow: 0 4px 20px rgba(0,0,0,0.7);
  padding: 0.5rem 2rem;
}

/* Header struktūra */
.logo-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;  /* maksimalus plotis, kad neplatėtų per daug */
  margin: 0 auto;
}

.logo img {
  height: 150px;
  max-width: 180px;
  transition: height 0.3s ease;
  object-fit: contain;
}

header.scrolled .logo img {
  height: 120px;
}

/* Centruotas meniu */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  font-family: 'Montserrat', sans-serif; /* NAVIGATION font */
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
}

nav li {
  position: relative;
}

/* Navigacijos nuorodos su apatine linija hover efektu */
nav a {
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 12px 0.75rem;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Montserrat', sans-serif;
}

/* Pašaliname apatinę liniją pseudo-elementą, jei buvo */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #ccc;
  transition: width 0.3s ease;
  border-radius: 2px;
}

/* Kai hover, apatinė linija rodoma */
nav a:hover,
nav a:focus-visible {
  color: #fff;
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

/* --- ČIA PRIDĖTA, kad išjungti bet kokias rodykles ar pseudo elementus prie dropdown */
/* Jei tavo dropdown elementai turi klasę 'dropdown' ant li */
nav li.dropdown > a::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

/* Jeigu rodyklė yra SVG arba ikona tiesiai nuorodoje */
nav li.dropdown > a svg,
nav li.dropdown > a .icon,
nav li.dropdown > a .arrow,
nav li.dropdown > a .caret {
  display: none !important;
}

/* DROPDOWN meniu */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  display: none;
  flex-direction: column;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

nav li:hover > .dropdown-content,
nav li:focus-within > .dropdown-content {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content li a {
  padding: 12px 16px;
  display: block;
  color: #fff;
  background-color: #333;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 400;
  font-family: inherit;
}

.dropdown-content li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background-color: #888;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.dropdown-content li a:hover,
.dropdown-content li a:focus-visible {
  color: #fff;
}

.dropdown-content li a:hover::after,
.dropdown-content li a:focus-visible::after {
  width: 100%;
  background-color: #fff;
}

/* Mobilioji versija smulkesnė (iki 600px) */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  nav a {
    display: block;
    margin: 0.5rem 0;
    font-size: 1.1rem;
  }

  .logo img {
    height: 50px;
    max-width: 100px;
  }
}

header.scrolled .logo img {
  height: 120px;
}

/* Centruotas meniu */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  font-family: 'Montserrat', sans-serif; /* NAVIGATION font */
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
}

nav li {
  position: relative;
}

/* Navigacijos nuorodos su apatine linija hover efektu */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #ccc;
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #ccc;
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav a:hover,
nav a:focus-visible {
  color: #fff;
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

/* DROPDOWN meniu */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  display: none;
  flex-direction: column;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

nav li:hover > .dropdown-content,
nav li:focus-within > .dropdown-content {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-content li a {
  padding: 12px 16px;
  display: block;
  color: #fff;
  background-color: #333;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 400;
  font-family: inherit;
}

.dropdown-content li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background-color: #888;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.dropdown-content li a:hover,
.dropdown-content li a:focus-visible {
  color: #fff;
}

.dropdown-content li a:hover::after,
.dropdown-content li a:focus-visible::after {
  width: 100%;
  background-color: #fff;
}

/* Mobilioji versija smulkesnė (iki 600px) */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  nav a {
    display: block;
    margin: 0.5rem 0;
    font-size: 1.1rem;
  }

  .logo img {
    height: 50px;
    max-width: 100px;
  }
}

/* Hero ir kiti komponentai */
.hero {
  padding: 4rem 2rem;
  background: url('img/hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-box {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-box.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */

footer {
  background: #222;
  color: white;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid #444;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo img {
  max-height: 210px;
  transition: transform 0.9s ease;
  object-fit: contain;
}

.footer-logo img:hover {
  transform: scale(1.20);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: left;
  min-width: 220px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.footer-contact a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.icon {
  stroke: #ccc;
  transition: stroke 0.3s ease, filter 0.3s ease;
  flex-shrink: 0;
  fill: none;
}

/* Facebook ikona naudoja fill, todėl jai pritaikome baltą spalvą */
.footer-contact p:last-child .icon {
  fill: #ccc;
  stroke: none;
}

.footer-contact p:hover .icon,
.footer-contact p:focus-within .icon {
  stroke: #fff;
  fill: #fff;
  filter: drop-shadow(0 0 5px #fff);
}

/* Footer šūkis */
.footer-tagline {
  margin-top: 2rem;
  font-style: italic;
  color: #aaa;
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.5s;
}

/* Animacija footer tagline */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-legal {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.footer-legal a {
  color
