/* Styles pour la section Lieu de l'expérience */
.andala-location-section {
  margin: 3rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid #e5e7eb;
}

.andala-location-title {
  font-family: 'Albert Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  text-align: center;
}

.andala-location-separator {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--rd-primary-600, #057D76) 0%, var(--rd-primary-400, #02B1AA) 100%);
  border: none;
  margin: 0 auto 2rem;
  opacity: 1;
}

.andala-location-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Informations de localisation */
.andala-location-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.andala-location-address {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.andala-location-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rd-primary-600, #057D76) 0%, var(--rd-primary-400, #02B1AA) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.andala-location-details {
  flex: 1;
}

.andala-location-address-title {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.andala-location-address-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 0.25rem 0;
}

.andala-location-city {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
  font-style: italic;
}

/* Boutons d'action */
.andala-location-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.andala-location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--rd-primary-600, #057D76);
  color: var(--rd-primary-600, #057D76);
  background: white;
}

.andala-location-btn:hover {
  background: var(--rd-primary-600, #057D76);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 125, 118, 0.25);
}

.andala-location-btn i {
  font-size: 1.1rem;
}

/* Message d'accessibilité */
.andala-location-accessibility {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #92400e;
  line-height: 1.5;
}

.andala-location-accessibility i {
  flex-shrink: 0;
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

/* Carte */
.andala-experience-map {
  width: 100%;
  height: 450px;
  border-radius: 16px;
  border: 2px solid var(--rd-primary-600, #057D76);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family: 'Albert Sans', sans-serif;
}

/* Styles Leaflet personnalisés */
.andala-experience-popup .leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.andala-experience-popup .leaflet-popup-content {
  margin: 0.75rem;
  font-family: 'Albert Sans', sans-serif;
}

.andala-experience-popup .leaflet-popup-tip {
  background: white;
}

.andala-experience-map .leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.andala-experience-map .leaflet-popup-content {
  margin: 0.75rem;
  font-family: 'Albert Sans', sans-serif;
}

.andala-experience-map .leaflet-popup-tip {
  background: white;
}

/* Custom marker */
.andala-custom-icon {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.andala-marker-pin {
  width: 40px;
  height: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.andala-marker-pin::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--rd-primary-600, #057D76) 0%, var(--rd-primary-400, #02B1AA) 100%);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  top: 0;
  left: 0;
}

.andala-marker-pin i {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 1.5rem;
  transform: rotate(0deg);
  margin-top: -8px;
}

.andala-custom-marker {
  background: var(--rd-primary-600, #057D76);
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.andala-custom-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 991px) {
  .andala-experience-map {
    height: 350px;
  }
  
  .andala-location-actions {
    flex-direction: row;
  }
  
  .andala-location-btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
  }
}

@media (max-width: 576px) {
  .andala-location-section {
    margin: 2rem 0;
    padding: 1.5rem 0;
  }
  
  .andala-location-title {
    font-size: 1.5rem;
  }
  
  .andala-experience-map {
    height: 300px;
  }
  
  .andala-location-address {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
  }
  
  .andala-location-icon {
    margin: 0 auto;
  }
  
  .andala-location-details {
    text-align: center;
  }
  
  .andala-location-actions {
    flex-direction: column;
  }
}

/* Animation d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.andala-location-section {
  animation: fadeInUp 0.6s ease-out;
}
