/* Navigation Hotspots CSS */
.location-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 1rem;
    /* Square aspect ratio using modern approach */
    aspect-ratio: 1 / 1;
    /* Fallback for browsers that don't support aspect-ratio */
    height: 0;
    padding-bottom: 100%;
    /* Creates a 1:1 aspect ratio */
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1A202C;
}

#hotspots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.hotspot {
    position: absolute;
    width: 12%;
    /* Percentage-based size for responsiveness */
    height: 0;
    padding-bottom: 12%;
    /* Make it square */
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hotspot:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(66, 153, 225, 0.5);
}

.hotspot.north {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.hotspot.north:hover {
    transform: translateX(-50%) scale(1.1);
}

.hotspot.south {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.hotspot.south:hover {
    transform: translateX(-50%) scale(1.1);
}

.hotspot.east {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.hotspot.east:hover {
    transform: translateY(-50%) scale(1.1);
}

.hotspot.west {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.hotspot.west:hover {
    transform: translateY(-50%) scale(1.1);
}

.hotspot.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(66, 153, 225, 0.4);
    border-color: rgba(66, 153, 225, 0.7);
    width: 15%;
    /* Slightly larger than regular hotspots */
    padding-bottom: 15%;
    /* Make it square */
    height: 0;
}

.hotspot.center:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(66, 153, 225, 0.6);
}

.hotspot-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    color: white;
}

.hotspot-tooltip {
    position: absolute;
    background-color: rgba(26, 32, 44, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 20;
}

.hotspot.north .hotspot-tooltip {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
}

.hotspot.south .hotspot-tooltip {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5px;
}

.hotspot.east .hotspot-tooltip {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 5px;
}

.hotspot.west .hotspot-tooltip {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 5px;
}

.hotspot.center .hotspot-tooltip {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
}

/* Arrow icons for directions */
.hotspot-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
}

.north .hotspot-arrow {
    border-width: 0 10px 15px 10px;
    border-color: transparent transparent rgba(255, 255, 255, 0.8) transparent;
}

.south .hotspot-arrow {
    border-width: 15px 10px 0 10px;
    border-color: rgba(255, 255, 255, 0.8) transparent transparent transparent;
}

.east .hotspot-arrow {
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.8);
}

.west .hotspot-arrow {
    border-width: 10px 15px 10px 0;
    border-color: transparent rgba(255, 255, 255, 0.8) transparent transparent;
}

.center .hotspot-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}