/* Fondo con imagen y transparencia */
body {
    background: url('../img/semarre.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Contenedor de contenido centrado */
.content-wrapper {
    position: relative;
    z-index: 1;
    padding-top: 10%;
}

/* Logo institucional */
.logo-alcaldia {
    max-width: 220px;
    margin: 0 auto 20px auto;
    display: block;
}

/* Ajustes a la tarjeta */
.card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
}

h1.h4 {
    font-weight: 600;
}

/* GOV.CO bar */
.gov-bar {
    background-color: #3366cc;
    color: white;
    padding: 6px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gov-bar a.logo-govco {
    margin-left: 60px;
    display: flex;
    align-items: center;
}

.gov-bar img {
    height: 36px;
}

.gov-bar .right-links {
    margin-right: 60px;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
}

.gov-bar .right-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gov-bar .right-links i {
    font-size: 16px;
}

/* Banner institucional alcaldía */
.alcaldia-banner {
    background-color: white;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-bottom: 2px solid #ccc;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap; /* evita salto interno */
}


.alcaldia-banner img {
    height: 60px;
    flex-shrink: 0;
}

.alcaldia-banner h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    max-width: 80%;
    text-align: left;
}

/* Footer estilo boletín */
.footer-boletin-extendido {
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    margin-top: 60px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: linear-gradient(to right, #0b2a66 35%, #3b74d9 35%);
    color: white;
    padding: 40px 30px;
}

.footer-left {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    text-align: center;
}

.footer-left img.logo-alcaldia-footer {
    height: 80px;
}

.footer-left img.logo-gov-footer {
    height: 35px;
}

.footer-right {
    width: 65%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    padding-left: 40px;
}

.footer-col {
    flex: 1 1 45%;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-col a {
    color: white;
    text-decoration: underline;
}

.btn-footer {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    background-color: white;
    color: #0b2a66 !important; /* SIEMPRE azul oscuro */
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    border: 1px solid #0b2a66;
    transition: background 0.3s;
}

.btn-footer:hover {
    background-color: #f2f2f2;
    color: #0b2a66 !important; /* se mantiene igual */
    text-decoration: none;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social a {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
}

.footer-social i {
    font-size: 18px;
}

.footer-links a {
    color: white;
    margin-right: 10px;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        padding: 0;
    }

    .footer-right {
        flex-direction: column;
        padding-top: 20px;
    }
}

.titulo-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.titulo-banner h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    white-space: nowrap; /* evita salto automático */
}

.titulo-banner h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #444;
}
