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

body {
    background: #f4f4f4;
    color: #333;
}

/* HEADER */
header {
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo img {
    height: 50px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #5a5fa8;
    font-weight: bold;
}

nav a:hover {
    color: #2f347d;
}

/* HERO */
.hero {
    background: url("img/fondo.jpg") center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
}

.hero-logo {
    width: 300px;
    max-width: 100%;
    margin-bottom: 15px;
}

.hero-content {
    background: rgba(255,255,255,0.9);
    display: inline-block;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
}

.hero h1 {
    color: #5a5fa8;
    margin-bottom: 15px;
}

/* SECCIONES */
.section {
    padding: 70px 40px;
    text-align: center;
}

.section-light {
    background: #e9eaf7;
}

.section h2 {
    color: #5a5fa8;
    margin-bottom: 30px;
}

/* ARTISTAS */

/*
.artistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}*/

.artistas-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));*/
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.artista {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/*
.artista img {
    width: 100%;
    border-radius: 10px;
}
*/

.artista img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.artista img.loaded {
    filter: blur(0);
}

.artista h3 {
    margin-top: 15px;
}

/* BOTÓN */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #5a5fa8;
    color: white;
    text-decoration: none;
    border-radius: 30px;
}

.btn:hover {
    background: #2f347d;
}

/* CONTACTO */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form button {
    background: #5a5fa8;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 30px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #2f347d;
}

/* FOOTER */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
}


/* ===============================
   RESPONSIVE - CELULARES
   =============================== */

@media (max-width: 768px) {

    /* HEADER */
    header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 8px 10px;
        font-size: 14px;
    }

    /* HERO */
    .hero {
        padding: 60px 15px;
    }

    .hero-content {
        padding: 25px;
    }

    .hero-logo {
        width: 200px;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* SECCIONES */
    .section {
        padding: 50px 20px;
    }

    /* ARTISTAS */
    .artistas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* CONTACTO */
    .contact-form {
        width: 100%;
    }
}

/* ===============================
   CELULARES MUY CHICOS
   =============================== */

@media (max-width: 480px) {

    .artistas-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        width: 170px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 14px;
    }
}
