/* Menu Page Specific Styles */

/* Delivery Apps Section */
.delivery-apps {
    padding: 4rem 0;
    background-color: var(--section-bg);
    transition: background-color 0.3s;
}

.delivery-apps h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.delivery-apps .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
}

.delivery-apps-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.delivery-app {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    text-align: center;
    max-width: 350px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.delivery-app:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.delivery-app img {
    max-width: 200px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.delivery-app h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.delivery-app p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.app-btn i {
    margin-right: 0.5rem;
}

.app-btn:hover {
    background-color: #d32f2f;
}

/* Media Queries for Delivery Apps */
@media (max-width: 768px) {
    .delivery-apps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .delivery-app {
        width: 100%;
    }
}

/* Pupusas Photo Area */
.pupusas-photo-area {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.pupusas-photo-area h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.pupusas-photos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.pupusa-photo {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pupusa-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pupusa-photo:hover img {
    transform: scale(1.05);
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    font-style: italic;
}

/* Menu Card Without Image */
.menu-card.no-image {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-card.no-image .menu-card-content {
    padding: 0;
}

/* Media Queries for Pupusas Photo Area */
@media (max-width: 768px) {
    .pupusas-photos {
        flex-direction: column;
        align-items: center;
    }
    
    .pupusa-photo {
        width: 100%;
        max-width: 300px;
    }
}

/* Menu Hero Section */
.menu-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/herobannerpupusas.jpg') no-repeat center center/cover;
    padding: 150px 0 80px;
    text-align: center;
    color: #fff;
}

/* Menu page specific fade-in animations */
.menu-card.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, background-color 0.3s, box-shadow 0.3s;
}

.menu-card.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.menu-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Menu Navigation */
.menu-nav {
    background-color: var(--dark-color);
    padding: 1rem 0;
    position: sticky;
    top: 70px;
    z-index: 90;
    transition: background-color 0.3s;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-tabs li {
    margin: 0 1rem;
}

.menu-tabs a {
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    border-radius: 5px;
}

.menu-tabs a:hover,
.menu-tabs a.active {
    background-color: var(--primary-color);
}

/* Menu Sections */
.menu-section {
    padding: 5rem 0;
}

.menu-section:nth-child(odd) {
    background-color: var(--section-bg);
    transition: background-color 0.3s;
}

.menu-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Menu Card */
.menu-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.menu-card:hover {
    transform: translateY(-10px);
}

.menu-card-img {
    height: 200px;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.1);
}

.menu-card-content {
    padding: 1.5rem;
}

.menu-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.menu-card-content p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.menu-card-content .price {
    display: block;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Call to Action */
.call-to-action {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://placehold.co/1200x400/e63946/ffffff?text=Ordena+Ahora') no-repeat center center/cover;
    padding: 5rem 0;
    text-align: center;
    color: #fff;
}

.call-to-action h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.call-to-action p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Active Link in Nav */
nav ul li a.active {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-hero h1 {
        font-size: 2rem;
    }
    
    .menu-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .menu-tabs li {
        margin: 0 0.5rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .menu-hero {
        padding: 120px 0 60px;
    }
    
    .menu-section {
        padding: 3rem 0;
    }
}
