
/* CONFIGURACION GENERAL */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f1cb9c;
    color: #352311;
}

/* ENCABEZADO */
header {
    text-align: center;
    padding: 35px 20px;
    color: white;
    background: linear-gradient(140deg, #4b3214, #cc7b01);
}

header h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    margin: 0 0 10px;
    animation: aparecer 1s ease-in-out;
}

header p {
    margin: 0;
    font-size: 17px;
}

/* MENU */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #2e1d0c;
    padding: 12px;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

nav a:hover {
    background: #99600c;
}

/* PRESENTACION */
.presentacion {
    text-align: center;
    padding: 35px 20px 15px;
}

.presentacion h2 {
    font-family: Georgia, serif;
    font-size: 34px;
    margin-bottom: 10px;
}

.presentacion p {
    font-size: 17px;
    line-height: 1.6;
}

/* CONTENEDOR DE COMBOS */
main {
    padding: 20px;
}

.contenedor {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

/* TARJETAS */
.post {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 15px #0000001a;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px #00000026;
}

/* FOTOS DE LOS COMBOS */
.post img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

/* TEXTO DE CADA COMBO */
.contenido {
    padding: 22px;
}

.etiqueta {
    display: inline-block;
    background: #f5e2bf;
    color: #68410d;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.post h2 {
    font-family: Georgia, serif;
    font-size: 23px;
    margin: 15px 0 10px;
}

.post p {
    line-height: 1.6;
}

.precio {
    color: #80500c;
    font-size: 26px;
    font-weight: bold;
}

/* BOTON DE WHATSAPP */
.boton {
    display: block;
    text-align: center;
    padding: 13px 12px;
    background: #5b3914;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    line-height: 1.4;
    transition: background 0.3s;
}

.boton:hover {
    background: #8b5a1a;
}

/* PIE DE PAGINA */
footer {
    text-align: center;
    padding: 25px 15px;
    margin-top: 30px;
    background: #2e1d0c;
    color: white;
}

footer a {
    display: inline-block;
    margin-top: 10px;
    color: #f5d9a4;
}

/* ANIMACION DEL TITULO */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */
@media (min-width: 481px) and (max-width: 900px) {
    .contenedor {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post img {
        height: 210px;
    }
}

/* CELULAR */
@media (max-width: 480px) {
    header {
        padding: 28px 15px;
    }

    header h1 {
        font-size: 32px;
    }

    nav ul {
        gap: 4px;
    }

    nav a {
        padding: 10px;
        font-size: 14px;
    }

    .presentacion h2 {
        font-size: 28px;
    }

    main {
        padding: 15px;
    }

    .contenedor {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post img {
        height: 220px;
    }

    .contenido {
        padding: 18px;
    }
}
