/**
 * DJ Location Map - Styles
 */

/* =========================
 * SECTION LAYOUT
 * ========================= */
.dj-location-section {
    position: relative;
    overflow: hidden;
}

.dj-location-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background:
        linear-gradient(135deg, rgba(255,255,255,.12) 0, rgba(255,255,255,0) 35%),
        repeating-linear-gradient(45deg, rgba(255,255,255,.10) 0 2px, rgba(255,255,255,0) 2px 14px);
    mix-blend-mode: overlay;
}

.dj-location-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* =========================
 * HEADER
 * ========================= */
.dj-location-header {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 46px auto;
}

.dj-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.dj-location-tag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
}

.dj-location-tag-icon svg,
.dj-location-tag-icon i {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.dj-location-tag span {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.dj-location-heading {
    margin: 0 0 14px 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.06;
    font-size: 54px;
}

.dj-location-heading-highlight {
    font-weight: 900;
}

.dj-location-description {
    margin: 0 auto;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.6;
}

/* =========================
 * GRID LAYOUT
 * ========================= */
.dj-location-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 44px;
    align-items: start;
}

/* =========================
 * MAP WRAPPER
 * ========================= */
.dj-location-map-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255,255,255,0.06);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.dj-location-map {
    width: 100%;
    height: 450px;
    z-index: 1;
}

/* =========================
 * MAP CONTROLS
 * ========================= */
.dj-location-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dj-location-control-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: #ffffff;
    color: #1a365d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.dj-location-control-btn:hover {
    background: #f0f4f8;
    transform: scale(1.05);
}

.dj-location-control-btn svg {
    width: 18px;
    height: 18px;
}

/* =========================
 * CUSTOM MARKERS
 * ========================= */
.dj-location-marker {
    background: transparent !important;
    border: none !important;
}

.dj-location-marker-inner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dj-location-marker-inner:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.dj-location-marker-inner svg {
    width: 24px;
    height: 24px;
}

/* =========================
 * MAP POPUP
 * ========================= */
.leaflet-popup-content-wrapper {
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.leaflet-popup-content {
    margin: 0;
}

.dj-location-popup {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    color: #1a365d;
    white-space: nowrap;
}

.leaflet-popup-tip {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* =========================
 * RADIUS SLIDER
 * ========================= */
.dj-location-slider-wrapper {
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
}

.dj-location-slider-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.dj-location-radius-value {
    color: #fcc419;
    font-weight: 700;
}

.dj-location-radius-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.2);
    outline: none;
    cursor: pointer;
}

.dj-location-radius-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fcc419;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.15s ease;
}

.dj-location-radius-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.dj-location-radius-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: #fcc419;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* =========================
 * LOCATION TAGS
 * ========================= */
.dj-location-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-start;
}

.dj-location-tag-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, opacity 0.3s ease;
    min-height: 52px;
    cursor: pointer;
}

.dj-location-tag-item:hover {
    transform: translateY(-2px);
    background-color: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.32);
}

.dj-location-tag-item.dj-location-outside-radius {
    opacity: 0.4;
}

.dj-location-pin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dj-location-pin-icon svg,
.dj-location-pin-icon i {
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.95);
    fill: rgba(255,255,255,0.95);
}

.dj-location-tag-text {
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    font-size: 15px;
}

/* =========================
 * CTA BUTTONS
 * ========================= */
.dj-location-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

a.dj-location-cta1,
a.dj-location-cta2 {
    display: flex;
    align-items: center;
    gap: inherit;
}

/* =========================
 * RESPONSIVE
 * ========================= */
@media (max-width: 1200px) {
    .dj-location-heading {
        font-size: 46px;
    }
    
    .dj-location-grid {
        gap: 34px;
    }
}

@media (max-width: 992px) {
    .dj-location-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    
    .dj-location-heading {
        font-size: 40px;
    }
    
    .dj-location-map {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .dj-location-heading {
        font-size: 34px;
    }
    
    
    .dj-location-cta1,
    .dj-location-cta2 {
        width: 100%;
    }
    
    .dj-location-map {
        height: 320px;
    }
}

/* =========================
 * LEAFLET OVERRIDES
 * ========================= */
.dj-location-map .leaflet-control-attribution {
    display: none;
}

.dj-location-map .leaflet-tile-pane {
    filter: saturate(0.95);
}
