:root {
    --artic-daisy: #112250;
    --peach-blossom: #F5F0EA;
    --olive-petal: #A3A380;
    --golden-clover: #F5F0EA;
}

body.bg-secundary {
    background-color: var(--artic-daisy) !important;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
}

h1 {
    color: var(--olive-petal) !important;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    padding-top: 40px;
    margin-bottom: 20px !important;
}

body > div.container.bg-white {
    background-color: #F5F0EA!important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0px !important;
    border: none !important;
}

body > div.container.bg-white img {
    max-width: 180px;
    margin-top: 20px;
    display: block;
    border-radius: 15px !important; 
    border: 3px solid white;
}

/* ESTILO PARA LOS BOTONES DEL MENÚ */
nav, .navbar {
    width: 100%;
}

.navbar-nav, nav ul {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 15px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ESTILO UNIFICADO PARA BOTONES (Inlcuyendo el Index) */
.nav-link, nav ul li a, body > a[href="/"], .navbar-brand {
    background-color: var(--artic-daisy) !important;
    color: var(--peach-blossom) !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border-radius: 0px !important; 
    transition: 0.3s !important;
    border: none !important;
    font-size: 0.9rem;
    display: inline-block !important;
}

/* Efecto Hover para todos los botones */
.nav-link:hover, nav ul li a:hover, body > a[href="/"]:hover {
    background-color: #112250 !important;
    color: var(--olive-petal) !important;
}

/* AJUSTE ESPECÍFICO PARA EL BOTÓN INDEX (Hipervínculo suelto) */
body > a[href="/"] {
    margin-bottom: 15px !important; /* Espacio antes de la tira rosa */
    display: inline-block !important;
}

footer {
    padding: 20px;
    color: var(--olive-petal);
    text-align: center;
}