/* Estilos para la sección de redes sociales */
.redes-sociales {
    background-image: url(/../assets/image/homeimage/redessociales.png);
    width: 100%;
    height: 70vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 40vw 15vw 0;
    margin-bottom: -140px;
}

.text-sociales {
    color: #F6F3EC;
    z-index: 3;
    position: absolute;
    font-size: 2.2vw;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 3rem;
    text-align: center;
    bottom: 18vw;
    left: 50%;
    transform: translate(-50%, 0);
    width: 90%;
}

.redes-sociales::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Estilos para los íconos de redes sociales */
.social-items {
    position: absolute;
    color: #F6F3EC;
    z-index: 5;
    bottom: 10vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4em;
    margin-bottom: 5vh;
}

.social-item {
    width: 4vw;
    height: 4vw;
}

.social-item:hover{
    cursor: pointer;
}

/* Estilos para la sección de contacto */
.contact-img {
    background-color: #B9A590;
    margin: 0 auto;
    z-index: 40;
    position: relative;
    width: 40vw;
    padding: 4em 2em;
    border-radius: 2.5em;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3), 0 10px 18px rgba(0, 0, 0, 0.2), 0 14px 24px rgba(0, 0, 0, 0.15);
    margin-bottom: -40vw;
    margin-top: 8vw;
}

/* Estilos para el formulario de contacto */
.form-contacto .form h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 4vw;
    font-weight: 500;
    color: #36302A;
    margin-bottom: 4vh;
    text-align: center;
}

label {
    font-size: 1.2vw;
    font-weight: 300;
    margin: 1vw 0;
}

/* Estilos para los campos de nombre y apellido */
.nombre-apellido {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1vw;
}

.nombre-apellido div {
    display: flex;
    flex-direction: column;
}

.nombre-apellido input {
    width: 100%;
    font-size: 1.3vw;
    height: 3.5vw;
    border-radius: 35px;
    margin-top: 5px;
    background-color: #ece4da;
    border: solid 1px #574C3F;
    padding: 8px;
}

/* Estilos para los campos de contacto */
.datos-contacto input,
.datos-contacto textarea {
    width: 100%;
    border-radius: 35px;
    margin-top: 5px;
    background-color: #ece4da;
    border: solid 1px #574C3F;
    padding: 8px;
    font-size: 1.3vw;
}

.datos-contacto textarea {
    height: 8vw;
    padding: 10px;
    margin-bottom: 2.5vh;
}

.datos-contacto button {
    width: 12vw;
    height: 5vw;
    background-color: #36302A;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 1vw;
    color: #F6F3EC;
    border: none;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3), 0 10px 18px rgba(0, 0, 0, 0.2), 0 14px 24px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.datos-contacto button:hover {
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.4), 0 14px 24px rgba(0, 0, 0, 0.3), 0 18px 30px rgba(0, 0, 0, 0.25);
}

/* Media Queries Responsivas */
@media (max-width: 1919px) {
    .contact-img {
        width: 45vw;
    }
}

@media (max-width: 1100px) {
    .contact-img {
        width: 52vw;
    }
}

@media (max-width: 900px) {
    .contact-img {
        margin-top: 10vw;
        width: 70vw;
    }
    .form-contacto .form h1 {
        font-size: 5vw;
    }
    label {
        font-size: 2vw;
    }
    .nombre-apellido input,
    .datos-contacto input {
        font-size: 2.3vw;
        height: 4.5vw;
    }
    .datos-contacto textarea {
        height: 18vw;
        font-size: 2.3vw;
    }
    .text-sociales {
        bottom: 15vw;
        font-size: 3.5vw;
    }
    .social-items {
        bottom: 5vw;
        margin-bottom: 2vw;
    }
    .social-item {
        height: 5vw;
        width: 5vw;
    }
    .datos-contacto button {
        width: 18vw;
        font-size: 2vw;
        height: 8vw;
    }
}

@media (max-width: 500px) {
    .contact-img {
        width: 90vw;
        margin-top: 20vw;
        margin-bottom: -90vw;
    }
    .form-contacto .form h1 {
        font-size: 7vw;
    }
    label {
        font-size: 3.5vw;
    }
    .nombre-apellido input,
    .datos-contacto input {
        font-size: 3.2vw;
        height: 7vw;
    }
    .datos-contacto textarea {
        height: 28vw;
        font-size: 3.2vw;
    }
    .datos-contacto button {
        width: 28vw;
        height: 12vw;
        font-size: 3.5vw;
    }
    .redes-sociales {
        height: 140vw;
    }
    .text-sociales {
        font-size: 5vw;
    }
    .social-item {
        width: 8vw;
        height: 8vw;
    }
}

#notificacion {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
}

#notificacion.success {
    background-color: #d4edda;
    color: #155724;
}

#notificacion.error {
    background-color: #f8d7da;
    color: #721c24;
}
