/* css/map-modal.css */
/* ✅ Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  overflow: auto;
  cursor: zoom-out;
}

/* ✅ Modal Content */
.modal-content {
  position: relative;
  margin: auto;
  display: block;
  max-width: 96%;
  max-height: 96vh;
  margin-top: 2vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ✅ Close Button */
.close-modal {
  position: absolute;
  top: -20px;
  right: -20px;
  color: white;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.85);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.close-modal:hover {
  background: #e63939;
  transform: scale(1.1);
}

/* ✅ Map Image Hover Effect */
.service-area-map img {
  cursor: zoom-in;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.service-area-map img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* ✅ "Click to enlarge" text */
.map-enlarge-text {
  text-align: center;
  margin: 10px 0 0 0;
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ✅ Mobile adjustments */
@media (max-width: 768px) {
  .modal-content {
    max-width: 98%;
    margin-top: 1vh;
  }
  .close-modal {
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    font-size: 35px;
  }
}