
/* Estilos generales para el cuerpo de la página */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-image: url('../images/fondo2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Considera desactivarlo en móviles, ver media query */
}

/* Encabezado / logo */
.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.logo {
    height: 200px;
    max-width: 100%;
}

/* === Igualar alturas de columnas === */
/* La fila será flex y estirará a la misma altura sus hijos */
.row.equal-height {
    display: flex;
    align-items: stretch;   /* estira las columnas a la misma altura */
}

/* Cada columna será flex para centrar su contenido verticalmente */
.equal-col {
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente el contenido */
    /* altura mínima para dar presencia visual en desktop */
    min-height: 260px;
    padding: 2rem;
}

/* Colores con transparencia */
.left-column {
    background-color: rgba(0, 183, 176, 0.7);
}

.center-column {
    background-color: rgba(150, 193, 33, 0.7);
}

.right-column {
    background-color: rgba(0, 183, 176, 0.7);
}

/* Títulos y textos */
.left-column h1, .left-column p,
.center-column h1, .center-column p,
.right-column h1, .right-column p {
    margin: 0;
}

.left-column h1, .center-column h1, .right-column h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.text-center-medium {
    font-size: 0.7rem;
    margin-bottom: 0.7rem;
}

/* Pie de página */
.footer-rectangles {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-rectangle {
    height: 20px;
}

.small-rectangle {
    width: 15%;
    background-color: #00B7B0;
}

.large-rectangle {
    width: 80%;
    background-color: #95A823;
}

/* Contenedor general */
.content-container {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Overlay opcional (si lo usas) */
.overlay-background {
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.overlay-background::before {
    margin: 0;
    padding: 0;
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/fondo2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.overlay-content {
    position: relative;
    z-index: 1;
}

/* === Responsivo === */
/* En pantallas pequeñas: que se vea fluido y sin saltos */
@media (max-width: 575.98px) {
    .equal-col {
        min-height: auto;        /* que la altura se ajuste al contenido */
        padding: 1rem;           /* menos padding en móviles */
    }
    /* Evitar problemas de fondo fijo en iOS/Android */
    body {
        background-attachment: scroll;
    }
}

/* Ajuste tipográfico en tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
    .left-column h1, .center-column h1, .right-column h1 {
        font-size: 1.6rem;
    }
}
