/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Comic Neue", cursive;
    font-style: italic;
}

/* BODY */
body {
    background-color: #F2F2F2;
}

/* NAVBAR */
header {
    background-color: #0477BF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo img {
    width: 50%;
}

nav a {
    color: white;
    text-decoration: none;
    text-align: center;
    margin-left: 25px;
    letter-spacing: 1px;
}


/* HERO */
.hero img{
    width: 100%;
    display: flex;
    text-align: center;
}

/* DESCRIPCIÓN */
.descripcion {
    text-align: center;
    margin: auto;
}

.descripcion h2 {
    background-color: #A6CCE4;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 40px;
}

.descripcion p {
    margin-bottom: 15px;
    color: #3088BF;
    padding-left: 32rem;
    padding-right: 32rem;
    font-size: 1.5rem;
    line-height: 1.6;
    text-align: center;
}










/* SECCIÓN DISEÑO */

/* GALERÍA */
.proyectos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.proyectos img {
    width: 250px;
    border-radius: 5px;
}

/* TEXTO DISEÑO */
.texto-diseno {
    text-align: center;
    max-width: 700px;
    margin: 20px auto;
    line-height: 1.6;
}

/* DESTACADO */
.destacado {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #a8c6da;
    padding: 20px;
    margin: 40px auto;
    max-width: 900px;
    border-radius: 10px;
}

.destacado img {
    width: 250px;
    border-radius: 5px;
}

.destacado p {
    line-height: 1.6;
}

/* EXTRA */
.extra {
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 900px;
    margin: auto;
    flex-wrap: wrap;
}

.extra img {
    width: 300px;
}

.extra p {
    flex: 1;
    line-height: 1.6;
}

/* TITULOS GENERALES */
h1 {
    text-align: center;
    margin: 30px 0;
    color: #0477BF;
}


























/* CONTENEDOR GENERAL DISEÑO */
.diseno {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

/* GRID PRINCIPAL (como tu diseño) */
.diseno-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* LADO IZQUIERDO (galería + texto) */
.izquierda {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* GALERÍA SUPERIOR */
.proyectos {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.proyectos img {
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.proyectos img:hover {
    transform: scale(1.05);
}

/* IMÁGENES PEQUEÑAS ABAJO */
.mini-imgs {
    display: flex;
    gap: 10px; 
}


.mini-imgs img {
    width: 15em;
    border-radius: 8px;

    

    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.mini-imgs img:hover {
    transform: scale(1.05);
}

.poster{
    width: 100%;
    border-radius: 8px;
    text-align: center;
    margin-top: 4em;
}


/* LADO DERECHO (DESTACADO) */
.derecha {
    background: linear-gradient(135deg, #a8c6da, #d9ecf7);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.derecha img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.derecha img:hover {
    transform: scale(1.05);
}



/* SECCIÓN INFERIOR (guitarra + texto) */
.extra {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.extra img {
    width: 100%;
    max-width: 350px;
    margin: auto;
    border-radius: 10px;

   
    width: 100%;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.extra img:hover {
    transform: scale(1.05);
}

.extra p {

    text-align: center;
    font-size: 20px;
    padding-left: 50px;
}



















/* PROGRAMACION GRID */
.grid-programacion {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: auto;
}

/* CARD */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 25px;
    margin-top: 20px;
}

.card img {
    width: 100%;
    display: block;
    border-radius: 15px;
    margin-top: 20px;
}

/* OVERLAY (TEXTO) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 119, 191, 0.9);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: 0.4s;
    padding: 20px;
}

/* HOVER  */
.card:hover .overlay {
    opacity: 1;
}

















.animacion {
    padding: 60px 0;
    max-width: 1100px;
    margin: auto;
}

.animacion-contenedor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* IMAGEN GRANDE IZQUIERDA */
.img-grande {
    width: 100%;
    max-width: 420px;
    display: block;
}

/* TEXTO AZUL DERECHO */
.texto-azul {
    background: #94C8E8;
    padding: 25px;
    font-size: 20px;
    text-align: center;
    border-radius: 5px;
    line-height: 1.6;
}
.texto-azul p {
    margin: 20px;
}

/* IMÁGENES PEQUEÑAS DERECHA */
.img-pequena {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

/* TEXTO INFERIOR IZQUIERDA */
.texto-inferior {
    margin-top: 30px;
    line-height: 1.7;
    max-width: 420px;
    text-align: center;
    font-size: 20px;
}



















.sobre-mi {
    background: #d9d9d9;
    padding: 60px;
}

/* CONTENEDOR */
.contenedor-sobre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1100px;
    margin: auto;
    font-size: 20px;
}

/* IZQUIERDA */
.izquierda {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* FOTO */
.foto-perfil {
    width: 250px;
    border-radius: 20px;
    filter: grayscale(100%);
    transition: transform 0.4s ease;
    margin-left: 8em;
}

/* HOVER 🔥 */
.foto-perfil:hover {
    transform: scale(1.08);
}

/* REDES */
.redes {
    margin-top: 40px;
    margin-left: 8em;
}
.redes h3 {
    margin-bottom: 25px;
}
.redes p {
    margin-bottom: 10px;
}
/* DERECHA */
.derecha-texto-sobe-mi h2 {
    margin-bottom: 15px;
}

.derecha-texto-sobe-mi p {
    margin-bottom: 15px;
    line-height: 1.6;
}
.contacto h3 {
    margin-top: 49px;
    margin-bottom: 20px;
}
.contacto form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contacto input,
.contacto textarea {
    padding: 10px;
    border: none;
    border-radius: 8px;
    outline: none;
}

/* BOTÓN */
.contacto button {
    background: #0477BF;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.contacto button:hover {
    background: #035c91;
}























footer {
    background-color: #A6CCE4;
    text-align: center;
    padding: 15px;
    color: white;
    font-size: 20px;
}




























/* RESPONSIVE  */
@media (max-width: 768px) {

    .hero h1 {
        font-size: 35px;
    }

    header {
        flex-direction: column;
        gap: 10px;
    }

    .destacado {
        flex-direction: column;
        text-align: center;
    }

    .extra {
        flex-direction: column;
        text-align: center;
    }

    .proyectos img {
        width: 100%;
        max-width: 300px;
    }

    .animacion-contenedor {
        grid-template-columns: 1fr;
    }

    .texto-inferior {
        max-width: 100%;
    }
}