/* =========================
   GENERAL
========================= */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff7f9;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

h1 {
    color: #d98fa3;
    font-size: 50px;
}

p {
    color: #444;
    font-size: 20px;
}


/* =========================
   HEADER
========================= */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
}

.logo {
    color: #d98fa3;
    font-size: 26px;
    font-weight: bold;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: #444;
    text-decoration: none;
    font-size: 17px;
    transition: 0.3s;
}

.menu a:hover {
    color: #d98fa3;
}

.menu-toggle {
    display: none;
}


/* =========================
   PORTADA
========================= */

.portada {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 30px;
    padding: 40px 20px;
}

.texto-portada {
    text-align: center;
}

.imagen-portada {
    width: 100%;
    display: flex;
    justify-content: center;
}

.imagen-portada img,
.imagen-portada video {
    width: 450px;
    max-width: 100%;
    height: auto;

    border-radius: 30px;
    display: block;
}


/* =========================
   BOTÓN ROSA
========================= */

a.boton {
    display: inline-block;

    background-color: #d98fa3;
    color: white;

    padding: 15px 30px;
    border-radius: 25px;

    text-decoration: none;
    font-size: 18px;

    margin-top: 10px;
    cursor: pointer;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

a.boton:hover {
    transform: scale(1.10);
    background-color: #cf7f96;
}

a.boton:active {
    transform: scale(0.95);
}


/* =========================
   CATÁLOGO
========================= */

.catalogo {
    padding: 70px 20px;
}

.catalogo h2 {
    color: #d98fa3;
    font-size: 36px;
    margin-bottom: 40px;
}

.productos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.producto {
    background-color: white;

    width: 300px;
    padding: 20px;

    border-radius: 20px;
    text-align: center;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
}

.producto img {
    width: 100%;
    height: 220px;

    object-fit: cover;
    border-radius: 15px;
}

.producto h3 {
    color: #d98fa3;
    font-size: 24px;
    margin: 15px 0 10px;
}

.producto p {
    font-size: 17px;
}


/* =========================
   BOTÓN WHATSAPP
========================= */

.boton-whatsapp {
    display: inline-block;

    background-color: #25D366;
    color: white;

    padding: 12px 22px;
    border-radius: 25px;

    text-decoration: none;
    font-size: 16px;
    font-weight: bold;

    margin-top: 10px;
    cursor: pointer;

    transition: 0.3s;
}

.boton-whatsapp:hover {
    transform: scale(1.07);
    background-color: #1ebe5d;
}


/* =========================
   PEDIDOS
========================= */

.pedidos {
    text-align: center;

    padding: 80px 20px;
    background-color: #fff5f7;

    margin-top: 50px;
}

.pedidos h2 {
    color: #d98fa3;
    font-size: 36px;
    margin-bottom: 15px;
}

.pedidos p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background-color: #d98fa3;
    color: white;

    text-align: center;
    padding: 30px 20px;
}

.footer p {
    color: white;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}


/* =========================
   MAMÁ FLOTANTE
========================= */

.mama-flotante {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 9999;

    transform: translateX(150%);
    opacity: 0;

    animation: aparecerMama 1s ease forwards;
    animation-delay: 1s;
}

.mama-flotante img {
    width: 180px;
    height: auto;
    display: block;

    animation: movimientoMama 3s ease-in-out infinite;
}

@keyframes aparecerMama {

    from {
        transform: translateX(150%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes movimientoMama {

    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-20px);
    }

    100% {
        transform: translateX(0);
    }
}


/* =========================
   CELULAR
========================= */

@media (max-width: 768px) {

    .header {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }

    .logo {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;

        background-color: #d98fa3;
        color: white;

        border: none;
        font-size: 24px;

        padding: 8px 15px;
        border-radius: 12px;

        cursor: pointer;
    }

    .menu {
        display: flex;
        flex-direction: column;

        width: 100%;
        text-align: center;

        gap: 12px;

        max-height: 0;
        overflow: hidden;
        opacity: 0;

        transition:
            max-height 0.4s ease,
            opacity 0.3s ease;
    }

    .menu.activo {
        max-height: 300px;
        opacity: 1;
    }

    .menu a {
        font-size: 15px;
        padding: 8px 0;
    }


    /* PORTADA CELULAR */

    .portada {
        flex-direction: column;
        padding: 30px 20px;
        gap: 25px;
    }

    .texto-portada {
        text-align: center;
    }

    h1 {
        font-size: 36px;
    }

    .texto-portada p {
        font-size: 18px;
    }

    .imagen-portada {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .imagen-portada img,
    .imagen-portada video {
        width: 100%;
        max-width: 480px;
        height: auto;
    }


    /* CATÁLOGO CELULAR */

    .catalogo {
        padding: 50px 15px;
    }

    .catalogo h2 {
        font-size: 32px;
    }

    .producto {
        width: 100%;
        max-width: 340px;
        box-sizing: border-box;
    }

    .producto img {
        height: 210px;
    }


    /* PEDIDOS CELULAR */

    .pedidos {
        padding: 60px 20px;
    }

    .pedidos h2 {
        font-size: 32px;
    }

    .pedidos p {
        font-size: 16px;
    }


    /* FOOTER CELULAR */

    .footer {
        padding: 30px 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }


    /* MAMÁ CELULAR */

    .mama-flotante {
        right: 10px;
        bottom: 10px;
    }

    .mama-flotante img {
        width: 110px;
    }
}