/* =======================
   BASE
======================= */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;

    /* 🔥 MODO OSCURO DEFINITIVO */
    background: #121212;
    color: #e8e8e8;
}

.content {
    flex: 1;
    padding: 0px;
    text-align: center;
}

/* =======================
   BARRA SUPERIOR
======================= */
.top-bar {
    width: 100%;
    background: #1a1a1a;
    padding: 20px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-right: 40px;
}

/* Zoom universal */
.icon,
.zoom {
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease;
    white-space: nowrap;
}

.icon:hover,
.zoom:hover {
    transform: scale(1.5);
}

/* =======================
   PARALLAX HEADER
======================= */
.parallax-header {
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(120deg, #4384E2, #ad39d4, #4384E2);
    background-size: 300% 300%;
    animation: moverCielo 15s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes moverCielo {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =======================================================
   BANNER RESPONSIVE (Arreglado completamente)
======================================================= */
.section-banner {
    width: 100%;
    max-width: 900px;
    margin: 25px auto;
    padding: 20px 0;

    height: auto;
    min-height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    overflow: hidden;
    position: relative;
    z-index: 5;

    background: linear-gradient(120deg, #20184e, #2d2c7a, #380d49);
    background-size: 300% 300%;
    animation: moverCielo 15s ease-in-out infinite;
}

.section-banner2 {
    width: 100%;
    max-width: 900px;
    margin: 25px auto;
    padding: 20px 0;

    height: auto;
    min-height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    overflow: hidden;
    position: relative;
    z-index: 5;

    background: linear-gradient(120deg, #1c90dd, #b2e7e7, #008cff);
    background-size: 300% 300%;
    animation: moverCielo 15s ease-in-out infinite;
}

.section-banner3 {
    width: 100%;
    max-width: 900px;
    margin: 25px auto;
    padding: 20px 0;

    height: auto;
    min-height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    overflow: hidden;
    position: relative;
    z-index: 5;

    background: linear-gradient(120deg, #4e2b4a, #b420cb, #601c57);
    background-size: 300% 300%;
    animation: moverCielo 15s ease-in-out infinite;
}

/* =======================
   LOGO PRINCIPAL
======================= */
.logo-container img {
    width: 550px;
    transition: transform 0.25s ease;
}

.logo-container img:hover {
    transform: scale(1.08);
}

/* =======================
   MINI LOGO (Ahora responsive real)
======================= */
.section-logo img {
    width: 540px;
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.6));
}

/* =======================
   MENÚ
======================= */
nav {
    background: #202020;
    padding: 16px 0;
    text-align: center;
}

nav a {
    margin: 0 25px;
    text-decoration: none;
    color: #ddd;
    font-size: 19px;
    position: relative;
}

.active {
    border-bottom: 3px solid #e8e8e8;
}

nav a:not(.active)::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    left: 0;
    bottom: 0;
    background: #aaa;
    transition: width 0.3s;
}

nav a:not(.active):hover::after {
    width: 100%;
}

/* =======================
    BOTÓN DE LOGIN
======================= */

/* Quitar estilo feo de hipervínculo */
.login-btn {
    text-decoration: none; 
    color: white; 
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.25s ease;
    
}

/* Hover elegante */
.login-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* Evitar que los <a> salgan subrayados en general */
a {
    text-decoration: none !important;
}


/* =======================
   FOOTER GRUESO
======================= */
.footer-info {
    background: #111;
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

/* =======================
   FOOTER COPYRIGHT
======================= */
.footer-copy {
    background: #000;
    color: #ddd;
    text-align: center;
    padding: 12px;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 900px) {
    .logo-container img { width: 500px; }
    nav a { margin: 0 15px; font-size: 16px; }

    .section-logo img {
        width: 540px;
        max-width: 70%;
    }
}

@media (max-width: 600px) {
    .section-logo img {
        width: 540px;
        max-width: 65%;
    }

    .top-right { gap: 10px; }

    .logo-container img { width: 400px; }

    .footer-info {
        flex-direction: column;
        text-align: center;
    }
}
