﻿/* Hero Section con imagen de fondo */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/iniciativas_conservacion/conversacion_priv.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

    .hero-background::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
    }

.hero-title {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 1200px;
}

    .hero-title h1 {
        font-size: 4rem;
        font-weight: 800;
        text-transform: uppercase;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
        margin-bottom: 20px;
        letter-spacing: 3px;
    }

/* Sección principal */
.main-section {
    padding: 80px 40px;
    background-color: transparent;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-text {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #27ae60;
}

    .main-text h2 {
        color: #2c3e50;
        font-size: 2.2rem;
        margin-bottom: 25px;
        font-weight: 700;
        padding-bottom: 10px;
        border-bottom: 3px solid #27ae60;
    }

    .main-text p {
        color: #444;
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

.main-image {
    flex: 0 0 500px;
    display: flex;
    align-items: center;
}

    .main-image img {
        width: 100%;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

/* Sección de contenido adicional */
.content-section {
    padding: 80px 40px;
    background-color: transparent;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
}

.content-block {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

    .content-block h3 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 25px;
        font-weight: 700;
        text-align: center;
    }

    .content-block p {
        color: #444;
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

/* Sección con imágenes laterales */
.image-section {
    padding: 80px 40px;
    background-color: transparent;
}

.image-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.image-left,
.image-right {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

    .image-left img,
    .image-right img {
        width: 100%;
        height: 450px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.image-content {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .image-content h3 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 25px;
        font-weight: 700;
        text-align: center;
    }

    .image-content p {
        color: #444;
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

/* Sección de últimas dos secciones */
.final-sections {
    padding: 80px 40px;
    background-color: transparent;
}

.final-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.final-block {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

    .final-block h3 {
        color: #2c3e50;
        font-size: 2rem;
        margin-bottom: 25px;
        font-weight: 700;
        text-align: center;
    }

    .final-block p {
        color: #444;
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

/* Responsividad */
@media (max-width: 1200px) {
    .hero-title h1 {
        font-size: 3rem;
    }

    .main-container {
        flex-direction: column;
        align-items: center;
    }

    .main-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .image-container {
        flex-direction: column;
        align-items: center;
    }

    .image-left,
    .image-right {
        flex: 0 0 auto;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

        .image-left img,
        .image-right img {
            width: 48%;
            height: 200px;
        }
}

@media (max-width: 768px) {
    .hero-title h1 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .main-section,
    .content-section,
    .image-section,
    .final-sections {
        padding: 40px 20px;
    }

    .main-text,
    .content-block,
    .image-content,
    .final-block {
        padding: 25px;
    }

        .main-text h2,
        .content-block h3,
        .image-content h3,
        .final-block h3 {
            font-size: 1.8rem;
        }

        .main-text p,
        .content-block p,
        .image-content p,
        .final-block p {
            font-size: 1rem;
        }

    .image-left,
    .image-right {
        flex-direction: column;
    }

        .image-left img,
        .image-right img {
            width: 100%;
        }
}

@media (max-width: 480px) {
    .hero-title h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .main-text h2,
    .content-block h3,
    .image-content h3,
    .final-block h3 {
        font-size: 1.6rem;
    }
}
