/* trip-custom-map.css */

.tripmap-title {
  text-align: center;
  font-size: 2.8rem;
  padding: 20px;
  background: linear-gradient(to right, #2a2a2e, #2a2a2e);
  color: white;
  margin: 40px auto 0;
  letter-spacing: 1.5px;
  font-family: 'Segoe UI', sans-serif;
  max-width: 90%;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}



.tripmap-container {
  max-width: 90%;
  height: 80vh;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 2px solid #cde2f2;
  background: #f0f8ff;
}


#tripmap-map {
  width: 100%;
  height: 100%;
}

.leaflet-popup-content {
  text-align: center;
  font-size: 1rem;
}

.leaflet-popup-content img {
  width: 150px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.tripmap-btn,
.tripmap-btn:visited,
.tripmap-btn:active {
  display: inline-block;
  background-color: #1e90ff;
  color: white !important;
  padding: 6px 14px;
  font-size: 0.9rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  margin-top: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tripmap-btn:hover {
  background-color: #005cbf;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}



.tripmap-carousel {
  display: flex;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 10px;
}

.tripmap-carousel img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  margin-right: 5px;
  border-radius: 8px;
}

.tripmap-carousel {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


@media (max-width: 768px) {
  .tripmap-title {
    font-size: 2rem;
  }
  .tripmap-container {
    height: 70vh;
  }
}
