﻿/* ============================================
   FUENTE ÚNICA PARA TODO EL SITIO
   ============================================ */

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: 'Segoe UI', sans-serif !important;
}


/* ============================================
   HEADER MODIFICADO - NUEVO COLOR #1E5A38
   ============================================ */




.navbar {
    background-color: #1E5A38 !important; /* Verde oscuro elegante */
    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-family: 'Segoe UI', sans-serif !important;
    font-weight: 700 !important;
    font-size: 2rem;
    letter-spacing: 0.3px;
    color: #fff; /* si querés mantener el blanco */
}


.brand-min-2 {
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    margin: 2px 0;
}

.brand-min-3 {
    font-weight: 600;
    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;
}

.brand-ipv-txt {
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

/* ============================================
   NUEVOS ELEMENTOS PARA LANDING PAGE
   ============================================ */

/* Barra de progreso animada - colores actualizados */
.progress-bar-animated {
    width: 100%;
    height: 4px;
    background-image: linear-gradient(45deg, #1E5A38, /* Verde principal */
    #2E8B57, /* Verde intermedio */
    #1E5A38, /* Verde principal */
    #3CB371, /* Verde más claro */
    #1E5A38 /* Verde 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, #2E8B57 0%, #1E5A38 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(30, 90, 56, 0.4);
        color: white;
    }

/* Banner principal */
.banner-container {
    background: linear-gradient(rgba(30, 90, 56, 0.85), rgba(30, 90, 56, 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;
    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;
    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 MODIFICADO - NUEVO COLOR #1E5A38
   ============================================ */
.footer {
    background: #1E5A38 !important; /* Verde oscuro elegante */
    color: #ffffff !important;
    margin-top: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    /* 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 - color complementario */
    .footer i {
        color: #FF8E53 !important; /* Naranja cálido para contraste */
    }

    /* Enlaces en el footer */
    .footer a {
        color: #FFD4B3 !important; /* Naranja claro/melocotón para buen contraste */
        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;
        }

            .footer a.text-decoration-none.text-muted.small: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 */
.footer-logo {
    filter: brightness(0) invert(1); /* Logo blanco para fondo verde oscuro */
    opacity: 0.9;
}

/* 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: #FFD4B3 !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;
}

/* Ajustes del footer */
.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;
    }
}
