/* ====================================================================
   Map Section with Golden Dark Overlay
   ==================================================================== */
#findus {
    position: relative;
}

#map {
    position: relative;
    height: 600px;
    width: 100%;
}

#map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.75) 0%,
        rgba(207, 166, 112, 0.4) 50%,
        rgba(26, 26, 26, 0.75) 100%
    );
    pointer-events: none;
    z-index: 400;
}

/* Alternative solid overlay option */
#map::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(207, 166, 112, 0.15);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 401;
}

/* Adjust leaflet container z-index */
.leaflet-container {
    z-index: 1;
}

/* Adjust popup z-index to appear above overlay */
.leaflet-popup-pane {
    z-index: 700 !important;
}

.leaflet-marker-pane {
    z-index: 600 !important;
}

/* Custom popup styling with golden theme */
.custom-popup .leaflet-popup-content-wrapper {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
    border: 2px solid #cfa670;
    box-shadow: 0 8px 24px rgba(207, 166, 112, 0.3);
    border-radius: 8px;
}

.custom-popup .leaflet-popup-tip {
    background: rgba(26, 26, 26, 0.95);
    border-left: 2px solid #cfa670;
    border-bottom: 2px solid #cfa670;
}

.popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #cfa670;
    margin-bottom: 10px;
    text-align: center;
}

.popup-address {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

.popup-address strong {
    color: #cfa670;
    font-weight: 600;
}

.directions-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #cfa670 0%, #b8935f 100%);
    color: #1a1a1a !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.directions-link:hover {
    background: linear-gradient(135deg, #d4af7d 0%, #cfa670 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 166, 112, 0.4);
}

/* Responsive map height */
@media (max-width: 768px) {
    #map {
        height: 450px;
    }
}

@media (max-width: 480px) {
    #map {
        height: 400px;
    }
    
    .popup-title {
        font-size: 18px;
    }
    
    .popup-address {
        font-size: 13px;
    }
}
