/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: lbFade 0.25s ease;
}
.lightbox.open { display: flex; }
@keyframes lbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lb-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
  animation: lbZoom 0.3s ease;
}
@keyframes lbZoom {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 0.5px solid rgba(255,255,255,.25);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,.25);
  transform: scale(1.08);
}
.lb-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
}
.lb-prev, .lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 32px;
  line-height: 1;
}
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.1);
  padding: 6px 16px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
  .lb-prev, .lb-next {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close {
    top: 12px;
    right: 12px;
  }
}

/* picniki.ge — destination detail page styles */

/* HERO */
.dest-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 0 60px;
  color: var(--wh);
}
.dest-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31,74,46,.5) 0%, rgba(31,74,46,.85) 100%);
}
.dest-hero-content {
  position: relative;
  z-index: 1;
}

.dest-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  background: rgba(255,255,255,.12);
  border: 0.5px solid rgba(255,255,255,.2);
  border-radius: 20px;
  margin-bottom: 24px;
  transition: all var(--tm);
}
.dest-back:hover {
  background: rgba(255,255,255,.2);
  color: var(--wh);
  transform: translateX(-2px);
}

.dest-hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.dest-hero-badges span {
  background: rgba(255,255,255,.15);
  border: 0.5px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--wh);
  backdrop-filter: blur(6px);
}

.dest-hero h1 {
  font-size: clamp(28px,5vw,46px);
  font-weight: 800;
  color: var(--wh);
  letter-spacing: -.4px;
  margin-bottom: 12px;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.dest-hero p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 28px;
}
.dest-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* TABS */
.dest-tabs-wrap {
  background: var(--wh);
  border-bottom: 0.5px solid rgba(31,74,46,.1);
  position: sticky;
  top: 58px;
  z-index: 40;
}
.dest-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.dest-tabs::-webkit-scrollbar { display: none; }
.dest-tab {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mu);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--tm);
}
.dest-tab:hover { color: var(--g1); }

/* SECTIONS */
.dest-section {
  padding: 64px 0;
}
.dest-section-alt {
  background: var(--cr);
}
.dest-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.dest-section-header h2 {
  font-size: clamp(22px,4vw,32px);
  font-weight: 800;
  color: var(--g1);
  letter-spacing: -.3px;
  margin: 8px 0;
}
.dest-section-sub {
  font-size: 14px;
  color: var(--mu);
  max-width: 480px;
  margin: 0 auto;
}

/* ისტორია */
.dest-content-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.dest-content-text p {
  font-size: 15px;
  color: var(--tx);
  line-height: 1.8;
  margin-bottom: 14px;
}
.dest-content-text strong { color: var(--g1); }

.dest-quote {
  background: var(--cr);
  border-left: 3px solid var(--a2);
  padding: 14px 18px !important;
  margin: 18px 0 !important;
  font-style: italic;
  font-size: 14px !important;
  color: var(--mu) !important;
  border-radius: 6px;
}

.dest-fact-card {
  background: var(--g1);
  color: var(--wh);
  border-radius: 14px;
  padding: 22px;
  height: fit-content;
  position: sticky;
  top: 130px;
}
.dest-fact-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--a3);
  letter-spacing: .05em;
}
.dest-fact-card ul li {
  padding: 8px 0;
  border-bottom: 0.5px solid rgba(255,255,255,.12);
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.dest-fact-card ul li:last-child { border: none; }
.dest-fact-card strong { color: var(--wh); margin-right: 8px; }

/* მარშრუტი */
.dest-route-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.dest-route-timeline::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, var(--g3) 0%, var(--a2) 100%);
  z-index: 0;
}

.dest-stop {
  display: grid;
  grid-template-columns: 60px 22px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  position: relative;
}
.dest-stop-time {
  font-size: 13px;
  font-weight: 700;
  color: var(--g1);
  padding-top: 14px;
  text-align: right;
}
.dest-stop-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--wh);
  border: 3px solid var(--g3);
  margin: 14px 4px 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(255,255,255,1);
}
.dest-stop-highlight .dest-stop-dot {
  background: var(--a2);
  border-color: var(--a1);
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.dest-stop-info {
  background: var(--wh);
  border: 0.5px solid rgba(31,74,46,.1);
  border-radius: 12px;
  padding: 14px 18px;
  transition: all var(--tm);
}
.dest-stop:hover .dest-stop-info {
  box-shadow: 0 6px 20px rgba(31,74,46,.1);
  transform: translateX(3px);
}
.dest-stop-highlight .dest-stop-info {
  background: linear-gradient(135deg, #fdeab0, #fef8e0);
  border: 1.5px solid var(--a2);
}

.dest-stop-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--g1);
  margin-bottom: 6px;
}
.dest-stop-info p {
  font-size: 13px;
  color: var(--mu);
  line-height: 1.6;
  margin-bottom: 8px;
}
.dest-stop-info p strong { color: var(--g1); }
.dest-stop-meta {
  font-size: 11px;
  color: var(--mu);
  font-weight: 600;
  letter-spacing: .02em;
}

/* გალერეა */
.dest-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 200px;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}
.dest-gal-item {
  border-radius: 12px;
  background-color: var(--g4);
  transition: transform var(--tm);
  cursor: pointer;
}
.dest-gal-item:hover { transform: scale(1.02); }
.dest-gal-large {
  grid-row: span 2;
  grid-column: span 1;
}
.dest-gallery-note {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--mu);
}
.dest-gallery-note code {
  background: var(--cr2);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  color: var(--g1);
}

/* მენიუ */
.dest-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 24px;
}
.dest-menu-cat {
  background: var(--wh);
  border: 0.5px solid rgba(31,74,46,.1);
  border-radius: 14px;
  padding: 22px;
  transition: all var(--tm);
}
.dest-menu-cat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(31,74,46,.1);
  border-color: var(--g4);
}
.dest-menu-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.dest-menu-cat h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--g1);
  margin-bottom: 12px;
}
.dest-menu-cat ul {
  list-style: none;
}
.dest-menu-cat ul li {
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 0.5px solid rgba(31,74,46,.06);
  color: var(--tx);
  line-height: 1.5;
}
.dest-menu-cat ul li:last-child { border: none; }

.dest-menu-note {
  background: linear-gradient(135deg, #fdeab0, #fef8e0);
  border: 0.5px solid var(--a2);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--tx);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.dest-menu-note strong { color: var(--g1); }

/* აქტივობები */
.dest-activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dest-activity {
  background: var(--wh);
  border: 0.5px solid rgba(31,74,46,.1);
  border-radius: 14px;
  padding: 22px;
  transition: all var(--tm);
  position: relative;
}
.dest-activity:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(31,74,46,.1);
  border-color: var(--g4);
}
.dest-act-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.dest-activity h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--g1);
  margin-bottom: 8px;
}
.dest-activity p {
  font-size: 12px;
  color: var(--mu);
  line-height: 1.6;
  margin-bottom: 12px;
}
.dest-act-time {
  display: inline-block;
  background: var(--cr);
  border: 0.5px solid rgba(31,74,46,.1);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--g2);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .dest-content-grid { grid-template-columns: 1fr; }
  .dest-fact-card { position: static; }
  .dest-menu-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-activities-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }
  .dest-gal-large { grid-row: span 2; }
}

@media (max-width: 640px) {
  .dest-hero { min-height: 380px; padding: 90px 0 40px; }
  .dest-section { padding: 48px 0; }
  .dest-menu-grid { grid-template-columns: 1fr; }
  .dest-activities-grid { grid-template-columns: 1fr; }
  .dest-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .dest-gal-item { height: 180px; }
  .dest-gal-large { grid-row: auto; }
  .dest-route-timeline::before { left: 30px; }
  .dest-stop {
    grid-template-columns: 50px 22px 1fr;
    gap: 8px;
  }
  .dest-stop-time { font-size: 11px; }
  .dest-tabs-wrap { top: 54px; }
}
