/* Estilos generales del body */
body {
    padding-top: 120px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #f4f4f4;
    font-size: 15px;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #0c3b6c;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 6.5rem;
    transition: top 0.3s;
}




/* NAVIGATION */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* HERO IMAGE */
.hero {
    width: 100%;
    background-size: cover;
    background-position: center;
    height: 400px;
}

/* CONTENT */
.contenido {
    padding: 1rem 1rem;             /* espacio arriba/abajo y un poco lateral */
    max-width: 1200px;              /* no se estira demasiado en pantallas grandes */
    margin: 0 auto;                 /* centrado horizontal */
    text-align: center;          
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* sombra sutil */
    font-family: 'Montserrat', sans-serif; /* tipografía más moderna */
    line-height: 1.8;               /* mejora la lectura del texto */
    color: #0c3b6c;                 /* color de texto principal */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* efecto sutil al hover */
    padding-top: 35px;
}

/* efecto sutil al pasar el mouse sobre el bloque de contenido */
.contenido:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
/* BLOQUE DE ENCABEZADO */
.contenido2 h1 {
    max-width: 1200px;                  /* no se estira demasiado en pantallas grandes */
    margin: 35px auto 20px auto;        /* centrado horizontal y espacio arriba/abajo */
    padding: 1rem;                       /* espacio interno */
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* sombra sutil */
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: #0c3b6c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* EFECTO HOVER SOBRE EL H1 */
.contenido2 h1:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* PÁRRAFOS DENTRO DE contenido2 */
.contenido2 p {
    text-align: justify;
    padding: 0 20px; /* padding lateral uniforme */
    margin-bottom: 1.5rem; /* separa párrafos entre sí */
}

/* CARD STYLES */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
}

/* DOCUMENT LIST */
.lista-documentos {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.lista-documentos li {
    background: #eef3f7;
    padding: 0.75rem 1rem;
    margin-bottom: 0.625rem;
    border-radius: 6px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
}

.lista-documentos a {
    text-decoration: none;
    color: #0c3b6c;
    font-weight: bold;
}

/* CATEGORY */
.categoria h2 {
    text-align: center;
    font-size: 1.5rem;
    color: #0c3b6c;
    margin-bottom: 1.25rem;
    padding: 0.75rem 0;
    background: #e6eef7;
    border-radius: 8px;
}

/* LOCATION */
#ubicacion {
    margin-top: 3.125rem;
    padding: 1.25rem;
    text-align: center;
}

#ubicacion iframe {
    max-width: 100%;
    border-radius: 8px;
}

/* FOOTER */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 0.625rem;
    width: 100%;
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
}

.slide.active {
    display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1.25rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        height: 250px;
    }
}

/* GALERÍAS DE IMÁGENES (SIN CLICK, SIN LIGHTBOX) */
.image-slider,
.image-slider2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.image-slider img {
    width: 100%;
    max-width: 1250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.image-slider2 div {
    flex: 0 1 250px;
    height: 180px;
    overflow: hidden;
}

.image-slider2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* OCULTAR IMÁGENES PARA "VER MÁS" */
.hidden {
    display: none;
}

/* BOTÓN VER MÁS */
.verMasBtn {
    display: block;
    margin: 1rem auto 2rem;
    padding: 0.5rem 1rem;
    background-color: #0c3b6c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.verMasBtn:hover {
    background-color: #09509e;
}
/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #0c3b6c;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between; /* separa logo y nav */
    align-items: center;
    height: 7.5rem; /* 120px */
    transition: top 0.3s;
}

/* CONTENEDOR DEL LOGO + TEXTO */
.logo-container {
    display: flex;
    align-items: center; /* centra verticalmente el texto respecto al logo */
    gap: 10px; /* espacio entre logo y texto */
}

/* LOGO */
.logo-container img {
    max-height: 185px; /* tamaño adecuado del logo */
    width: auto;
    padding-right: -10; /* ya no necesitamos demasiado padding */
    transform: none; /* eliminar cualquier escala */
}

/* TEXTO DEL LOGO */
.logo-text {
    font-size: 1.2rem; /* tamaño legible */
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

