/* Map Cluster Styles for Golf Manors */

/* Cluster marker styles */
.cluster-marker {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cluster-marker:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.cluster-content {
    text-align: center;
    color: white;
    font-weight: bold;
}

.cluster-number {
    font-size: 14px;
    line-height: 1;
    margin-bottom: 2px;
}

.cluster-icon {
    font-size: 12px;
    opacity: 0.9;
}

/* Cluster type variations */
.cluster-golfDestination {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.cluster-golfCommunity {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.cluster-golfCourse {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.cluster-property {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

/* Cluster popup styles */
.cluster-popup {
    min-width: 280px;
}

.cluster-section {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.cluster-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cluster-type-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cluster-items {
    space-y: 4px;
}

.cluster-item {
    padding: 4px 0;
}

.cluster-item-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 13px;
    display: block;
    padding: 2px 0;
}

.cluster-item-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.cluster-more {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
    padding: 4px 0;
}

/* Enhanced map marker styles */
.golf-course-marker,
.property-marker,
.golf-community-marker,
.golf-destination-marker {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.golf-course-marker {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.property-marker {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.golf-community-marker {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.golf-destination-marker {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.golf-course-marker:hover,
.property-marker:hover,
.golf-community-marker:hover,
.golf-destination-marker:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}