body {
    margin: 0;
    overflow: hidden;
}
#panorama {
    width: 100%;
    height: calc(100vh); 
    z-index: 1;
    margin-top: 0px; 
    background-color: #000;
}
#minimapa{
    position: absolute;
    z-index: 2;
    bottom: 10px;
    left: 10px;
    width: 350px;
    height: 200px;
    padding: 10px;
    transition: all 0.3s ease;
    border-radius: 15px;
}
#marcador{
    position: absolute;
    z-index: 10;
    bottom: 106px;
    left: 204px;
    width: 42px;
    height: 52px;
    padding: 0px;
}
#logo-empresa {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 180px;
    z-index: 3;
    transition: all 0.3s ease;
}
#logo-empresa img {
    width: 100%;
    height: auto;
    display: block;
}

/* Estilo base (escritorio) */
#minimapa {
    width: 350px;
    height: 200px;
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    transition: all 0.3s ease; /* Suaviza los cambios de tamaño */
}

/* ============================================================
ESTILOS PARA ORIENTACIÓN VERTICAL (PORTRAIT)
============================================================ */

/* Tablets en vertical (ej: iPad en vertical) */
@media (orientation: portrait) and (max-width: 768px) {
    #minimapa {
        width: 250px;
        height: 20px;
    }
}

/* Móviles grandes en vertical (ej: iPhone Plus) */
@media (max-width: 1000px) {
    #minimapa {
        width: 160px;
        height: 155px;
        bottom: 0px;
        left: 0px;
        border-radius: 10%;
    }

    #logo-empresa img {
        width: 150px;
        height: auto;
        padding-left: 2.5rem;

        display: block;
    }
}

/* Móviles grandes en vertical (ej: iPhone Plus) */
@media (orientation: portrait) and (max-width: 480px) {
    #minimapa {
        width: 160px;
        height: 155px;
        bottom: 0px;
        left: 0px;
        border-radius: 10%;
    }

    #logo-empresa img {
        width: 150px;
        height: auto;
        padding-left: 2.5rem;

        display: block;
    }
}

/* Móviles pequeños en vertical (ej: iPhone SE) */
@media (orientation: portrait) and (max-width: 320px) {
    #minimapa {
        width: 150px;
        height: 180px;
    }
}


/* ============================================================
ESTILOS PARA ORIENTACIÓN HORIZONTAL (LANDSCAPE)
============================================================ */

/* Móviles o tablets en horizontal con poca altura */
@media (orientation: landscape) and (max-height: 500px) {
    #minimapa {
        width: 150px;
        height: 140px;
        bottom: 0px;
        left: 0px;
        border-radius: 10%;
    }
    
        #logo-empresa img {
        width: 130px;
        height: auto;
        padding-left: 2.5rem;
        display: block;
    }
}

/* Escritorio: Efecto al pasar el mouse */
@media (hover: hover) {
    #minimapa:hover {
        transform: scale(1.3); /* Agranda un 30% */
        transform-origin: bottom left; /* Para que no se salga de la pantalla */
        transition: transform 0.3s ease;
        z-index: 5; /* Asegura que el mapa agrandado esté sobre otros elementos */
    }
}

/* Móvil: Efecto al tocar (se activa con JavaScript) */
#minimapa.agrandado {
    transform: scale(1.3);
    transform-origin: bottom left;
    transition: transform 0.3s ease;
    z-index: 5;
}