/* ==========================================
   MAIN CONTAINER
========================================== */

.art-centres-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   HEADINGS
========================================== */

.art-centres-heading {
    text-align: center;
    color: #0A6D3B;
    margin-bottom: 10px;
    font-size: 32px;
}

.art-centres-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* ==========================================
   FILTERS
========================================== */

.art-filter-group {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.art-filter-item {
    flex: 1 1 200px;
}

.art-filter-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

/* ==========================================
   DROPDOWNS
========================================== */

.art-filter-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    background: #ffffff;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.art-filter-select:focus {
    outline: none;
    border-color: #0A6D3B;
    box-shadow: 0 0 6px rgba(10, 109, 59, .25);
}

/* ==========================================
   GOOGLE MAP
========================================== */

.art-map-container {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dddddd;
    position: relative;      /* anchors Google's absolutely-positioned inner divs */
    box-sizing: border-box;
    background: #f2f2f2;     /* grey placeholder while tiles load */
    z-index: 0;              /* keeps the map below any popups/overlays */
}

/* Force Google-injected inner divs to fill (not escape) the container */
.art-map-container > div,
.art-map-container .gm-style {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    border-radius: inherit;
}

.art-map-container .gm-style > div {
    max-width: 100% !important;
}

/* Remove the small default white border Google adds */
.art-map-container .gm-style > div:first-child {
    border: none !important;
}

.art-map-container:focus,
.art-map-container :focus {
    outline: none;
}

/* ==========================================
   GOOGLE MAP INFOWINDOW
========================================== */

.gm-style .gm-style-iw {
    font-family: Arial, Helvetica, sans-serif;
}

.art-info-window {
    min-width: 240px;
}

.art-info-window h3 {
    color: #0A6D3B;
    margin-bottom: 10px;
    font-size: 18px;
}

.art-info-window p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
}

.art-direction-btn {
    width: 100%;
    background: #0A6D3B;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: .3s;
}

.art-direction-btn:hover {
    background: #08542d;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */

@media (max-width: 768px) {

    .art-centres-container {
        padding: 20px 15px;
        width: 100%;
        border-radius: 8px;
    }

    .art-filter-group {
        flex-direction: column;
        gap: 15px;
    }

    .art-filter-item {
        flex: 1 1 100%;
    }

    .art-map-container {
        height: 450px;
    }
}

@media (max-width: 480px) {

    .art-centres-heading {
        font-size: 24px;
    }

    .art-centres-subtitle {
        font-size: 14px;
    }

    .art-map-container {
        height: 350px;
    }

    .art-centres-container {
        padding: 15px 12px;
        width: 100%;
        border-radius: 6px;
    }

    .art-info-window {
        min-width: 180px;
    }
}