/* css/estilos-modernos.css */

body { 
    font-family: 'Poppins', sans-serif; 
    background-color: #f9f9f9; 
}

/* --- Navegación --- */
.navbar { 
    background-color: #ffffff; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
    padding: 15px 0; 
}

.nav-link { 
    color: #555 !important; 
    font-weight: 500; 
    transition: 0.3s; 
    margin: 0 10px; 
}

.nav-link:hover, .nav-link.active { 
    color: #007bff !important; 
}

.btn-login { 
    background: #007bff; 
    color: white !important; 
    padding: 8px 25px; 
    border-radius: 20px; 
    transition: 0.3s;
}

.btn-login:hover { 
    background: #0056b3; 
}

/* --- Hero Section (Banner Principal) --- */
.hero {
    /* Asegúrate de que la ruta de la imagen sea correcta desde el archivo CSS */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/logo4.JPG');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 { 
    font-size: 3.5rem; 
    font-weight: 700; 
    margin-bottom: 20px; 
}

.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
}

/* --- Secciones Generales --- */
.section-title { 
    text-align: center; 
    margin-bottom: 50px; 
}

.section-title h2 { 
    font-weight: 700; 
    color: #333; 
    position: relative; 
    display: inline-block; 
}

.section-title h2::after { 
    content: ''; 
    width: 50px; 
    height: 3px; 
    background: #007bff; 
    position: absolute; 
    bottom: -10px; 
    left: 50%; 
    transform: translateX(-50%); 
}

/* --- Tarjetas (Cards) --- */
.card-custom { 
    border: none; 
    transition: 0.3s; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}

.card-custom:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
}

.card-img-top { 
    height: 200px; 
    object-fit: cover; 
}

/* --- Formulario de Contacto --- */
.contact-form { 
    background: white; 
    padding: 40px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

/* --- Footer (Pie de Página) --- */
footer { 
    background: #222; 
    color: #aaa; 
    padding: 50px 0; 
}

footer h5 { 
    color: white; 
    margin-bottom: 20px; 
}

footer a { 
    color: #aaa; 
    text-decoration: none; 
    transition: 0.3s;
}

footer a:hover { 
    color: white; 
}

.social-icons a {
    color: #aaa;
    transition: 0.3s;
}

.social-icons a:hover {
    color: white;
    transform: scale(1.1);
}




/* =========================================
   ESTILOS ESPECÍFICOS DEL LOGIN
   ========================================= */

/* Fondo degradado moderno */
.login-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh; /* Ocupa toda la altura de la pantalla */
}

/* Tarjeta del formulario */
.card-login {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95); /* Blanco semi-transparente */
    backdrop-filter: blur(10px); /* Efecto de vidrio */
}

/* Círculo del icono */
.login-icon {
    width: 80px;
    height: 80px;
    background: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #764ba2;
    font-size: 2rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

/* Inputs modernos */
.form-control:focus {
    border-color: #764ba2;
    box-shadow: 0 0 0 0.25rem rgba(118, 75, 162, 0.25);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #764ba2;
    opacity: 0.8;
}

/* Botón personalizado */
.btn-login-custom {
    background: #764ba2;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-login-custom:hover {
    background: #5a3780;
    transform: translateY(-2px); /* Se eleva un poco al pasar el mouse */
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

/* Enlace de volver */
.link-volver {
    transition: color 0.3s;
}
.link-volver:hover {
    color: white !important; /* Se pone blanco para contrastar con el fondo */
}