body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

header {
    background-color: #004080;
    color: white;
    padding: 20px;
    text-align: center;
    animation: fadeInDown 1s ease forwards;
}

header img {
    max-width: 200px;
    height: auto;
    animation: fadeIn 1.2s ease forwards;
}

.content {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    animation: slideIn 1.2s ease forwards;
}

.text-section {
    animation: fadeInUp 1.5s ease forwards;
}

.text-section p {
    margin-bottom: 25px;
    line-height: 1.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.text-section p:hover {
    transform: scale(1.01);
    opacity: 0.95;
}

.text-section p b {
    color: #004080;
    font-size: 18px;
    display: inline-block;
    margin-bottom: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.text-section p b:hover {
    color: #002255;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.1);
}

.phone-box {
            background-color: #0055aa;
            color: white;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            font-size: 1.2rem;
            margin-bottom: 30px;
            animation: fadeIn 2s ease-out;
        }

        .phone-box a {
            color: #fff;
            text-decoration: none;
            font-weight: bold;
        }

.phone-box:hover {
    transform: scale(1.02);
}

footer {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #aaa;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    transition: color 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeInMap 1.5s ease forwards;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s ease forwards;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideIn {
    0% { transform: translateX(-30px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInMap {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseBox {
    0% { box-shadow: 0 0 10px rgba(255,204,0,0.3); }
    100% { box-shadow: 0 0 20px rgba(255,204,0,0.5); }
}

/* Mobile improvements */
@media (max-width: 768px) {
    .content {
        padding: 30px 15px;
    }

    .phone-box {
        font-size: 20px;
        padding: 15px;
    }

    header img {
        max-width: 150px;
    }

    .text-section p b {
        font-size: 16px;
    }

    footer {
        font-size: 13px;
    }
}

.swiper {
	aspect-ratio: 16/9;
	width: 100%;
	max-width: 900px;
	height: 300px;
	margin: 40px auto;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.swiper-lazy-preloader {
  width: 30px;
  height: 30px;
  border: 4px solid #ccc;
  border-top: 4px solid #004080;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}


ul {
  margin-left: 20px;
  margin-bottom: 20px;
}
ul li {
  margin-bottom: 10px;
  font-size: 18px;
}


a {
  color: #007bff;               /* Mėlyna pagrindinė spalva */
  text-decoration: none;        /* Nėra pabraukimo */
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  cursor: pointer;
}

a:visited {
  color: #007bff;               /* Ta pati spalva kaip ir nepaskaitytos nuorodos */
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

a:hover,
a:focus {
  color: #0056b3;               /* Tamsesnė mėlyna hover būsenoje */
  outline: none;
}

a:active {
  color: #003d80;               /* Dar tamsesnė spalva aktyviam paspaudimui */
}
