/* Map container styling */
.map-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#map {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* Map info window styling (applied via JavaScript) */
.map-info-window {
    max-width: 250px;
}

.map-info-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    aspect-ratio: 16/9;
}

.map-info-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
}

.map-info-category {
    margin: 5px 0;
    color: #667eea;
    font-weight: bold;
}

.map-info-address {
    margin: 5px 0;
    color: #666;
}

.map-info-rating {
    margin: 5px 0;
}

.map-info-notes {
    margin: 5px 0;
    font-style: italic;
    color: #666;
}

.map-info-instagram {
    margin: 8px 0 0 0;
}

.map-info-instagram a {
    color: #e4405f;
    text-decoration: none;
}

.map-info-instagram a:hover {
    text-decoration: underline;
}

/* Custom map controls styling */
.map-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.map-control-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.map-control-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.map-control-btn.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

/* Map loading state */
.map-loading {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9ff;
    color: #667eea;
    flex-direction: column;
    gap: 15px;
}

.map-loading i {
    font-size: 3rem;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

/* Map error state */
.map-error {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9ff;
    color: #ff4757;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px;
}

.map-error i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.map-error h3 {
    margin: 0 0 10px 0;
    color: #ff4757;
}

.map-error p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}
