﻿/* ================================================================
   building-map.css
   Styles for the _BuildingMap partial view.
   Uses Foundation breakpoints (640px = medium, 1024px = large).
   ================================================================ */

/* Map container and facade image share the same height rhythm */
#building-map,
#building-facade-img {
    width: 100%;
    height: 260px; /* small (mobile) */
    border-radius: 6px;
    overflow: hidden;
    object-fit: cover; /* keeps facade image proportions */
}

@media screen and (min-width: 640px) {
    #building-map,
    #building-facade-img {
        height: 360px; /* medium (tablet) */
    }
}

@media screen and (min-width: 1024px) {
    #building-map,
    #building-facade-img {
        height: 450px; /* large (desktop) */
    }
}

/* Toggle button group */
.building-map-section .button-group {
    margin-bottom: 0.75rem;
}

/* Active state — filled Foundation primary */
.building-map-section .map-view-btn.is-active {
    background-color: #1779ba;
    color: #ffffff;
    border-color: #1779ba;
}

/* Coordinates footnote */
#map-coords-label {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #6c757d;
}
