/* Google Maps Iframe Styling */

/* Map Container Improvements */
.map_container {
  width: 100%;
  height: 345px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
}

.map_container iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  border-radius: 15px;
}

/* Enhanced styling for different sections */
.book_section .map_container,
.about_section .map_container {
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* About page specific map styling */
.map-container-new {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.map-container-new iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  border-radius: 20px;
}

/* Responsive Maps */
@media (max-width: 768px) {
  .map_container {
    height: 300px;
    margin-top: 30px;
  }

  .book_section .map_container,
  .about_section .map_container {
    height: 350px;
  }

  .map-container-new {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .map_container {
    height: 250px;
    border-radius: 10px;
  }

  .book_section .map_container,
  .about_section .map_container {
    height: 300px;
    border-radius: 15px;
  }

  .map-container-new {
    height: 350px;
    border-radius: 15px;
  }
}

/* Loading state styling */
.map_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
    linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
    linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  animation: loading 1s linear infinite;
  z-index: -1;
}

@keyframes loading {
  0% {
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  }
  100% {
    background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px;
  }
}
