/* ================= BENDRIEJI STILIAI IR KINTAMIEJI ================= */
:root {
  --primary-gold: #c5a880;
  --bg-dark-gray: #111827;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

#stickyNav {
  transition: var(--transition-smooth);
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ================= MYGTUKAI IR AKCENTAI ================= */
.nav-btn {
  color: #d1d5db;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition-smooth);
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-btn:hover {
  color: #ffffff;
}

.nav-btn::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-gold);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-btn:hover::after {
  width: 80%;
}

.cta-primary, .cta-primary-nav {
  background-color: #ffffff;
  color: var(--bg-dark-gray);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.cta-primary:hover, .cta-primary-nav:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.cta-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-gold);
}

/* ================= INFORMACINĖS KORTELĖS ================= */
.info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  transition: var(--transition-smooth);
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold);
  background: rgba(255, 255, 255, 0.04);
}

/* ================= GALERIJOS TINKLELIS ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background-color: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  pointer-events: auto;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
  padding: 1.25rem 1rem 1rem 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* ================= ANIMACIJOS ================= */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.init-fade {
  opacity: 0;
  transform: translateY(30px);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= MODALINIS LANGAS ================= */
.modal-zoom-container img {
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  cursor: pointer; /* Rodo rankutę, kad nuotrauka paspaudžiama */
}

#modalThumbnails::-webkit-scrollbar {
  height: 4px;
}
#modalThumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.thumb-active {
  border: 2px solid var(--primary-gold) !important;
  opacity: 1 !important;
}

@media (max-width : 1176px ){
  .gallery-item .gallery-caption {
    opacity: 0;
    display: none;
  }
}