/* Establece altura completa en toda la página */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f4f6f9;
    color: #1e293b;
}

/* Contenedor principal con layout de columna */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Footer no se encoge y NO es fijo */
.footer {
    background: linear-gradient(90deg, #1a5276 0%, #4682A9 100%);
    color: white;
    text-align: center;
    padding: 25px 0;
    width: 100%;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

/* Imagen destacada */
.imagen {
    display: block;
    margin: 30px auto;
    max-width: 90%;
    width: 600px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.imagen:hover {
    transform: scale(1.03);
}

/* Ajuste para imágenes generales - SIN PADDING GLOBAL para no romper layout */

/* Comentarios o tarjetas con borde */
#comment1,
#comment2,
#comment3,
#comment4,
#comment5,
#comment6 {
    border: 1px solid #000;
    padding: 10px;
    border-radius: 5px;
}

/* NOTA: .text-center era colision global — eliminado */

/* Carrusel */
.carousel-container {
    max-width: 700px;
    height: auto;
}

.carousel-inner img {
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Mapa */
.map-fixed-size {
    width: 80%;
    max-width: 800px;
    height: 300px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.map-fixed-size iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Redes sociales */
.social-icons a {
    margin: 0 8px;
    color: white;
    font-size: 1.4rem;
}

/* Comentarios en tarjetas */
.card-comment {
    width: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Navbar: estilos principales en layout.html para mantener MVC */
