* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cal Sans', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

#container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#header {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(30,30,30,0.9));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

#map-container {
    position: relative;
    flex: 1;
    min-height: 80vh;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 80vh;
    filter: brightness(0.8) contrast(1.2);
}

#location-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 300px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

#location-info.visible {
    transform: translateX(0);
}

#location-info.hidden {
    transform: translateX(100%);
}

#location-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

#location-info p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

#close-info {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

#close-info:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#location-list {
    padding: 2rem;
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#location-list h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

#locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.location-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.location-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.location-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.location-item p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.photo-marker {
    background: none !important;
    border: none !important;
}

.marker-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.marker-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    background: #fff;
    position: relative;
}

.marker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.marker-label {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.custom-marker {
    display: none;
}

.leaflet-popup-content-wrapper {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.leaflet-popup-content {
    margin: 12px 16px;
    line-height: 1.4;
}

.leaflet-popup-tip {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    #header h1 {
        font-size: 2rem;
    }
    
    #location-info {
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        max-width: none;
        border-radius: 12px 12px 0 0;
        transform: translateY(100%);
    }
    
    #location-info.visible {
        transform: translateY(0);
    }
    
    #locations-grid {
        grid-template-columns: 1fr;
    }
}