/* ==========================================
   1. VARIABLES Y CONFIGURACIÓN GENERAL (PC)
   ========================================== */
@import url('https://googleapis.com');

body {
    margin: 0;
    background-color: #0b1425; /* Fondo base que acompaña al cielo de la foto */
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    z-index: 0;
    overflow-x: hidden;
}

/* El paisaje es el protagonista absoluto: nítido y claro */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("antioquia.jpeg"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.65; /* Aumentado para que la imagen se vea mucho más brillante y viva */
    z-index: -1;
    pointer-events: none;
    filter: saturate(1.3) contrast(1.05); 
}

/* ==========================================
   2. CONTENEDORES HÍPER-TRANSPARENTES DE LUZ (PC)
   ========================================== */

/* Barra Superior: Cristal blanco ultra-translúcido */
.panel {
    position: sticky; 
    top: 15px;       
    left: 20px;      
    z-index: 1000;
    background: rgba(255, 255, 255, 0.08); /* Blanco translúcido, CERO NEGRO */
    backdrop-filter: blur(16px) saturate(140%); /* Efecto vidrio esmerilado premium */
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-radius: 24px;
    margin: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.25); /* Línea de luz brillante */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.panel h1, .panel div {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1.5px;
}

/* CONTENEDOR PRINCIPAL: Tus dimensiones perfectas de PC */
.contenedor {
    display: flex;
    justify-content: center;
    align-items: center; 
    gap: 40px;           
    padding: 90px;       /* Tu gran colchón original que te encanta */
    margin: 40px auto;   
    max-width: 1450px;   
}

/* INFO: Tarjeta de cristal donde se fusiona el texto con el paisaje */
.info {
    border-radius: 28px;
    margin: 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05); /* Cristal finísimo de luz que deja ver la foto detrás */
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.18); /* Marco brillante */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12), inset 0 1px 3px rgba(255, 255, 255, 0.25);
    flex: 1;             
}

/* Títulos sumamente legibles y nítidos */
.info h1, .info .titulo-principal {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4); /* Sombra inteligente para que nunca se pierda el texto */
}

.info p {
    font-size: 16px;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

/* CONTENEDOR INTERNO DE BOTONES: Súper elástico y translúcido */
.redi {
    padding: 25px;
    margin: 10px 0 0 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04); /* Capa cristalina integrada al 100% */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px; 
}

/* ==========================================
   3. BLOQUE DE IMAGEN CON ANIMACIÓN FLOTANTE
   ========================================== */
.imagen {
    animation: balanceoElegante 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    flex-shrink: 0;      
}

.imagen img {
    width: 600px;        /* Tus 600px originales de PC */
    height: 400px;       /* Tus 400px originales de PC */
    max-width: 100%;     
    border-radius: 30px; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.imagen img:hover {
    transform: scale(1.03) translateY(-4px);
}

@keyframes balanceoElegante {
  0%, 100% { transform: translateY(0px); filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2)); }
  50% { transform: translateY(-18px); filter: drop-shadow(0 30px 45px rgba(56, 189, 248, 0.15)); }
}

/* ==========================================
   4. INGENIERÍA DE BOTONES PREMIUM (Eléctricos sobre Vidrio)
   ========================================== */
a {
    display: inline-block;
    padding: 18px 22px;
    border-radius: 14px; 
    cursor: pointer;
    text-decoration: none;
    margin: 0;
    color: white;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700; 
    font-size: 12px;
    text-transform: uppercase; 
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden; 
    z-index: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Destello brillante que pasa rápido sobre el cristal */
a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-30deg);
    animation: barridoRapido 4s ease infinite;
    z-index: -1;
}

@keyframes barridoRapido {
    0% { left: -150%; }
    30%, 100% { left: 150%; }
}

a:hover {
    transform: translateY(-6px);
    letter-spacing: 2px;
    color: #ffffff !important;
}

/* Bordes nítidos e intensos de colores */
.boton-amarillo { border-color: #facc15; color: #fef08a; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.boton-amarillo:hover {
    background: #facc15;
    color: #000000 !important;
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.6), inset 0 0 10px rgba(255,255,255,0.5);
    text-shadow: none;
}

.boton-rojo { border-color: #f87171; color: #fecaca; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
a.boton-rojo:hover {
    background: #f87171;
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(248, 113, 113, 0.6), inset 0 0 10px rgba(255,255,255,0.5);
}

.boton-verde { border-color: #4ade80; color: #bbf7d0; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.boton-verde:hover {
    background: #4ade80;
    color: #000000 !important;
    box-shadow: 0 0 25px rgba(74, 222, 128, 0.6), inset 0 0 10px rgba(255,255,255,0.5);
    text-shadow: none;
}

.boton-morado { border-color: #c084fc; color: #f3e8ff; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.boton-morado:hover {
    background: #c084fc;
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(192, 132, 252, 0.6), inset 0 0 10px rgba(255,255,255,0.5);
}

.boton-azul { border-color: #fb923c; color: #ffedd5; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.boton-azul:hover {
    background: #fb923c;
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(251, 146, 60, 0.6), inset 0 0 10px rgba(255,255,255,0.5);
}

/* ==========================================
   5. COMPONENTES DE CIERRE HÍPER-TRANSPARENTES (Footer)
   ========================================== */
footer {
    background: rgba(255, 255, 255, 0.05); /* Cristal blanco sutil, nada de negro */
    backdrop-filter: blur(15px) saturate(140%);
    -webkit-backdrop-filter: blur(15px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, 0.25); 
    justify-content: center;
    align-items: center;
    color: #f1f5f9;
    display: flex;
    padding: 30px;
    font-size: 13px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

#reloj {
    color: #38bdf8; 
    font-weight: 900;
    text-align: right;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* ==========================================
   6. PROTECCIÓN MÓVIL (100% RESPONSIVE)
   ========================================== */
@media (max-width: 1024px) {
    .panel {
        position: relative; 
        top: 0;
        left: 0;
        margin: 15px;
        padding: 20px;
        border-radius: 16px;
    }

    .contenedor {
        flex-direction: column-reverse; 
        padding: 15px !important; 
        margin: 10px auto;
        gap: 35px;
    }

    .info {
        margin: 0;
        padding: 30px 20px;
        border-radius: 20px;
        text-align: center;
    }
    
    .info h1, .info .titulo-principal {
        font-size: 26px; 
    }

    .redi {
        grid-template-columns: 1fr !important; 
        margin: 15px 0 0 0;
        padding: 15px;
        gap: 14px;
        border-radius: 16px;
    }

    a {
        margin: 0;
        display: block; 
        width: 100%;
        box-sizing: border-box; 
        padding: 16px;
    }
    a::before { display: none; } 
    
    a:hover {
        transform: translateY(-2px) scale(1.01);
    }

    .imagen {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .imagen img {
        width: 100% !important; 
        height: auto !important; 
        max-width: 440px; 
        margin: 0;
        border-radius: 20px;
    }
    
    #reloj {
        text-align: center; 
        margin-top: 15px;
    }
}
