﻿/* ============================================
   FUENTE ÚNICA PARA TODO EL SITIO
   ============================================ */
.font-montserrat,
body,
.navbar,
.brand-min-1,
.brand-min-2,
.brand-min-3,
.brand-ipv-txt,
.banner-title,
.banner-subtitle,
.btn,
.footer,
.section-title,
.option-title,
.timer-title,
h1, h2, h3, h4, h5, h6,
p, span, div, a, button, input, label,
.nav-link,
.breadcrumb,
.alert,
.card-title,
.form-label,
.table,
.dropdown-menu {
    font-family: 'Montserrat', sans-serif !important;
}

/* ============================================
   HEADER ORIGINAL (CON MISMOS ESTILOS PERO CON MONTSERRAT)
   ============================================ */
.navbar {
    background-color: #1C2A59 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.brand-ipv {
    gap: 10px;
    padding: 0;
    text-decoration: none;
}

.brand-escudo {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.2));
}

.brand-min {
    line-height: 1.05;
    color: #fff;
}

/* TODOS con Montserrat ahora */
.brand-min-1 {
    font-weight: 500; /* Ajustado para Montserrat */
    font-size: .95rem;
    letter-spacing: 0.3px;
}

.brand-min-2 {
    font-weight: 700; /* Ajustado para Montserrat */
    font-size: 1.05rem;
    color: #ffffff;
    margin: 2px 0;
}

.brand-min-3 {
    font-weight: 600; /* Ajustado para Montserrat */
    font-size: .95rem;
    opacity: .95;
    color: #e6f7ff;
}

.brand-sep {
    color: #fff;
    opacity: .85;
    font-size: 2.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    font-weight: 300; /* Más fino para separador */
}

.brand-ipv-txt {
    color: #fff;
    font-weight: 700; /* Ajustado para Montserrat */
    line-height: 1.15;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

/* ============================================
   NUEVOS ELEMENTOS PARA LANDING PAGE
   ============================================ */

/* Barra de progreso animada */
.progress-bar-animated {
    width: 100%;
    height: 4px;
    background-image: linear-gradient(45deg, #1C2A59, /* Color principal */
    #0072BB, /* Azul intermedio */
    #1C2A59, /* Color principal */
    #13c2c2, /* Turquesa */
    #1C2A59 /* Color principal */
    );
    background-size: 300% 100%;
    animation: moveGradient 5s linear infinite;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1031;
}

@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

/* Contador de votos */
.vote-counter {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Botón de Acceso al Sistema */
.btn-access-system {
    background: linear-gradient(135deg, #13c2c2 0%, #0fa8a8 100%);
    color: white !important;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .btn-access-system:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(19, 194, 194, 0.4);
        color: white;
    }

/* Banner principal */
.banner-container {
    background: linear-gradient(rgba(28, 42, 89, 0.85), rgba(28, 42, 89, 0.75)), url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    text-align: center;
    color: white;
    position: relative;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-title {
    font-weight: 800 !important; /* Montserrat Black */
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.banner-subtitle {
    font-weight: 400 !important; /* Montserrat Regular */
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Botones del banner */
.banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-vote-now {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    color: white !important;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .btn-vote-now:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
        color: white;
    }

.btn-more-info {
    background: transparent;
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
}

    .btn-more-info:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        color: white;
    }

/* Footer */
/* Footer */
.footer {
    background: #1C2A59 !important; /* Fondo azul oscuro */
    color: #ffffff !important; /* Texto blanco para contraste */
    margin-top: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Borde sutil */
}

    /* Textos del footer */
    .footer .fw-bold,
    .footer .text-muted {
        color: #ffffff !important;
        opacity: 0.95;
    }

    .footer small,
    .footer .footer-contact p {
        color: rgba(255, 255, 255, 0.85) !important;
    }

    /* Iconos en el footer */
    .footer i {
        color: #13c2c2 !important; /* Turquesa para contraste */
    }

    /* Enlaces en el footer */
    .footer a {
        color: #13c2c2 !important;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: #ffffff !important;
            text-decoration: underline;
        }

        /* Enlace de Acceso personal específico */
        .footer a.text-decoration-none.text-muted.small {
            color: rgba(255, 255, 255, 0.65) !important; /* Gris claro en lugar de turquesa */
        }

            .footer a.text-decoration-none.text-muted.small:hover {
                /*color: #ffffff !important;  Blanco al hover */
                text-decoration: none !important;
            }


    /* Separadores */
    .footer .border-top {
        border-color: rgba(255, 255, 255, 0.15) !important;
    }

    .footer .mx-2 {
        color: rgba(255, 255, 255, 0.3) !important;
    }

/* Logo del footer - ajustar brillo */
.footer-logo {
   
    filter: grayscale(100%) brightness(0.7); /* Este ya estaba en tu CSS original */
}


/* Ajustes adicionales para mejor legibilidad */
.footer .container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Ajustar el texto de privacidad */
.footer a.text-decoration-none {
    color: #13c2c2 !important;
    font-weight: 500;
}

    .footer a.text-decoration-none:hover {
        color: #ffffff !important;
    }


/**********************************************/
/* Añadir esto al body para estructura flex */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* El contenido principal debe expandirse */
main {
    flex: 1 0 auto;
}

/* También puedes ajustar el padding del footer si es necesario */
.footer .container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Responsive para el header original */
@media (max-width: 768px) {
    .brand-sep {
        display: none !important;
    }

    .brand-ipv-txt {
        display: none !important;
    }

    .brand-escudo {
        height: 50px;
    }

    .brand-min {
        font-size: 0.9rem;
    }

    .banner-title {
        font-size: 2.2rem;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }

    .btn-vote-now,
    .btn-more-info {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .banner-container {
        padding: 3rem 0;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .vote-counter {
        display: none;
    }
}

/* Para pantallas grandes */
@media (min-width: 1200px) {
    .banner-title {
        font-size: 3.5rem;
    }

    .banner-subtitle {
        font-size: 1.5rem;
    }
}
