/* ============================================================
   AKUTANGULO - ESTILOS DEL VISOR Y TOURS 360 (GOOGLE STREET VIEW)
   Ruta: httpdocs_new/assets/css/tour-360-akutangulo.css
   ============================================================ */

.aku-hero--tour360 .aku-hero__interior {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.aku-tour360-hero-media {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
}

.aku-tour360-visor-marco {
    position: relative;
    width: 100%;
    min-height: clamp(340px, 32vw, 450px);
    border-radius: 0.85rem;
    border: 1px solid var(--aku-morado, #9300d3);
    background: var(--aku-fondo, #050910);
    overflow: hidden;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.5), 0 0 20px rgba(147, 0, 211, 0.2);
}

#street-view {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.aku-tour360-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: radial-gradient(circle at center, rgba(13, 19, 31, 0.95), rgba(5, 9, 16, 0.98));
    color: var(--aku-texto, #f0f4f8);
    z-index: 2;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    text-align: center;
    padding: 1.5rem;
}

.aku-tour360-placeholder.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.aku-tour360-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(147, 0, 211, 0.25);
    border-top-color: var(--aku-morado, #9300d3);
    border-radius: 50%;
    animation: aku-tour360-spin 1s linear infinite;
}

@keyframes aku-tour360-spin {
    to {
        transform: rotate(360deg);
    }
}

.aku-tour360-barra-controles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: var(--aku-superficie, #0d131f);
    border: 1px solid var(--aku-borde, rgba(255, 255, 255, 0.08));
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
}

.aku-tour360-botones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.aku-tour-btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.88rem;
    line-height: 1;
    cursor: pointer;
}

.aku-tour-btn.is-active {
    box-shadow: 0 0 16px rgba(0, 255, 179, 0.4);
}

.aku-tour-btn--rotacion.is-active i {
    animation: aku-tour360-spin 4s linear infinite;
}

@media (max-width: 980px) {
    .aku-hero--tour360 .aku-hero__interior {
        grid-template-columns: 1fr;
    }

    .aku-tour360-visor-marco {
        min-height: clamp(320px, 54vw, 460px);
    }
}

@media (max-width: 600px) {
    .aku-tour360-barra-controles {
        flex-direction: column;
        align-items: stretch;
    }

    .aku-tour360-botones {
        display: grid;
        grid-template-columns: 1fr;
    }

    .aku-tour-btn {
        width: 100%;
        justify-content: center;
    }
}
