/*
Theme Name: H. Ayuntamiento de Moloacán
Description: H. Ayuntamiento de Moloacán 2026-2029.
Version: 1.0
*/

body { background-color: #f8f9fa; }

/* Colores Institucionales */
.bg-brand-green { background-color: #2e7d32 !important; }
.bg-brand-dark { background-color: #1b5e20 !important; }
.text-brand-green { color: #2e7d32 !important; }

/* Animación del Logo */
.navbar-brand img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.navbar-brand img:hover { transform: scale(1.05); }

/* Menú de Navegación */
.navbar-nav .nav-link { font-weight: 500; transition: color 0.2s; }
.navbar-nav .nav-link:hover { color: #2e7d32; }
.dropdown-menu { border-top: 3px solid #2e7d32 !important; }

/* Banner Principal (Hero) */
.hero-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 450px;
}

/* Botones Oscuros */
.dark-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    padding: 8px 16px;
    text-transform: uppercase;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.dark-btn:hover { background: rgba(255,255,255,0.1); color: white; }

/* Tarjetas de Servicios y Transparencia */
.service-card-horiz {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #1b5e20;
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.2s, transform 0.2s;
}
.service-card-horiz:hover { 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
    transform: translateY(-3px);
}
.service-card-horiz .icon { font-size: 30px; color: #1b5e20; }

.transparency-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-bottom: 4px solid #1b5e20;
    text-decoration: none;
    color: #333;
    transition: box-shadow 0.2s, transform 0.2s;
}
.transparency-card:hover { 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    transform: translateY(-5px);
}
.transparency-card .icon { font-size: 45px; color: #1b5e20; margin-bottom: 15px; }

/* Accesos Institucionales */
.access-card {
    background: white;
    border: 1px dashed #ccc;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}
.access-card:hover { background-color: #f8f9fa; }
.badge-custom {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f0f0f0;
    font-size: 10px;
    padding: 3px 8px;
    color: #666;
    font-weight: bold;
}

/* Pie de Página (Footer) */
footer a { color: #ffffff; text-decoration: none; transition: opacity 0.3s; }
footer a:hover { text-decoration: underline; opacity: 0.8; }