﻿/* 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/reserva_mbaracayu/lagunita.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: 4.5rem;
        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 de información */
.info-section {
    padding: 80px 40px;
    background-color: transparent;
}

.info-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.info-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;
}

    .info-text h2 {
        color: #2c3e50;
        font-size: 2.5rem;
        margin-bottom: 25px;
        font-weight: 700;
    }

    .info-text p {
        color: #444;
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

.info-image {
    flex: 0 0 500px;
}

    .info-image img {
        width: 100%;
        height: 600px;
        object-fit: cover;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

/* Sección de biodiversidad */
.biodiversity-section {
    padding: 80px 40px;
    background-color: transparent;
}

.biodiversity-container {
    max-width: 1400px;
    margin: 0 auto;
}

.biodiversity-title {
    text-align: center;
    margin-bottom: 60px;
}

    .biodiversity-title h2 {
        font-size: 3rem;
        color: #2c3e50;
        font-weight: 800;
        text-transform: uppercase;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

        .biodiversity-title h2::after {
            content: '';
            position: absolute;
            width: 150px;
            height: 5px;
            background: linear-gradient(to right, #27ae60, #2ecc71);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

/* Cards de biodiversidad */
.biodiversity-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.cards-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.bio-card {
    background-color: #e8f5e9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #c8e6c9;
    width: 300px;
}

    .bio-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

.bio-card-image {
    height: 200px;
    background-color: #c8e6c9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .bio-card-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.bio-card-content {
    padding: 25px;
    text-align: center;
}

    .bio-card-content h3 {
        font-size: 1.8rem;
        color: #2c3e50;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .bio-card-content p {
        font-size: 1.5rem;
        color: #27ae60;
        font-weight: 800;
    }

/* Sección de ecosistemas */
.ecosystem-section {
    padding: 80px 40px;
    background-color: transparent;
}

.ecosystem-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.ecosystem-images-left,
.ecosystem-images-right {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

    .ecosystem-images-left img,
    .ecosystem-images-right img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.ecosystem-content {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .ecosystem-content h2 {
        color: #2c3e50;
        font-size: 2.5rem;
        margin-bottom: 25px;
        font-weight: 700;
        text-align: center;
    }

    .ecosystem-content p {
        color: #444;
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }

/* Botón final */
.button-section {
    padding: 60px 40px;
    background-color: transparent;
    text-align: center;
}

.reserva-button {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(to right, #27ae60, #2ecc71);
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

    .reserva-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(39, 174, 96, 0.4);
        background: linear-gradient(to right, #219653, #27ae60);
    }

/* Responsividad */
@media (max-width: 1200px) {
    .hero-title h1 {
        font-size: 3.5rem;
    }

    .info-container {
        flex-direction: column;
    }

    .info-image {
        flex: 0 0 400px;
        width: 100%;
    }

        .info-image img {
            height: 400px;
        }

    .ecosystem-container {
        flex-direction: column;
    }

    .ecosystem-images-left,
    .ecosystem-images-right {
        flex: 0 0 auto;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

        .ecosystem-images-left img,
        .ecosystem-images-right img {
            width: 48%;
            height: 200px;
        }

    .bio-card {
        width: 280px;
    }
}

@media (max-width: 992px) {
    .bio-card {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .hero-title h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .info-section,
    .biodiversity-section,
    .ecosystem-section {
        padding: 40px 20px;
    }

    .info-text,
    .ecosystem-content {
        padding: 25px;
    }

        .info-text h2,
        .ecosystem-content h2 {
            font-size: 2rem;
        }

    .biodiversity-title h2 {
        font-size: 2.2rem;
    }

    .bio-card {
        width: 220px;
    }

    .bio-card-content h3 {
        font-size: 1.5rem;
    }

    .bio-card-content p {
        font-size: 1.3rem;
    }

    .reserva-button {
        padding: 15px 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-title h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .info-text h2,
    .ecosystem-content h2 {
        font-size: 1.8rem;
    }

    .biodiversity-title h2 {
        font-size: 1.8rem;
    }

    .bio-card {
        width: 100%;
        max-width: 300px;
    }

    .ecosystem-images-left,
    .ecosystem-images-right {
        flex-direction: column;
    }

        .ecosystem-images-left img,
        .ecosystem-images-right img {
            width: 100%;
        }
}

@media (max-width: 480px) {
    .hero-title h1 {
        font-size: 1.6rem;
    }

    .cards-row {
        flex-direction: column;
        align-items: center;
    }

    .bio-card {
        width: 100%;
        max-width: 300px;
    }
}
