/* -------------------------
   ESTILOS GENERALES
-------------------------- */
body {
    margin: 0;
    font-family: "Segoe UI", "Poppins", sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* -------------------------
   ENCABEZADO
-------------------------- */
header {
    background-color: #13294b;
    padding: 10px 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 60px;
    width: auto;
}

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

nav a {
    color: #f5f5f5;
    text-decoration: none;
    margin: 0 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #a8c7ff;
}

nav a.active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #a8c7ff;
    left: 0;
    bottom: -4px;
    border-radius: 2px;
}

.login {
    padding: 6px 14px;
    background: #ffffff;
    color: #13294b !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login:hover {
    background: #a8c7ff;
    color: #13294b;
}

/* -------------------------
   SECCIÓN DE BIENVENIDA
-------------------------- */
.welcome-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.welcome-section h1 {
    font-size: 2.8rem;
    color: #13294b;
    margin-bottom: 0.8rem;
    font-family: "Georgia", serif;
}

.welcome-section p {
    font-size: 1.2rem;
    max-width: 600px;
    color: #444;
    margin-bottom: 2rem;
}

/* -------------------------
   BOTÓN
-------------------------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #13294b;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #1e3d72;
    transform: translateY(-2px);
}

/* -------------------------
   PIE DE PÁGINA
-------------------------- */
footer {
    text-align: center;
    padding: 15px;
    background-color: #13294b;
    color: #f5f5f5;
    font-size: 0.9rem;
}

/* -------------------------
   RESPONSIVE DESIGN
-------------------------- */

/* Tablets (<= 1024px) */
@media (max-width: 1024px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        height: 70px;
        margin-bottom: 10px;
    }

    nav a {
        margin: 6px 10px;
    }

    .welcome-section h1 {
        font-size: 2.4rem;
    }

    .welcome-section p {
        font-size: 1.1rem;
    }
}

/* Móviles (<= 768px) */
@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }

    nav {
        flex-direction: column;
        gap: 8px;
    }

    nav a {
        display: block;
        margin: 5px 0;
    }

    .welcome-section {
        padding: 40px 15px;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }

    .welcome-section p {
        font-size: 1rem;
        max-width: 90%;
    }

    .btn {
        padding: 10px 22px;
        font-size: 0.95rem;
    }

    footer {
        font-size: 0.8rem;
    }
}

/* Móviles pequeños (<= 480px) */
@media (max-width: 480px) {
    .logo {
        height: 60px;
    }

    nav a {
        font-size: 0.95rem;
    }

    .welcome-section h1 {
        font-size: 1.6rem;
    }

    .welcome-section p {
        font-size: 0.95rem;
    }

    .btn {
        width: 80%;
        font-size: 0.9rem;
    }
}
