/* === GLOBAL RESETS === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color:#f3e3ae;
  color: #181849;
  line-height: 1.6;
  font-size: 25px;
}
h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}


img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
  scroll-margin-top: 200px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}
section + section {
  margin-top: 60px;
}
.section-grid p, .section-grid ul {
  font-size: 1.1rem;
  line-height: 1.8;
  
}.section-image {
  transition: transform 0.3s ease;
}

.section-image:hover {
  transform: scale(1.05);
}


/* === HEADER === */
.hero {
  background: linear-gradient(to right, #000000, #333333);
  color: #0e56a8;
  padding: 100px 20px 60px;
  text-align: center;
  font-size: 25px;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  z-index: 2;
  position: relative;
}

.logo {
  max-width: 200px;
  width: 70%;
  height: auto;
}

@media (max-width: 768px) {
  .logo {
    max-width: 150px;
    margin-top: 10px;
  }
}



.hero h1 h2{
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #ffc400;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn img.whatsapp-icon {
  width: 20px;
  height: 20px;
}

/* === LANG SWITCHER === */
.lang-switcher {
  position: fixed;
  top: 70px;
  right: 10px;
  background-color: #FFD700;
  padding: 8px 11px;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(29, 158, 83, 0.1);
  z-index: 1100;
  display: flex;
  gap: 6px;
  align-items: center;
}

.lang-switcher button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px;
  transition: transform 0.2s ease;
}

.lang-switcher button.active {
  outline: 8px solid #89a81b;
  border-radius: 3px;
}

.lang-switcher img {
  width: 20px;
  height: 16px;
}

/* === NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fdd100;
  box-shadow: 0 2px 6px rgba(77, 68, 68, 0.1);
  padding: 10px 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #007b39;
  border-bottom: 2px solid #007b39;
}
/* Bendras navbar išdėstymas */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links a {
  color: #333; /* pagrindinė spalva */
  text-decoration: none; /* pašalina mėlyną ir pabraukimą */
  font-size: 0.9rem;
  font-weight: 600; /* šriftas bold */
  padding: 10px 15px; /* pridėtas padding, kad būtų didesnis paspaudimo plotas */
}

.nav-links a:hover,
.nav-links a.active {
  color: #34a308;
  border-bottom: 2px solid #007b39;
}

/* Hamburger mygtukas paslėptas desktop */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
}

/* Mobilus vaizdas */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: yellow;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 60px; /* aukštis priklauso nuo tavo nav bar */
    left: 0;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }
 
  
  .lang-switcher {
    position: absolute;
    top: 80px;
    right: 10px;
  }
}
 @media (min-width: 1025px) {
    .hamburger {
      display: none;
    }
  }
/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #ffc400;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact-block {
  font-size: 1rem;
  line-height: 1.6;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #6f704d;
  border-radius: 5px;
}

.contact form button {
  padding: 0.75rem;
  background-color: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
}

.contact form button:hover {
  background-color: #444;
}

/* === GALLERY === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

/* === FOOTER === */
footer {
  width: 100%;
  background: #1a1a1a;
  color: #f1efda;
  padding: 30px 0;
  text-align: center;
  margin-top: auto;
} 


footer .social-links a {
  color: #ffc400;
  margin: 0 10px;
  text-decoration: none;
}

/* === BACK TO TOP BUTTON === */
#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  background-color: #ffd500;
  border: none;
  color: #000;
  font-size: 20px;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 999;
  transition: background-color 0.3s ease;
}

#backToTop:hover {
  background-color: #ffb700;

}

.social-top {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 80px;
}
/* === SOCIAL ICONS === */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 20px 0 10px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: #1a1a1a;
  color: white;
  border-radius: 50%;
  margin: 0 10px;
  font-size: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.social-icons a:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 223, 0, 0.6); /* auksinis glow */
  background-color: #fdd100; /* auksinis fonas */
  color: black;
}


/* === HERO SECTION === */
.hero {
  background: linear-gradient(to right, #000000, #1a1a1a);
  color: #fff;
  text-align: center;
  padding: 80px 20px 60px;
}


.hero h1 {
  font-size: 2.8rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #f5c518;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #f1f1f1;
}

.hero .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #f5c518;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.hero .btn:hover {
  background-color: #ffdd33;
  color: #000;
}

.hero .btn img {
  width: 20px;
  height: 20px;
}
.social-top a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: transform 0.2s, background-color 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 40px; /* Tarpas nuo apačios iki juodos sekcijos */
  padding: 10px; /* Pridėtas padding, kad būtų didesnis paspaudimo plotas */
  border: 4px solid #f5c518; /* Auksinė riba aplink ikoną */
  background-color: #1a1a1a; /* Juodas fonas aplink ikoną */  
  gap: 16px;
}

.social-top a:hover {
  transform: scale(1.1);
}

.social-top a.facebook:hover {
  background-color: #3b5998;
}

.social-top a.whatsapp:hover {
  background-color: #25d366;
}

.social-top a.instagram:hover {
  background-color: #e4405f;
}

.social-top a.youtube:hover {
  background-color: #ff0000;
}

.social-top a.x:hover {
  background-color: #9b7676;
}
.social-top a:hover {
  background-color: #FFD700;
  color: black;
  transform: scale(1.1);
}

/* === SOCIAL ICONS BOTTOM === */
.social-bottom {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}

.social-bottom img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-bottom img:hover {
  transform: scale(1.1);
  opacity: 1;
}
.section-image {
  max-width: 50%;
  border-radius: 12px;
  margin: 30px auto 0;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.error-message {
  color: red;
  font-size: 0.9rem;
  margin-top: 4px;
  display: block;
}
.form-group {
  margin-bottom: 1.5rem;
}
.hidden {
  display: none;
}

.google {
  color:  #200ec5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.google:hover {
  color:  #0e9154; /* Google mėlyna */
}


#backToTop:hover {
  background-color: #e0af00;
}

section::after {
  content: "";
  display: block;
  height: 1px;
  background: #ddd;
  margin-top: 40px;
  opacity: 0.4;
}


.grid-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.grid-content img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  flex-shrink: 0;
}

.grid-content div {
  flex: 1;
  min-width: 280px;
}


/* Left slide animacija */
.section-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.6s ease;
}
.section-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}


@media (max-width: 768px) {
  .grid-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-links li a {
    font-size: 0.85rem;
  }

  .grid-content img {
    max-width: 90%;
  }
}

.call-now-button {
  position: fixed;
  bottom: 6.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  background-color: #9daae4;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  animation: pulse 2.5s infinite;
  z-index: 999;
}

.call-now-button .phone-icon {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
  animation: ring 1.5s infinite ease-in-out;
}
.sticky-call-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #515e88;
  color: #000;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  z-index: 9999;
  font-size: 16px;
  transition: background-color 0.3s;
}

.sticky-call-btn:hover {
  background-color: #e0b800;
}

.call-icon {
  margin-right: 10px;
  font-size: 18px;
}

.call-now-button .call-text {
  font-size: 1rem;
  font-weight: bold;
  color: #222;
}

/* Pulsavimas */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Ragelio linguojimas */
@keyframes ring {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-15deg);
  }
  40% {
    transform: rotate(15deg);
  }
  60% {
    transform: rotate(-10deg);
  }
  80% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(0deg);
  }

}

/* Tik mobiliesiems */
@media (min-width: 768px) {
  .call-now-button {
    display: none;
  }
}
.hero {
  background-image: url("images/car.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 2rem;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* tamsus filtras virš nuotraukos */
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2;
}

.call-now-button .call-button .contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: #fdd835;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  max-width: 90%;
}

.call-now-button:hover {
  background-color: #ffe651;
  transform: translateY(-2px);
}

.sticky-call-container {
  position: sticky;
  bottom: 0;
  width: 100%;
  background: white;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .sticky-call-container {
    display: none;
  }
}
.hero-phone-text,
.hero-subtitle,
.hero-banner {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.hero-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background-color: #fdd835;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  margin: 0 auto 24px;
}

.hero-call:hover {
  background-color: #ffe651;
  transform: translateY(-2px);
}.sticky-call {
  position: sticky;
  bottom: 10px;
  z-index: 999;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.service-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  margin-top: 2rem;
}
.service {
  flex: 1 1 200px;
  max-width: 250px;
  text-align: center;
}
.service img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
}
.animated-service {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animated-service:hover {
  transform: scale(1.1) rotate(1deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.animated-service {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.animated-service:hover {
  transform: translateY(-5px);
  animation: glow 1.5s infinite alternate;
  box-shadow: 0 8px 20px rgba(255, 223, 0, 0.4); /* švytėjimo šešėlis */
}

/* Glow animacija */
@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(255, 223, 0, 0.2);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 223, 0, 0.7);
  }
}
.animated-service {
  animation: float 2.5s ease-in-out infinite;
}

/* Animacijos raktai */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}
.services-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.key-icon {
  width: 100px; /* sumažintas raktas */
  height: auto;
  flex-shrink: 0;
}

.services-text {
  flex: 1;
}
