@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
}

:root {
    --rosa: #db008d;
    --azul: #1a2d95;
    --verde: #beff3c;
    --aqua: #90ffb5;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

/*Botón flotante*/
.boton_flotante {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    margin: 0px 25px 25px 0px;
    border-radius: 100px;
    z-index: 1;
}

.boton_flotante img{
    height: 50px;
}

.boton_flotante:hover {
    transform: scale(1.08);
    cursor: pointer;
    transition: transform 1s;
}

/*Novedades Head*/
.novedades_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--aqua);
    height: 60px;
    padding: 10px 80px;
}

.iconos img {
    padding-top: 5px;
    margin-left: 10px;
    width: 30px; /* Considera ajustar si es necesario para diferentes dispositivos */
    height: auto;
}

#cambiante {
    transition: opacity 2s ease-in-out;
    opacity: 1;
}

.texto-oculto {
    opacity: 0;
}

/*Menu*/

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 20px 80px;
}

.menu img {
    height: auto;
    max-height: 40px;
    max-width: 100%;
    min-width: 180px;
}

.paginas {
    display: flex;
    justify-content: center;
    gap: 50px;
    font-size: 18px;
}

.paginas a {
    position: relative;
    text-decoration: none;
    color: #000; /* Color del texto */
    padding: 5px 8px;
}

.paginas a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px; /* Grosor de la línea */
    background-color: var(--rosa); /* Color de la línea */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.paginas a:hover::after {
    width: 100%; /* Línea crece completamente al hover */
    left: 0;
    transform: translateX(0);
}

.boton-llamar {
    background-color: var(--azul);
    color: white;
    text-align: center;
    padding: 10px 15px;
    border-radius: 10px;
}

.boton-llamar:hover {
    background-color: var(--rosa);
    transform: scale(1.02);
    transition: background-color 0.5s,
                transform 1s;
}

/*Banner*/

.carrusel_publicidad {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.carrusel_publicidad img {
    width: 100%; /* Ocupar el ancho completo del contenedor */
    height: auto;
    display: none;
}

.carrusel_publicidad img:first-child {
    display: block;
}

.carrusel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 10px;
}

.carrusel-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carrusel-prev {
    left: 30px;
}

.carrusel-next {
    right: 30px;
}

/*Titulo Venta*/

.tittle_venta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    font-size: 1.2vw;
    color: var(--azul);
}

/*Titulo Renta*/

.tittle_renta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    font-size: 1.2vw;
    color: var(--rosa);
}

/*Productos*/

.contenedor-cuadricula {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
    padding: 20px 150px;
}

.cuadricula-producto {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carrusel-producto {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.imagenes-carrusel {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.imagenes-carrusel img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.boton-carrusel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(26, 45, 149, 0.8); /* Azul semi-transparente */
    color: white;
    border: none;
    padding: 7px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10; /* Asegura que los botones estén por encima de las imágenes */
    transition: background-color 0.3s ease;
}

.boton-carrusel:hover {
    background-color: rgba(26, 45, 149, 1); /* Azul sólido al hacer hover */
}

.boton-carrusel.anterior {
    left: 10px;
}

.boton-carrusel.siguiente {
    right: 10px;
}

.cuadricula-producto h2 {
    color: var(--rosa);
    margin-top: 0;
}

.cuadricula-producto p {
    color: var(--azul);
}

.boton-accion {
    background-color: var(--azul);
    color: var(--azul);
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 15px;
    margin-top: 15px;
    color: white;
}

.boton-accion:hover {
    background-color: var(--rosa);
    color: white;
}

/*Footer*/

footer {
    display: flex;
    width: 100%;
    background-color: var(--rosa);
    color: white;
    padding: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logo-footer {
    max-width: 120px;
    height: auto;
}

.descripcion-footer {
    flex-grow: 1;
    margin: 0 20px;
    color: white;
}

.iconos-redes img {
    width: 35px;
    margin: 0 5px;
}

.links-interes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.links-interes a {
    color: white;
    text-decoration: none;
    margin: 1px 0;
}

/*Responsive*/

@media (max-width: 768px) {
    /*Novedades*/
    .novedades_head {
        padding: 10px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: auto;
    }
    #cambiante {
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .iconos img {
        margin-left: 1px;
        width: 30px;
        height: auto;
        margin-top: 0px;
    }
    /*Menu*/
    .menu {
        flex-direction: column;
        gap: 20px;
        padding: 20px 50px;
    }
    /*Titulo venta*/
    .tittle_venta {
        padding: 30px;
        font-size: 3.3vw;
    }
    /*Titulo renta*/
    .tittle_renta {
        padding: 30px;
        font-size: 3.3vw;
    }
    /*Productos*/
    .contenedor-cuadricula {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 50px 40px;
    }
    /*Footer*/
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 10px 30px;
    }
    .descripcion-footer, .links-interes {
        text-align: center;
    }
    .iconos-redes {
        margin-top: 20px;
    }
    .links-interes {
        align-items: center;
    }
}