:root {
    --marron: #5C3D2E;
    --rosa: #C88EA7;
    --rosa-claro: #F5E6EC;
    --blanco: #FFFFFF;
    --texto: #3B302B;
}


/* ESTILOS GENERALES */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--texto);
    background-color: var(--blanco);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    color: var(--marron);
}


/* HEADER */

header {
    background-color: transparent;
    padding: 1rem;
    position: absolute;
    width: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.logo {
    width: 7rem;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    margin-bottom: 0.5rem;
}

.menu a {
    color: var(--marron);
    font-weight: bold;
}

.menu a:hover {
    color: var(--rosa);
}


/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: left;
    overflow: hidden;
}

.imagen-hero {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-contenido {
position: relative;
    padding: 1.5rem;
    padding-top: 8rem;
    max-width: 30rem;
    z-index: 2;
}

.hero-contenido h1 {
    margin-top: 0;
    font-size: 3rem;
    color: var(--blanco);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-contenido p {
    color: var(--blanco);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.boton-explorarmenu,
.boton-ver,
.boton-comollegar,
.boton-comprargiftcard,
.boton-suscribirse {
    background-color: var(--marron);
    color: var(--blanco);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.3rem;
}

.boton-explorarmenu:hover,
.boton-ver:hover,
.boton-comollegar:hover,
.boton-comprargiftcard:hover,
.boton-suscribirse:hover {
    background-color: var(--rosa);
}


/* SECCIONES */

.productos,
.formas-disfrutar,
.suscripcion {
    padding: 3rem 1rem;
}

.productos h2,
.formas-disfrutar h2,
.suscripcion h2 {
    text-align: center;
    margin-top: 0;
}


/* PRODUCTOS */

.contenedor-productos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tarjeta-producto {
    background-color: var(--rosa-claro);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 2px solid var(--marron);

}

.tarjeta-producto img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    border-radius: 0.4rem;
}

.tarjeta-producto h3 {
    margin-bottom: 0.5rem;
}

.tarjeta-producto p {
    margin-top: 0;
}


/* FORMAS DE DISFRUTAR */

.formas-disfrutar {
    background-color: var(--rosa-claro);
    text-align: center;
}

.botones-opcion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.opcion-disfrute {
    background-color: var(--blanco);
    color: var(--marron);
    border: 0.1rem solid var(--rosa);
    padding: 0.75rem;
    border-radius: 0.3rem;
}

.opcion-disfrute:hover {
    background-color: var(--rosa);
    color: var(--blanco);
}

.contenido-opcion {
    background-color: var(--blanco);
    padding: 1.5rem;
    text-align: left;
    border-radius: 0.5rem;
}

.contenido-opcion ul {
    padding-left: 1.2rem;
}

.oculto {
    display: none;
}


/* FORMULARIO */

.suscripcion {
    background-color: var(--rosa-claro);
    text-align: center;
}

.formulario-suscripcion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 30rem;
    margin: 1.5rem auto 0;
}

.formulario-suscripcion label {
    text-align: left;
    font-weight: bold;
}

.formulario-suscripcion input {
    padding: 0.75rem;
    border: 0.1rem solid var(--rosa);
    border-radius: 0.3rem;
    font: inherit;
}

.mensaje-suscripcion {
    margin-top: 1rem;
}


/* FOOTER */

.footer {
    background-color: var(--marron);
    color: var(--blanco);
    padding-top: 2rem;
}

.contenedor-footer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem 2rem;
}

.logo-footer {
    width: 7rem;
    margin-bottom: 1rem;
}

.footer h4 {
    color: var(--blanco);
    margin-top: 0;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: var(--rosa-claro);
}

.contacto-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.contacto-link img {
    width: 1.5rem;
}

.footer-redes img {
    width: 2rem;
}

.footer-bottom {
    background-color: #432C21;
    text-align: center;
    padding: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* VERSION PARA PANTALLAS GRANDES */

@media (min-width: 48rem) {

    header {
        padding: 1rem 3rem;
    }

    .logo {
        margin: 0;
    }

    .menu {
        display: flex;
        gap: 1.5rem;
    }

    .menu li {
        margin-bottom: 0;
    }


    /* HERO */

    .hero {
        min-height: 35rem;
    }

    .hero-contenido {
        max-width: 40rem;
    }


    /* PRODUCTOS */

    .contenedor-productos {
        flex-direction: row;
        max-width: 70rem;
        margin: 0 auto;
    }

    .tarjeta-producto {
        flex: 1;
    }


    /* FORMAS DE DISFRUTAR */

    .botones-opcion {
        flex-direction: row;
        justify-content: center;
    }

    .opcion-disfrute {
        min-width: 12rem;
    }

    .contenido-opcion {
        max-width: 50rem;
        margin: 0 auto;
    }

    /* FOOTER */

    .contenedor-footer {
        flex-direction: row;
        justify-content: space-between;
        max-width: 70rem;
        margin: 0 auto;
    }

    .footer-brand,
    .footer-nav,
    .footer-contacto,
    .footer-redes {
        flex: 1;
    }
}
