.detail-gallery {
  min-width: 0;
  width: 100%;
  position: relative;
  align-self: start;
  overflow: hidden;
  border-radius: 12px;
}

.detail-photo-track {
  width: 100%;
  height: clamp(480px, 65vh, 680px);
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1);
  will-change: transform;
}

.detail-photo-track figure {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
}

.detail-photo-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery > .availability {
  z-index: 3;
}

.gallery-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 52px;
  border: 0;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow:hover {
  background: rgba(200, 164, 100, 0.9);
  color: #171512;
}

.gallery-arrow.prev {
  left: 12px;
}

.gallery-arrow.next {
  right: 12px;
}

.gallery-count {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 80px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 4px;
  scrollbar-width: thin;
}

.gallery-thumbs button {
  width: 74px;
  height: 88px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #1e1a16;
  opacity: 0.6;
  cursor: pointer;
  flex: none;
  transition: opacity 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), 
              transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-thumbs button:hover {
  opacity: 0.95;
  border-color: rgba(197, 161, 95, 0.4);
  transform: translateY(-2px);
}

.gallery-thumbs button.active {
  border-color: var(--gold, #c8a464);
  opacity: 1;
  box-shadow: 0 0 12px rgba(200, 164, 100, 0.45);
  transform: translateY(-2px);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 850px) {
  .detail-photo-track {
    height: min(120vw, 620px);
  }

  .gallery-arrow {
    width: 38px;
    height: 46px;
    font-size: 28px;
  }

  .gallery-count {
    bottom: 70px;
  }
}

@media (max-width: 540px) {
  .gallery-thumbs button {
    width: 58px;
    height: 70px;
  }

  .gallery-arrow {
    width: 34px;
    height: 42px;
    font-size: 24px;
  }

  .gallery-count {
    bottom: 60px;
    padding: 4px 8px;
    font-size: 11px;
  }
}

/* ==========================================================================
   LUXURY FULLSCREEN LIGHTBOX (BÜYÜK RESİM ZOOM & GALERİ)
   ========================================================================== */
.gallery-zoom-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background: rgba(18, 15, 12, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #f5eedf;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.gallery-zoom-badge:hover {
  background: rgba(200, 164, 100, 0.95);
  color: #110e0b;
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.luxury-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 7, 5, 0.96);
  backdrop-filter: blur(25px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.3s;
}
.luxury-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(30, 25, 20, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.lightbox-close:hover {
  background: #c5a15f;
  color: #110e0b;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 60px;
  background: rgba(22, 18, 14, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #f7e7b4;
  border-radius: 8px;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.lightbox-arrow:hover {
  background: #c5a15f;
  color: #110e0b;
  border-color: #f3dfa2;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }

.lightbox-media {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}
.lightbox-media img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: zoom-in;
  user-select: none;
}
.lightbox-media img.zoomed {
  transform: scale(1.6);
  cursor: zoom-out;
}
.lightbox-zoom-hint {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ddd;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0.8;
}

.lightbox-footer {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(22, 18, 14, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 10px 24px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.lightbox-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lightbox-name {
  color: #f7e7b4;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.lightbox-city {
  color: #999;
  font-size: 13px;
}
.lightbox-counter {
  color: #c5a15f;
  font-size: 14px;
  font-weight: 700;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 14px;
}
.lightbox-wa-btn {
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  color: #fff;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.lightbox-wa-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .lightbox-arrow {
    width: 40px;
    height: 48px;
    font-size: 24px;
  }
  .lightbox-arrow.prev { left: 8px; }
  .lightbox-arrow.next { right: 8px; }
  .lightbox-footer {
    width: 90%;
    justify-content: space-between;
    padding: 8px 16px;
    bottom: 12px;
  }
  .lightbox-wa-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}

/* ==========================================================================
   WHATSAPP QUICK BOOKING MODAL (ŞIK HIZLI İLETİŞİM ŞABLONLARI)
   ========================================================================== */
.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 7, 5, 0.85);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  padding: 16px;
}
.booking-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.booking-modal-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: rgba(22, 18, 14, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(200, 164, 100, 0.15);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.booking-modal-overlay.open .booking-modal-box {
  transform: scale(1);
}
.booking-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #999;
  font-size: 22px;
  cursor: pointer;
  transition: color 0.2s;
}
.booking-modal-close:hover {
  color: #c5a15f;
}
.booking-modal-badge {
  display: inline-block;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25D366;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.booking-modal-header h3 {
  font-size: 20px;
  color: #f7e7b4;
  margin: 0 0 6px 0;
  font-weight: 700;
}
.booking-modal-header p {
  font-size: 13px;
  color: #a89f91;
  margin: 0 0 20px 0;
  line-height: 1.4;
}
.booking-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.booking-opt-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(32, 27, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.booking-opt-card:hover {
  background: rgba(45, 38, 30, 0.95);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.opt-icon {
  font-size: 24px;
  flex: none;
}
.opt-body {
  flex: 1;
}
.opt-body strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}
.opt-body small {
  display: block;
  font-size: 12px;
  color: #999;
}
.opt-arrow {
  color: #c5a15f;
  font-size: 16px;
  transition: transform 0.2s;
}
.booking-opt-card:hover .opt-arrow {
  transform: translateX(3px);
  color: #25D366;
}
.booking-direct-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.booking-direct-link:hover {
  color: #c5a15f;
  text-decoration: underline;
}
