body {
    background-color: #0f0f10;
    color: #e8e6e3;
}

.hero {
    padding: 80px 20px;
    background: linear-gradient(#000000aa, #000000aa), url('../img/bg.jpg');
    background-size: cover;
}

.card {
    border: 1px solid #333;
}

/* MAPA (card pequeno) */
.map-img {
    width: 100%;
    height: auto;
    display: block;

    border-radius: 10px;
    border: 2px solid #444;

    cursor: pointer;
    transition: transform 0.3s;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.map-img:hover {
    transform: scale(1.02);
}

/* LIGHTBOX FUNDO */
#map-lightbox {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(40, 0, 0, 0.6);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;

    opacity: 0;
    transition: opacity 0.3s ease;
}

/* SOMBRA NAS BORDAS */
#map-lightbox::before {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 150px black;
}

/* WRAPPER DO MAPA GRANDE */
.lightbox-map-wrapper {
    position: relative;

    max-width: 95vw;
    max-height: 95vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* MAPA GRANDE */
#map-lightbox-img {
    width: auto;
    height: auto;

    max-width: 95vw;
    max-height: 95vh;

    object-fit: contain;

    border: 2px solid #555;
    border-radius: 12px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

/* BOTÃO FECHAR */
#map-close {
    position: absolute;
    top: 25px;
    right: 35px;

    font-size: 32px;
    color: #ff6b6b;

    cursor: pointer;
    transition: 0.2s;
}

#map-close:hover {
    transform: scale(1.2);
    color: #ff3b3b;
}

.map-container {
    width: 100%;
}

.map-card {
    height: auto !important;
}

/* HOTSPOT */
.hotspot-area {
    position: absolute;

    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 0, 0, 0.05);

    cursor: pointer;
    transition: all 0.2s ease;
}

.hotspot-area:hover {
    border-color: rgba(255, 80, 80, 0.8);
    background: rgba(255, 0, 0, 0.15);
}

/* ✅ NOVO: CARD DE IMAGEM (PNG) */
#image-card {
    position: absolute;

    opacity: 0;
    transform: scale(0.95);

    pointer-events: none;
    z-index: 10000;

    transition: opacity 0.25s ease, transform 0.25s ease;
}

#image-card.show {
    opacity: 1;
    transform: scale(1);
}

#image-card img {
    width: 280px;
    max-width: 80vw;

    border-radius: 10px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9);
}

/* animação leve */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}