/* estilos-portal.css - Daiko Systems para TransReport */

/* 1. CONFIGURACIÓN BASE Y TIPOGRAFÍA */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif; /* Requiere cargar la fuente Inter en el HTML */
    overflow-x: hidden;
}

/* 2. CONFIGURACIÓN DEL FONDO COMPLETO */
.bg-image {
    /* Imagen por defecto de buses modernos */
    background-image: url('https://images.unsplash.com/photo-1773265616470-8b0dde06652f?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Capa oscura sobre la imagen para resaltar el texto */
.bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.75); /* Azul muy oscuro casi negro, semi-transparente */
    z-index: 1;
}

/* 3. BARRA DE NAVEGACIÓN (NAVBAR) - Glassmorphism */
.navbar {
    z-index: 2; 
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar-brand {
    display: flex;
    align-items: center;
    color: white !important;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.navbar-brand img {
    height: 32px; /* Ajuste para el isotipo */
    margin-right: 12px;
}
.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    margin-left: 1.2rem;
    transition: color 0.3s, opacity 0.3s;
}
.nav-link:hover {
    color: white !important;
    opacity: 1;
}
.nav-link.active {
    color: white !important;
    font-weight: 700;
    border-bottom: 2px solid white;
}

/* 4. CONTENEDOR PRINCIPAL */
.main-content {
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 6rem; /* Espacio para el Navbar fijo si se usa fixed-top */
    padding-bottom: 3rem;
}

/* 5. TARJETAS EFECTO CRISTAL (GLASSMORPHISM) */
.glass-card {
    background: rgba(255, 255, 255, 0.9); /* Fondo blanco casi sólido, semi-transparente */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.8rem;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

/* 6. ÍCONOS Y BOTONES */
.icon-wrapper {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}
.icon-bp { color: #0d6efd; } /* Azul Bootstrap */
.icon-sol { color: #eab308; } /* Amarillo Oro */

.btn-custom {
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.btn-bp {
    background-color: #0d6efd;
    color: white;
    border: none;
}
.btn-bp:hover { background-color: #0b5ed7; color: white; transform: scale(1.03); }

.btn-sol {
    background-color: #eab308;
    color: #1e293b;
    border: none;
}
.btn-sol:hover { background-color: #ca8a04; color: white; transform: scale(1.03); }

/* 7. FOOTER */
.footer {
    z-index: 2;
    text-align: center;
    padding: 1.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.1);
}