@import "../../../css/header_footer.css";

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f2f2f2;
}


.page{
max-width:1100px;
margin:auto;
}

/* --- 1 portada --- */

.hero{
align-items: center; 
background: #d7dec3;
padding-bottom:40px;
}

.hero-image{
    width:85%;
    height:auto;
    object-fit:cover;
    display:block;
    margin:0 auto;
}

.hero-text{
    padding:40px;
    text-align:center;
}

.hero-text h1{
    color:#2e4c1d;
    font-size: 5vh;
    margin-bottom:15px;
    font-family: "Sansita", sans-serif;
    font-weight: 520;
}

.hero-text p{
    font-family: "Belleza", sans-serif;
    font-size: 1.25rem;
    max-width:700px;
    margin:auto;
    line-height:1.6;
}


/* --- 2 texto --- */

.intro{
    background: #e9ebdd;
    padding: 50px 15% 50px 15%;
    line-height:1.7;
    display:flex;
    flex-direction:column;
    gap:20px;

}

.intro p{
    font-family: "Belleza", sans-serif;
    font-weight: 350;
    font-size: 1.35rem;
    font-style: normal;
    line-height: 1.6;         
    margin: 0px 0px 1.5em 0px;  /* Espaciado entre párrafos */
}


/* --- 3 entrevistas --- */

.interviews{
    background:#3f5a1a;
    color:white;
}

.interviews h2{
    padding: 50px 15% 50px 15%;
    margin-bottom:30px;
    font-family: "Sansita", sans-serif;
    font-size: 4vh;
    font-weight: 300;
    text-align: center;
}

.cards{
    display:grid;
    grid-template-columns:1fr 1fr;
    padding: 0px 20% 50px 20%;
    gap:25px;
}

.card{
    position:relative;
}

.card img{
    width:95%;
    height:500px;
    object-fit:cover;
    border-radius:6px;
}

.card p{
    position:absolute;
    background-color: rgba(96,81,62,0.75); 
    bottom:25px;            /* sube el bloque un poco */
    left:0;
    right:0;
    width:95%;         
    font-size:1.3rem;
    font-family: "Belleza", sans-serif;
    padding:15px;
    color:white;
}


/* --- 4 créditos --- */

.credits{
    background: #d7dec3;
    padding:50px 50px 50px 15%;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.credits h3{
    color:#2e4c1d;
    font-family: "Sansita", sans-serif;
    font-weight: 520;
    font-size: 3.2vh;
}

.credits p{
    font-family: "Belleza", sans-serif;
    font-size: 2.9vh;
}

.link{
    margin-top:20px;
    color:#2e4c1d;
    text-decoration:underline;
    cursor:pointer;
}


@media (max-width: 768px) {
    .hero-image{
        width: 100%;
    }

    .cards{
        padding: 0px 10% 50px 10%;
        grid-template-columns:1fr;
    }

    .card img{
        width: 100%;
        height: 400px;
        object-fit:cover;
        border-radius:6px;
    }

    .card p{
        width: 100%;
    }

}