/*--------------------------------------------------*/
/* Estilos Generales */
/*--------------------------------------------------*/
html,
body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #e8eef1;
    overflow-x: hidden;
    /* Gris oscuro suavizado */
    color: #333;
}

.container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/*--------------------------------------------------*/
/* Botón de Llamada a la Acción (CTA) */
/*--------------------------------------------------*/
.cta-button {
    background-color: #FF6347;
    /* Rojo tomate para el botón */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #FF4500;
    transform: scale(1.05);
}

/*--------------------------------------------------*/
/* Banner Principal */
/*--------------------------------------------------*/
.banner {
    background: url('../images/banner.jpeg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Fondo oscuro semitransparente */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #FFDD57;
    /* Color dorado */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Sombra */
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #FFF8DC;
    /* Color crema */
    font-style: italic;
}

/*--------------------------------------------------*/
/* Sección de Destacados */
/*--------------------------------------------------*/
.focus-areas {
    padding: 40px;
    text-align: center;
    background-color: #f4f4f4;
}

.focus-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.focus-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    transition: transform 0.3s;
    margin: 0 auto; /* Centra el elemento */
}

.focus-item:hover {
    transform: translateY(-5px);
}

.focus-item img {
    width: 100%;
    border-radius: 8px;
}

.focus-item h3 {
    margin-top: 10px;
    font-size: 1.2rem;
}

/*--------------------------------------------------*/
/* Contenedores de Imágenes */
/*--------------------------------------------------*/
.single-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    /* Altura fija para igualar todas las tarjetas */
    overflow: hidden;
    border-radius: 8px;
}

.single-image-container img,
.image-container img {
    width: auto;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px; /* Espacio alrededor de las imágenes */
}

.image-container {
    display: flex;
    gap: 10px;
    /* Espacio entre las imágenes */
    justify-content: center;
    margin-bottom: 15px;
}

.image-container img {
    width: 100px;
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



/*----------------------------------------------*/
/* Proveedores */
/*--------------------------------------------------*/
.partners {
    padding: 40px;
    text-align: center;
    background-color: #f4f4f4;
}

.partners-logos {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.partners-logos img {
    width: 100px;
    height: auto;
    margin: 10px;
    transition: transform 0.3s;
}

.partners-logos img:hover {
    transform: scale(1.1);
}


/* Estilos para la sección de Noticias */
.news {
    padding: 40px;
    background-color: #f5f5f5;
    text-align: center;
}

.news h2 {
    font-size: 2rem;
    color: #228B22;
    /* Verde similar al logo */
    margin-bottom: 20px;
}

.news-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.news-item h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.news-item a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #228B22;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.news-item a:hover {
    background-color: #1e7b1e;
}



/*--------------------------------------------------*/
/* Cronología */
/*--------------------------------------------------*/
.timeline {
    padding: 40px;
    background-color: #f4f4f4;
    text-align: center;
}

.timeline-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.timeline-item {
    width: 250px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.timeline-item img {
    width: 100%;
    border-radius: 8px;
}

.timeline-item h3 {
    font-size: 1.2rem;
    margin-top: 10px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: #555;
}