body{
    background-color: rgb(1, 35, 188);
}

h1{
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
}

p{
    color: rgb(8, 7, 7);
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Times New Roman', serif;
    margin: 20px;
}
/* =========================
   NAVBAR CUSTOM PROFESIONAL
   ========================= */

.navbar-custom {
    background-color: #0155a9;
    transition: all 0.3s ease;
    z-index: 1030;
}

/* Sombra suave */
.navbar-custom.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Logo */
.navbar-custom .navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-custom .navbar-brand:hover img {
    transform: scale(1.05);
}

/* Texto del brand */
.navbar-custom .navbar-brand span {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Links */
.navbar-custom .nav-link {
    position: relative;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* Hover elegante */
.navbar-custom .nav-link:hover {
    color: #0d6efd; /* Bootstrap primary */
}

/* Línea inferior animada */
.navbar-custom .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background-color: #0d6efd;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after {
    width: 60%;
}

/* Link activo */
.navbar-custom .nav-link.active {
    color: #0d6efd;
    font-weight: 600;
}

.navbar-custom .nav-link.active::after {
    width: 60%;
}

/* Botón hamburguesa */
.navbar-custom .navbar-toggler {
    outline: none;
    box-shadow: none;
}

/* Icono admin */
.navbar-custom .bi-person-gear {
    transition: transform 0.3s ease, color 0.3s ease;
}

.navbar-custom .bi-person-gear:hover {
    transform: scale(1.15);
    color: #0d6efd;
}

/* =========================
   MÓVIL
   ========================= */
@media (max-width: 991.98px) {

    .navbar-custom .navbar-collapse {
        background-color: #024f6d;
        border-radius: 0 0 12px 12px;
        padding: 1rem 0;
        margin-top: 0.5rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .navbar-custom .nav-item {
        margin-bottom: 0.25rem;
    }

    .navbar-custom .nav-link {
        padding: 0.6rem 1rem;
    }

    .navbar-custom .nav-link::after {
        display: none; /* Más limpio en móvil */
    }
}

/* =========================
   DESKTOP
   ========================= */
@media (min-width: 992px) {

    .navbar-custom {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-custom .nav-link {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}
/* =====================================
   HERO RESPONSIVO – ASADA (PRODUCCIÓN)
   ===================================== */

/* Contenedor principal */
.hero-img-container {
    position: relative;
    width: 100%;
    min-height: 240px;
    height: auto;                     /* Se adapta al contenido en móvil */
    background-color: #0324ca;           /* Fondo elegante si hay espacios */
    overflow: hidden;
}

/* Imagen hero */
.hero-img-modern {
    width: 100%;
    height: auto;                     /* 🔑 Imagen completa en móvil */
    max-height: 60vh;
    object-fit: contain;              /* 📱 MÓVIL: NO se corta */
    display: block;
}

/* Overlay degradado */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 118, 188, 0.05),
        rgba(40, 99, 189, 0.35)
    );
    z-index: 1;
    pointer-events: none;
}

/* =====================================
   TABLET
   ===================================== */
@media (min-width: 768px) {

    .hero-img-container {
        height: 55vh;
        min-height: 360px;
        border-radius: 0 0 18px 18px;
    }

    .hero-img-modern {
        height: 100%;
        object-fit: cover;             /* 💻 Hero visual */
        object-position: center;
    }
}

/* =====================================
   DESKTOP
   ===================================== */
@media (min-width: 1200px) {

    .hero-img-container {
        height: 65vh;
        max-height: 620px;
    }
}

/* =====================================
   TEXTO SOBRE EL HERO (opcional)
   ===================================== */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    color: #fff;
}

.hero-content h1 {
    font-weight: 700;
    text-shadow: 0 3px 8px rgba(0,0,0,0.45);
}

.hero-content p {
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 2px 6px rgba(37, 16, 232, 0.4);
}
/* =====================================
   FOOTER INSTITUCIONAL – ASADA
   ===================================== */

.footer-custom {
    background: linear-gradient(
        135deg,
        #0d6efd,
        #084298
    ); /* Azul institucional */
    font-size: 0.95rem;
    position: relative;
}

/* Línea superior decorativa */
.footer-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
}

/* Branding */
.footer-custom h5 {
    letter-spacing: 0.5px;
}

/* Links */
.footer-custom .footer-link {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-custom .footer-link:hover {
    color: #e9f2ff;
    opacity: 0.85;
}

/* Íconos */
.footer-custom i {
    font-size: 1.1rem;
    vertical-align: middle;
}

/* Separación visual en móvil */
@media (max-width: 767.98px) {

    .footer-custom {
        text-align: center;
    }

    .footer-custom .col-md-4 {
        padding-bottom: 0.75rem;
    }
}

/* Desktop refinado */
@media (min-width: 768px) {

    .footer-custom {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }
}
