/* Zoom Modal - Shows close-up images when clicking zoom waypoints */

.zoom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.zoom-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.zoom-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.zoom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.zoom-modal-header h3 {
  margin: 0;
  font-size: 20px;
  color: #1f2937;
  font-weight: 600;
}

.zoom-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: all 0.2s;
}

.zoom-modal-close:hover {
  background: #e5e7eb;
  color: #374151;
}

.zoom-modal-content img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Zoom waypoint dots - special styling */
.waypoint-dot[data-waypoint-type="zoom"] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  cursor: zoom-in !important;
  animation: pulse-zoom 2s infinite;
}

.waypoint-dot[data-waypoint-type="zoom"]:hover {
  transform: scale(1.3);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

@keyframes pulse-zoom {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.8);
  }
}
