/* General */
body, h2, h3, h4, h5, h6, p, a {
    font-family: 'Montserrat', sans-serif;
}

header h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

/* Encabezado */
.header-main {
border-bottom: 3px solid #b99050;
position: relative;
z-index: 1000;
}

.header-logo {
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.main-title {
    font-family: 'Georgia', serif;
    letter-spacing: 0.07rem;
    text-transform: uppercase;
}

.state-logo {
    filter: grayscale(100%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.state-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.header-titles {
    position: relative;
    padding: 0 1rem;
}

.header-titles:before,
.header-titles:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #b99050;
}

.header-titles:before {
    left: 0;
}

.header-titles:after {
    right: 0;
}

@media (max-width: 768px) {
    .header-titles:before,
    .header-titles:after {
        display: none;
    }

    .main-title span {
        font-size: 1.5rem !important;
    }

    .header-logo,
    .state-logo {
        max-height: 70px !important;
    }
}

/* Barra de navegación */
nav {
    background-color: #721B36;
}
nav a {
    color: white !important;
    font-size: 1rem;
}
nav .dropdown-menu {
    background-color: #721B36;
}
nav .dropdown-item {
    color: white;
}
nav .dropdown-item:hover {
    background-color: #9D2449;
}

/* Widget de clima */
#weather-widget {
    background-color: #9D2449;
    color: white;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Responsividad del clima */
@media (max-width: 576px) {
    #weather-widget {
        flex-direction: column;
    }
}

/* Tarjetas e imágenes */
.image-container-regidor, .image-container-president {
    width: 100%;
    max-width: 300px; /* Ancho máximo */
    height: auto; /* Ajusta la altura proporcionalmente */
    overflow: hidden;
    margin: 0 auto;
}

.fixed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none; /* Quita bordes */
}

.card {
    margin: 10px auto; /* Centrar las tarjetas */
    max-width: 300px; /* Ancho máximo */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 576px) {
    #weather-widget {
    font-size: 0.8rem; /* Ajusta el tamaño en pantallas pequeñas */
    justify-content: flex-start; /* Alinea al inicio si es necesario */
}

    #current-time {
        display: block; /* Asegura que siempre sea visible */
    }
}

    .card {
        max-width: 90%; /* Ajusta las tarjetas para pantallas pequeñas */
    }

    h2 {
        font-size: 1.5rem; /* Ajusta tamaño del texto */
    }
}

/* Pie de página */
.site-footer {
font-size: 0.9rem;
color: #fff !important; /* Color blanco para todo el texto */
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-link, .legal-link {
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover, .legal-link:hover {
    color: #b99050 !important;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    font-size: 1.5rem;
    color: #fff !important;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    color: #b99050 !important;
    transform: translateY(-3px);
}

.contact-info i {
    font-size: 1.2rem;
    min-width: 25px;
    color: #fff !important; /* Color blanco para los iconos de contacto */
}

.legal-links {
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Asegurar color blanco para todos los textos */
.footer-main, .footer-bottom {
    color: #fff !important;
}

h1 {
    text-align: center;
}
