/* =========================
   ESTILO MEXICANO MODERNO 🌶️
   ========================= */

/* Fondo principal con textura y color vibrante */
.foodmenu {
    background: linear-gradient(180deg, #A41717 0%, #E03D1E 45%, #FFC300 100%);
    width: 100%;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Adorno patrimonial arriba y abajo */
.foodmenu::before,
.foodmenu::after {
    content: "";
    width: 100%;
    height: 55px;
    background-image: url("../img/pattern-mexicano.png"); /* Te paso este diseño si lo deseas */
    background-size: contain;
    background-repeat: repeat-x;
    position: absolute;
    left: 0;
    opacity: .22;
}

.foodmenu::before { top: 0; }
.foodmenu::after { bottom: 0; }

/* TÍTULO */
.title-section {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: "Monthproof", sans-serif;
    font-size: 5rem;
    color: #FDF201;
    text-shadow: 3px 4px 5px rgba(0,0,0,0.4);
    letter-spacing: 2px;
    transform: skew(-3deg);
}

.section-subtitle {
    font-family: 'Century Gothic';
    font-size: 1.4rem;
    color: #ffffff;
    letter-spacing: 1px;
}

/* PANEL CON EFECTO DE CARTA */
.panel {
    max-width: 1250px;
    margin: auto;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.55);
    border: 3px solid #FDF201;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    backdrop-filter: blur(3px);
}

/* GRID MEXICANO MODERNO */
.panelScroller {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2.2rem;
}

/* =========================
   CARDS
   ========================= */
.card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
    transform: skew(-1deg);
    border: 2px solid #FDF201;
}

.card:hover {
    transform: translateY(-10px) scale(1.03) skew(-1deg);
    box-shadow: 0 18px 32px rgba(0,0,0,0.32);
    border-color: #00A86B; /* verde bandera 🇲🇽 */
}

/* Imagen del platillo */
.thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido */
.content {
    text-align: center;
    padding: .9rem 1rem 1.5rem;
}

.dish-title {
    font-family: "Monthproof", sans-serif;
    font-size: 1.8rem;
    color: #FDF201;
    text-shadow: 2px 3px 3px #000;
}

.price {
    margin-top: .6rem;
    font-size: 2rem;
    font-family: "Agency FB", sans-serif;
    color: #00A86B; /* Verde 🇲🇽 */
    text-shadow: 0px 0px 2px #000;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 850px) {

    .section-title {
        font-size: 10vw;
    }

    .price {
        font-size: 6vw;
    }

    .dish-title {
        font-size: 6vw;
    }

    .thumbnail {
        height: 45vw;
    }
}
