/* MENU SECTION STYLES - SIMPLIFIED */
.menu {
    background-color: white;
    color: black;
    width: 100%;
    position: relative;
    overflow-y: auto; /* Permitir scroll */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu__content {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    height: 90%;
}

.menu__header {
    text-align: center;
    margin-bottom: 2rem;
}

.menu__title {
    font-family: "Prata", serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: black;
}

.menu__subtitle {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.781);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
}

.menu__tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.menu__tab {
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.849);
    transition: all 0.3s ease;
}

.menu__tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #800000; /* Color dorado */
    transition: width 0.3s ease;
}

.menu__tab:hover {
    color: #333;
}

.menu__tab.active {
    color: #800000;
}

.menu__tab.active::after {
    width: 100%;
}

.menu__category {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu__category.active {
    display: block;
    opacity: 1;
}

.menu__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Asegurar que todas las tarjetas tengan el mismo tamaño */
.menu__item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.596);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 300px; /* Altura fija para todas las tarjetas */
    width: 100%;
}

.menu__item:hover {
    transform: translateY(-3px);
}

.menu__item-image {
    width: 100%;
    height: 150px; /* Altura fija para todas las imágenes */
    object-fit: cover;
    flex-shrink: 0; /* Evita que la imagen se encoja */
}

.menu__item-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: white;
    color: black;
}

.menu__item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.menu__item-name {
    font-family: "Prata", serif;
    font-size: 1.1rem;
    color: black;
    margin: 0;
    font-weight: bold;
}

.menu__item-price {
    font-weight: bold;
    color: rgba(0, 0, 0, 0.616);
    font-size: 1rem;
}

.menu__item-description {
    color: #333;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0;
    /* Limitar a 3 líneas */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1; /* Permite que la descripción ocupe el espacio disponible */
}

.menu__footer {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive styles */
@media (max-width: 992px) {
    .menu__items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .menu__items {
        grid-template-columns: 1fr;
    }
    
    .menu__tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Mantener el mismo tamaño en móviles */
    .menu__item {
        height: 300px;
        max-width: 350px;
        margin: 0 auto;
    }
}