body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Fixed height */
    overflow: hidden; /* No scroll */
    width: 100vw;
}

.main-container {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-header {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    flex: 0 0 auto; /* Don't shrink header */
}

.page-header h1 {
    font-weight: 300;
    margin: 0 0 5px 0;
    font-size: 2.5rem;
}

.page-header h2 {
    font-weight: 400;
    margin: 0;
    font-size: 1.2rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Container for the map to allow proper sizing */
.map-container-frame {
    flex: 1; /* Take remaining space */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0; /* Important for flex child scrolling/sizing */
    overflow: hidden;
}

.map-wrapper {
    position: relative;
    /* Aspect Ratio logic to fit in container */
    aspect-ratio: 1.44 / 1;
    
    /* Try to fill height first */
    height: 100%;
    width: auto;
    
    /* But don't exceed width */
    max-width: 100%;
    
    /* Box properties */
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


.base-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.svg-overlay svg {
    width: 100%;
    height: 100%;
}

/* Default state for shapes - invisible but clickable */
.interactive-shape {
    fill: transparent;
    stroke: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover state - "Glow" effect */
.interactive-shape:hover {
    fill: rgba(255, 255, 255, 0.2); 
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

/* Sidebar removal - styles deleted */


/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h2 {
    margin-top: 0;
    color: #333;
    text-align: center;
    font-weight: 300;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.modal-content .close-btn {
    top: 15px;
    right: 15px;
}

#modal-image-container img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
    display: block;
}

#modal-body {
    color: #555;
    line-height: 1.6;
}
