/* map-presentation.css */

.map-presentation {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-primary); /* Dark theme base */
    color: var(--text-primary);
    /* gap: 0!important; */
}

.map-presentation .row {
    margin: 0;
    gap: 0 !important;
}

/* Colonna Testo */
.map-presentation__text-col {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: var(--gradient-dark);
    position: relative;
    /* min-height: 500px; */
}



.map-presentation__content {
    padding: var(--space-xl) var(--space-lg);
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .map-presentation__content {
        padding: var(--space-2xl) var(--space-2xl);
    }
}

/* Titoli */
.map-presentation__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.95;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    color: var(--text-primary);
}

.map-presentation__title-main {
    display: block;
    font-weight: 700;
}

.map-presentation__title-accent {
    /* display: block; */
    /* color: var(--accent); */
    /* font-weight: 400; */ /* Bebas Neue usually handles bold well, but accent often lighter */
    /* text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.3); */
}

/* Descrizione */
.map-presentation__body {
    margin-bottom: var(--space-xl);
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 300;
}

.map-presentation__body p {
    margin-bottom: 1rem;
}

/* Statistiche / Highlights */
.map-presentation__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.map-presentation__stats .card-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-glass);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle border */
    transition: all var(--transition-normal);
}

.map-presentation__stats .card-tag:hover {
    background-color: var(--bg-glass-hover);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.map-presentation__stats .card-tag_icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
    filter: drop-shadow(0 0 5px rgba(var(--primary-rgb), 0.4));
}

.map-presentation__stats .card-tag_content {
    display: flex;
    flex-direction: column;
}

.map-presentation__stats .card-tag_number {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.map-presentation__stats .card-tag_label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Colonna Mappa */
.map-presentation__map-col {
    padding: 0;
    min-height: 50vh;
    position: relative;
    background: var(--bg-primary); /* Fallback */
}

@media (min-width: 768px) {
    .map-presentation__map-col {
        min-height: auto; 
    }
}

.map-presentation__map-container {
    width: 100%;
    height: 100%;
    min-height: 50vh; 
    z-index: 1;
}

/* Overlay sfumato gestito da .map-overlay-neon (applicato via PHP) */

/* ===== LEAFLET STYLES (Copied & Adapted from hospitality-map) ===== */

/* Override specifici gestiti da .map-theme-dark in components.css */
/* .map-presentation__map-container .leaflet-tile-pane uses default filter from .map-theme-dark */

/* Marker Styles (BM Custom) */
.bm-marker {
    background: transparent;
    border: none;
}

.bm-marker-inner {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, #e6f9ff, #00c0ff);
    box-shadow: 0 0 0 4px rgba(0, 192, 255, 0.4), 0 12px 22px rgba(0, 0, 0, 0.75);
    border: 2px solid rgba(2, 6, 23, 0.95);
    transform: translateY(0) rotate(-45deg);
    filter: brightness(0.8) contrast(1.1);
    transition: transform 0.4s ease, filter 0.2s ease;
}

.bm-marker-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f5fcff;
    transform: rotate(45deg);
}

.bm-marker:hover .bm-marker-inner {
    animation: bmMarkerBounce 1.2s ease-in-out infinite;
    filter: brightness(1.1) contrast(1.2);
    box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.6), 0 16px 26px rgba(0, 0, 0, 0.9);
}

@keyframes bmMarkerBounce {
    0%, 100% { transform: translateY(0) rotate(-45deg); }
    50% { transform: translateY(-6px) rotate(-45deg); }
}

/* Popup Styles */
.leaflet-popup-content-wrapper {
    background: rgba(11, 11, 21, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: var(--text-primary);
}

.leaflet-popup-tip {
    background: rgba(11, 11, 21, 0.95);
}

.leaflet-popup-content {
    margin: 1rem;
    line-height: 1.5;
}

.map-presentation-popup h3 {
    margin: 0 0 0.5rem 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-presentation-popup div {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Zoom Control Customization */
.map-presentation__map-container .leaflet-control-zoom a {
    background: rgba(11, 11, 21, 0.9);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.map-presentation__map-container .leaflet-control-zoom a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-primary);
}
div#iscrizione-nocomp {background: none;}
.map-overlay-neon::before {
    background: radial-gradient(circle at 0 0, rgb(0 142 255 / 26%), transparent 60%), radial-gradient(circle at 100% 100%, rgba(0, 70, 180, 0.7), transparent 70%);
}