/* AIE Map - Map-specific styles */

/* Map container */
#map {
    height: 60vh;
    width: 100%;
}

/* Map legend */
.legend {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Reviews section below map */
.reviews-section {
    background: #f8f9fa;
    padding: 1rem;
    min-height: 200px;
}

.reviews-container {
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-header {
    text-align: center;
    margin-bottom: 1rem;
}

.reviews-header h2 {
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
    font-size: 1.4rem;
}

.reviews-header p {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Cluster marker styles */
.marker-cluster {
    background-color: #3498db;
    background-clip: padding-box;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.marker-cluster div {
    width: 36px;
    height: 36px;
    margin: 2px;
    border-radius: 50%;
    background-color: #2980b9;
    text-align: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 36px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.marker-cluster:hover {
    transform: scale(1.1);
}

.marker-cluster-small {
    background-color: rgba(110, 204, 57, 0.6);
}

.marker-cluster-small div {
    background-color: rgba(110, 204, 57, 0.9);
}

.marker-cluster-medium {
    background-color: rgba(241, 211, 87, 0.6);
}

.marker-cluster-medium div {
    background-color: rgba(241, 211, 87, 0.9);
}

.marker-cluster-large {
    background-color: rgba(253, 156, 115, 0.6);
}

.marker-cluster-large div {
    background-color: rgba(253, 156, 115, 0.9);
}

/* Custom marker styles - override Leaflet defaults */
.leaflet-div-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}