*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html {
    font-size: 16px;
}

body{
    background:#f5f5f5;
    color:#333;
    line-height: 1.6;
}

header{
    height: 70vh;
    min-height: 400px;
    background-image:url("../img/banner.jpg");
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.contenido-header{
    color:white;
    background:rgba(0,0,0,.4);
    padding:2rem;
    border-radius:10px;
    max-width: 90%;
}

.contenido-header h1{
    font-size:clamp(2rem, 8vw, 4rem);
    margin-bottom: 1rem;
}

.contenido-header p{
    font-size:clamp(1rem, 2vw, 1.2rem);
}

section{
    padding: clamp(2rem, 8vw, 60px) clamp(1rem, 5vw, 10%);
}

h2{
    margin-bottom:20px;
    color:#E8A5CC;
    font-size: clamp(1.5rem, 5vw, 2rem);
}

.introduccion p{
    margin-bottom:15px;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.galeria{
    display:flex;
    gap: clamp(1rem, 3vw, 25px);
    flex-wrap:wrap;
}

.card{
    background:white;
    flex:1;
    min-width: clamp(250px, 90vw, 300px);
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 0 10px rgba(0,0,0,.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,.2);
}

.card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.card p{
    padding: clamp(1rem, 2vw, 20px);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.donaciones{
    background:#E8A5CC;
    color:white;
    text-align:center;
}

.donaciones h2{
    color:white;
}

.donaciones p {
    font-size: clamp(0.95rem, 2vw, 1rem);
    margin-bottom: 1rem;
}

button{
    margin-top:20px;
    padding: clamp(0.75rem, 2vw, 15px) clamp(1.5rem, 3vw, 30px);
    border:none;
    border-radius:5px;
    background: white;
    color: #E8A5CC;
    cursor:pointer;
    font-size: clamp(0.9rem, 2vw, 16px);
    font-weight: bold;
    transition: all 0.3s;
}

button:hover {
    background: #E8A5CC;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

footer{
    background:#222;
    color:white;
    text-align:center;
    padding: clamp(1rem, 2vw, 20px);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

@media(max-width:1024px){
    section {
        padding: 3rem 5%;
    }
    
    header {
        height: 60vh;
        min-height: 350px;
    }
}

@media(max-width:768px){
    .contenido-header h1{
        font-size: 2.5rem;
    }
    
    .contenido-header {
        padding: 1.5rem;
    }

    .galeria{
        flex-direction:column;
        gap: 1rem;
    }
    
    .card {
        min-width: 100%;
    }

    header {
        height: 50vh;
        min-height: 300px;
    }
    
    section {
        padding: 2rem 5%;
    }
}

@media(max-width:480px){
    .contenido-header h1{
        font-size:1.8rem;
    }
    
    .contenido-header p {
        font-size: 0.95rem;
    }

    header {
        height: 45vh;
        min-height: 250px;
    }

    .contenido-header {
        padding: 1rem;
    }

    section {
        padding: 1.5rem 4%;
    }
    
    h2 {
        font-size: 1.3rem;
    }

    button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}