:root {
  --forest-green: #2f6f4e;
  --sand: #e8d9c3;
  --moss: #9fbf8a;
  --stone: #7b7b7b;
  --copper: #b56a3a;
  --muted-white: rgba(255, 255, 255, 0.92);
}

/* ================= BENDRI ================= */
html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background-color: #111827;
}

/* ================= HERO ================= */
.hero-bg {
  background: linear-gradient(135deg, var(--forest-green), var(--sand));
  padding: 5rem 0;
}
.hero-bg h1 { color: var(--muted-white); }
.hero-bg p { color: rgba(255,255,255,0.88); }

.cta-primary {
  background: var(--sand);
  color:#1f2933;
  padding:0.5rem 1rem;
  border-radius:8px;
  font-weight:600;
  transition: all .25s;
}
.cta-primary:hover { background: var(--copper); color:#fff; }

.cta-secondary {
  border:1px solid rgba(255,255,255,0.7);
  color: var(--muted-white);
  padding:0.5rem 1rem;
  border-radius:8px;
  transition: all .25s;
  cursor:pointer;
}
.cta-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--sand);
}

/* ================= FIXED NAV ================= */
#stickyNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background-color: rgba(17, 24, 39, 0.85);
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-btn {
  padding:0.5rem 1rem;
  border-radius:8px;
  background:transparent;
  color:#fff;
  font-weight:500;
  transition:all .25s;
  cursor:pointer;
}
.nav-btn.active,
.nav-btn:hover {
  background:rgba(255,255,255,0.1);
}

.cta-primary-nav {
  background: var(--sand);
  color: #1f2933;
  padding:0.5rem 1rem;
  border-radius:8px;
  font-weight:600;
  transition:all .25s;
}
.cta-primary-nav:hover {
  background: var(--copper);
  color:#fff;
}

/* ================= APIE MUS ================= */
.section-title {
  font-size:2.25rem;
  font-weight:700;
  color:white;
  margin-bottom:1rem;
}

.card.info-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  border-radius:16px;
  transition: transform .28s ease, box-shadow .28s ease;
  padding:1rem;
}
.card.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.icon { font-size:2rem; }
.card p {
  text-align: justify;
  margin-top:0.5rem;
  line-height:1.4;
}

/* ================= GALERIJOS ================= */
.gallery-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:2rem;
  margin-bottom:2rem;
}
@media(min-width:768px){
  .gallery-grid { grid-template-columns:repeat(4,1fr); }
}

.gallery-item img {
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:12px;
  cursor:pointer;
  transition: transform .28s ease, filter .28s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.03);
}

.gallery-caption {
  text-align:center;
  margin-top:4px;
  color:#e6eef0;
  font-size:0.9rem;
}

/* ================= MODAL ================= */
#imageModal {
  display:none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999; /* <<< VISADA virš sticky nav */
  padding:20px;
  flex-direction: column;
}

#imageModal.flex { display:flex; }

#modalImage {
  max-width:100%;
  max-height:80vh;
  border-radius:12px;
  box-shadow:0 24px 60px rgba(0,0,0,0.6);
  transition: transform .32s ease, opacity .32s ease;
  transform:scale(.98);
  opacity:0;
}
#modalImage.show {
  transform:scale(1);
  opacity:1;
}

/* Thumbnails */
#modalThumbnails {
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:1rem;
}
#modalThumbnails img {
  width:60px;
  height:60px;
  object-fit:cover;
  border-radius:4px;
  cursor:pointer;
  border:2px solid transparent;
  transition: all .2s;
}
#modalThumbnails img.active {
  border-color:#fff;
  transform:scale(1.1);
}
#modalThumbnails img:hover {
  border-color:#ccc;
  transform:scale(1.05);
}

/* Prev / Next mygtukai */
#imageModal .prev,
#imageModal .next {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:2rem;
  color:white;
  font-weight:bold;
  background: rgba(31,41,55,0.5);
  border-radius:50%;
  width:48px;
  height:48px;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  transition: all .25s ease;
}
#imageModal .prev { left:20px; }
#imageModal .next { right:20px; }

#imageModal .prev:hover,
#imageModal .next:hover {
  background: rgba(31,41,55,0.75);
}

/* Close (X) – toks pats stilius kaip rodyklės */
#imageModal .close {
  position:absolute;
  top:20px;
  right:20px;
  font-size:2rem;
  color:white;
  font-weight:bold;
  background: rgba(31,41,55,0.5);
  border-radius:50%;
  width:48px;
  height:48px;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  transition: all .25s ease;
  line-height:1;
}
#imageModal .close:hover {
  background: rgba(31,41,55,0.75);
}

/* ================= FADE UP ================= */
.fade-up {
  opacity:0;
  transform:translateY(24px);
  transition: all 0.8s ease;
}
.fade-up.show {
  opacity:1;
  transform:translateY(0);
}

/* ================= INFO KORTELĖS ================= */
.info-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Ikonėlės */
.icon img {
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.icon img:hover {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

/* Paslaugų pavadinimas */
.service-title { text-align: center; }

/* Aprašymas */
.service-desc {
  font-size: 0.94rem;
  text-align: justify;
  line-height: 1.5;
}
