/* ===================================
   RADAR.CSS - LEFT PANEL
   PREFIJO: radar_ 
   =================================== */

/* ===========================================
   HEADER SECTION 
   =========================================== */
.radar_parent-container {
    position: relative;
}

.radar_left-upper-section {
    flex: 0 0 auto;
    padding: 1.5rem 3rem 1rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-height: none;
    text-align: center;
    min-height: 50vh;
}

/* ===========================================
   LOGO 
   =========================================== */
.radar_logo-container {
    text-align: left;
    width: 100%;
    position: relative;
    padding-left: 0.5rem;    
    margin-bottom: 2rem;
    margin-top: 0.5rem;
}

.radar_portaldoc-logo {
    height: 5vw;
    max-height: 60px;
    min-height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    margin: 0;
    transition: height 0.3s ease;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .radar_portaldoc-logo {
        height: 40px;
    }
}

/* ===========================================
   TITULO 
   =========================================== */

.radar_title-banner {
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border-radius: 0;
    text-align: center;
    backdrop-filter: none;
    box-shadow: none;
    transition: none;
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.radar_title-text {
    font-family: "Orbitron", monospace;
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    margin: 0 auto;
    display: block;
    white-space: nowrap;
}

/* ===========================================
   SUBTITULO 
   =========================================== */

.radar_subtitle-banner {
    background: rgba(3, 19, 58, 0.5);
    border: 1px solid rgba(16, 136, 236, 0.6);
    border-radius: 6px;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 2rem;
    min-height: auto; 
    line-height: 1.2;        
    font-size: 14px;    
    max-width: 600px;
}

.radar_subtitle-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.radar_subtitle-text {
    font-family: "Orbitron", monospace;
    font-size: 14px;
    color: #0dcaf0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(38, 28, 118, 1);
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

/* ===========================================
   HEADER RESPONSIVE
   =========================================== */

@media (min-width: 1600px) {
    .radar_left-upper-section {
        padding: 2rem 3rem 2rem 3rem;
        min-height: 55vh;
    }
    
    .radar_portaldoc-logo {
        height: 28px;
    }
    
    .radar_title-text {
        font-size: 28px;
        letter-spacing: 5px;
        line-height: 1.7;
    }
    
    .radar_subtitle-text {
        font-size: 15px;
        letter-spacing: 4px;
    }
    
    .radar_logo-container {
        padding-left: 0.5rem;  
        margin-bottom: 1rem;
        margin-top: 0.5rem;
    }
    
    .radar_title-banner {
        margin-bottom: 1rem;
        max-width: 700px;
        padding: 2rem 2rem;
    }
    
    .radar_subtitle-banner {
        padding: 0.4rem 2rem;
        min-height: auto; 
        line-height: 1.2;        
        font-size: 14px;    
        max-width: 600px;
    }
}

@media (max-width: 1599px) and (min-width: 1200px) {
    .radar_left-upper-section {
        padding: 2rem 3rem 2rem 3rem;
        min-height: 50vh;
    }
    
    .radar_portaldoc-logo {
        height: 16px;
    }
    
    .radar_title-text {
        font-size: 21px;
        letter-spacing: 3px;
        line-height: 1.5;
    }
    
    .radar_subtitle-text {
        font-size: 13px;
        letter-spacing: 2px;
    }
    
    .radar_logo-container {
        padding-left: 0.5rem; 
        margin-bottom: 1rem;
        margin-top: 0.5rem;
    }
    
    .radar_title-banner {
        padding: 1.2rem 1.5rem;
        margin-bottom: 1rem;
        max-width: 600px;
    }
    
    .radar_subtitle-banner {
        padding: 0.4rem 2rem;
        min-height: auto; 
        line-height: 1.2;        
        font-size: 14px;    
        max-width: 450px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .radar_left-upper-section {
        padding: 1rem 1.5rem 1rem 1.5rem;
        min-height: 45vh;
    }
    
    .radar_portaldoc-logo {
        height: 16px;
    }
    
    .radar_title-text {
        font-size: 1.6rem;
        letter-spacing: 2px;
        line-height: 1.4;
    }
    
    .radar_subtitle-text {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .radar_logo-container {
        padding-left: 0.5rem;  
        margin-bottom: 1rem;
        margin-top: 0.5rem;
    }
    
    .radar_title-banner {
        padding: 1rem 1rem;
        margin-bottom: 1rem;
        max-width: 550px;
    }
    
    .radar_subtitle-banner {
        padding: 0.4rem 2rem;
        min-height: auto; 
        line-height: 1.2;        
        font-size: 14px;    
        max-width: 450px;
    }
}

/* ===========================================
   RADAR SECTION
   =========================================== */

.radar_left-lower-section {
    min-height: 45vh;
    position: absolute;
    right: 35%;     
    bottom: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}


.radar_encuentro-comercial-container {
    padding-top: 0;   
    margin: 0 auto; 
}

.radar_nube-comercial {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto;
}

/* ===========================================
   RADAR DE PORTAVIONES 
   =========================================== */

.radar_radar-portaviones {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 360px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1;
}

/* ===========================================
   CÍRCULOS CONCÉNTRICOS 
   =========================================== */

.radar_radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(10, 200, 240, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radar_radar-circle-1 { width: 90px; height: 90px; }
.radar_radar-circle-2 { width: 180px; height: 180px; }
.radar_radar-circle-3 { width: 270px; height: 270px; }
.radar_radar-circle-4 { width: 360px; height: 360px; }

/* ===========================================
   LÍNEAS CRUZADAS 
   =========================================== */

.radar_radar-crosshairs {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 360px;
    transform: translate(-50%, -50%);
}

.radar_radar-crosshairs::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: transparent;
    transform: translateY(-50%);
}

.radar_radar-crosshairs::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: transparent;
    transform: translateX(-50%);
}

/* ===========================================
   HAZ ROTATORIO 
   =========================================== */

.radar_radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 360px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(10, 200, 240, 0.2) 15deg,
        rgba(10, 200, 240, 0.4) 30deg,
        rgba(10, 200, 240, 0.6) 45deg,
        rgba(10, 200, 240, 0.8) 55deg,
        rgba(10, 200, 240, 1) 60deg,
        rgba(10, 200, 240, 0.8) 65deg,
        rgba(10, 200, 240, 0.6) 75deg,
        rgba(10, 200, 240, 0.4) 90deg,
        transparent 105deg
    );
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: radar_radarSweep 4s infinite linear;
    z-index: 2;
}

/* ===========================================
   ELEMENTOS DEL RADAR 
   =========================================== */

.radar_radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: rgba(10, 200, 240, 1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(10, 200, 240, 1);
    z-index: 10;
    animation: radar_centerPulse 3s ease-in-out infinite;
}

.radar_simple-circle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(10, 200, 240, 0.8);
    animation: radar_simpleFloat 4s infinite ease-in-out;
    z-index: 5;
    box-shadow: 0 0 10px rgba(10, 200, 240, 0.5);
}

.radar_radar-text {
    position: absolute;
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    color: rgba(0, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 4;
    animation: radar_textFloat 4s infinite ease-in-out;
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
    white-space: nowrap;
    background: rgba(3, 19, 58, 0.9);
    padding: 3px 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.radar_radar-text:hover {
    color: rgba(0, 255, 255, 1);
    text-shadow: 0 0 2px rgba(0, 255, 255, 0.9);
    border-color: rgba(0, 255, 255, 0.8);
    background: rgba(3, 19, 58, 1);
    transform: scale(1.2);
}

/* Posicionamiento sobre los círculos concéntricos */
.radar_radar-text-north { top: 10%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.radar_radar-text-northeast { top: 20%; right: 20%; animation-delay: 0.5s; }
.radar_radar-text-east { top: 50%; right: 10%; transform: translateY(-50%); animation-delay: 1s; }
.radar_radar-text-southeast { bottom: 20%; right: 20%; animation-delay: 1.5s; }
.radar_radar-text-south { bottom: 10%; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.radar_radar-text-southwest { bottom: 20%; left: 20%; animation-delay: 2.5s; }
.radar_radar-text-west { top: 50%; left: 10%; transform: translateY(-50%); animation-delay: 3s; }
.radar_radar-text-northwest { top: 20%; left: 20%; animation-delay: 3.5s; }

/* ===========================================
   ESTADÍSTICAS 
   =========================================== */

.radar_radar-stats {
    position: absolute;
    top: 50%;
    left: 100%;
    margin-left: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    right: -100px;
    gap: 8px;
    z-index: 20;
}

.radar_radar-stat-item {
    background: rgba(3, 19, 58, 0.9);
    border: 1px solid rgba(10, 200,240, 0.4);
    border-radius: 8px;
    padding: 6px 12px;
    font-family: 'Courier New', monospace;
    text-align: center;
    animation: radar_statPulse 4s infinite ease-in-out;
    backdrop-filter: blur(8px);
    min-width: 85px;
    border-left: 2px solid rgba(10, 200, 240, 0.6);
    transition: all 0.3s ease;
}

.radar_radar-stat-item:hover {
    border-color: rgba(10, 200, 240, 0.8);
    background: rgba(3, 19, 58, 1);
    transform: scale(1.05);
}

.radar_radar-stat-number {
    font-size: 15px;
    font-weight: 700;
    color: rgba(10, 200, 240, 1);
    display: block;
    text-shadow: 0 0 8px rgba(10, 200, 240, 0.6);
    line-height: 1.2;
}

.radar_radar-stat-label {
    font-size: 8px;
    font-weight: 500;
    color: rgba(10, 200, 240, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    display: block;
}

.radar_radar-stat-item:nth-child(1) { animation-delay: 0s; }
.radar_radar-stat-item:nth-child(2) { animation-delay: 1s; }
.radar_radar-stat-item:nth-child(3) { animation-delay: 2s; }

/* ===========================================
   ANIMACIONES
   =========================================== */

@keyframes radar_radarSweep {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes radar_textFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-3px) scale(1.02);
        opacity: 1;
    }
}

@keyframes radar_simpleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-4px) scale(1.1);
        opacity: 1;
    }
}

@keyframes radar_statPulse {
    0%, 100% { 
        opacity: 0.8;
        border-color: rgba(10, 200, 240, 0.4);
        box-shadow: 0 2px 8px rgba(3, 19, 58, 0.3);
    }
    50% { 
        opacity: 1;
        border-color: rgba(10, 200, 240, 0.7);
        box-shadow: 0 4px 15px rgba(3, 19, 58, 0.5);
    }
}

@keyframes radar_centerPulse {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(10, 200, 240, 1); 
    }
    50% { 
        box-shadow: 0 0 50px rgba(10, 200, 240, 1); 
    }
}

/* ===========================================
   RADAR RESPONSIVE
   =========================================== */

@media (max-width: 1599px) and (min-width: 1200px) {
    .radar_left-lower-section {
    min-height: 45vh;
    position: absolute;
    right: 35%;     
    bottom: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
    
    .radar_encuentro-comercial-container {
        max-width: 320px;
        height: 320px;
    }
    
    .radar_nube-comercial {
        width: 320px;
        height: 320px;
    }
    
    .radar_radar-portaviones {
        width: 300px;
        height: 300px;
    }
    
    .radar_radar-circle-1 { width: 75px; height: 75px; }
    .radar_radar-circle-2 { width: 150px; height: 150px; }
    .radar_radar-circle-3 { width: 225px; height: 225px; }
    .radar_radar-circle-4 { width: 300px; height: 300px; }
    
    .radar_radar-crosshairs, .radar_radar-sweep {
        width: 300px;
        height: 300px;
    }
    
    .radar_radar-center {
        width: 14px;
        height: 14px;
    }
    
    .radar_simple-circle {
        width: 7px;
        height: 7px;
    }
    
    .radar_radar-stats {
        right: -80px;
        gap: 7px;
    }
    
    .radar_radar-stat-item {
        min-width: 78px;
        padding: 5px 10px;
    }
    
    .radar_radar-stat-number {
        font-size: 13px;
    }
    
    .radar_radar-stat-label {
        font-size: 7px;
    }
    
    .radar_radar-text {
        font-size: 8px;
        padding: 2px 5px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .radar_left-lower-section {
        min-height: 45vh;
        padding-top: 0.2rem;
        margin-top: -0.3rem;
        padding-right: 2rem;
        padding-left: 2rem;
        padding-bottom: 3rem;
        align-items: flex-start;
    }
    
    .radar_encuentro-comercial-container {
        max-width: 260px;
        height: 260px;
    }
    
    .radar_nube-comercial {
        width: 240px;
        height: 240px;
    }
    
    .radar_radar-portaviones {
        width: 240px;
        height: 240px;
    }
    
    .radar_radar-circle-1 { width: 65px; height: 65px; }
    .radar_radar-circle-2 { width: 130px; height: 130px; }
    .radar_radar-circle-3 { width: 195px; height: 195px; }
    .radar_radar-circle-4 { width: 260px; height: 260px; }
    
    .radar_radar-crosshairs, .radar_radar-sweep {
        width: 240px;
        height: 240px;
    }
    
    .radar_radar-center {
        width: 12px;
        height: 12px;
    }
    
    .radar_simple-circle {
        width: 6px;
        height: 6px;
    }
    
    .radar_radar-stats {
        right: -70px;
        gap: 6px;
    }
    
    .radar_radar-stat-item {
        min-width: 70px;
        padding: 4px 8px;
    }
    
    .radar_radar-stat-number {
        font-size: 12px;
    }
    
    .radar_radar-stat-label {
        font-size: 7px;
    }
    
    .radar_radar-text {
        font-size: 7px;
        padding: 2px 4px;
    }
}

@media (max-width: 991px) {
    .radar_left-lower-section {
        min-height: 30vh;
        padding: 0.5rem 1rem 2rem 1rem;
        align-items: flex-start;
    }
    
    .radar_encuentro-comercial-container {
        max-width: 200px;
        height: 200px;
    }
    
    .radar_nube-comercial {
        width: 240px;
        height: 240px;
    }
    
    .radar_radar-portaviones {
        width: 220px;
        height: 220px;
    }
    
    .radar_radar-circle-1 { width: 55px; height: 55px; }
    .radar_radar-circle-2 { width: 110px; height: 110px; }
    .radar_radar-circle-3 { width: 165px; height: 165px; }
    .radar_radar-circle-4 { width: 220px; height: 220px; }
    
    .radar_radar-crosshairs, .radar_radar-sweep {
        width: 220px;
        height: 220px;
    }
    
    .radar_radar-center {
        width: 10px;
        height: 10px;
    }
    
    .radar_simple-circle {
        width: 5px;
        height: 5px;
    }
    
    .radar_radar-stats {
        right: -70px;
        gap: 5px;
    }
    
    .radar_radar-stat-item {
        min-width: 60px;
        padding: 3px 6px;
    }
    
    .radar_radar-stat-number {
        font-size: 10px;
    }
    
    .radar_radar-stat-label {
        font-size: 6px;
    }
    
    .radar_radar-text {
        font-size: 6px;
        padding: 1px 3px;
    }
}

/* ===========================================
   FONDO 
   =========================================== */
   
.radar_col-xxl-9.radar_col-lg-8 {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.radar_content-over-background {
    position: relative;
    z-index: 10;
    height: 100%;
}

/* ===========================================
   ANIMACIONES DEL FONDO 
   =========================================== */
   
:root {
    --radar_overlay-opacity: 0.3;
}

/* =============================
   CONTENEDOR QUE RECORTA VIDEO
   ============================= */
.radar_video_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* =============================
   VIDEO DE FONDO ANIMADO
   ============================= */
.radar_video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%; /* Más ancho para evitar bordes */
    height: 110%;
    object-fit: cover;
    z-index: 0;
    animation: radar_zoomInOutSmooth 20s ease-in-out infinite alternate;
}

/* =============================
   SUPERPOSICIÓN OSCURA
   ============================= */
.radar_dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--radar_overlay-opacity));
    z-index: 1;
}

/* =============================
   ANIMACIÓN DE ZOOM CONTROLADO
   ============================= */
@keyframes radar_zoomInOutSmooth {
    0% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1.1);
    }
}
