/* Special Dishes Page Specific Styles */

.dishes-filter {
    background-color: var(--secondary-color);
    padding: 2rem 0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Special Dishes Grid */
.special-dishes {
    background-color: white;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.dish-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.dish-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dish-card:hover .dish-image img {
    transform: scale(1.1);
}

/* .dish-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
} */

.dish-content {
    padding: 1.1rem;
    min-height: 200px; /* Added to maintain consistent card height */
}

.dish-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.dish-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.dish-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Push to bottom of content area */
    padding-top: 1rem;
    border-top: 1px solid var(--secondary-color);
}

.dish-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.dish-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    padding: 4px 10px;
    border-radius: 20px;
}

.dish-rating i {
    color: #ffc107;
}

/* Removed Order Button Styles */
/* .order-btn styles have been removed */

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(29, 53, 87, 0.9), rgba(29, 53, 87, 0.9)), url('../assests/images/M.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animation for filtered items */
.dish-card {
    transition: all 0.5s ease;
}

.dish-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
}

/* Responsive Styles for Special Dishes */
@media (max-width: 992px) {
    .dishes-grid {
        grid-template-columns: repeat(3, 1fr); /* 3–3 */
    }
}
@media (max-width: 768px) {
    .dishes-grid {
        grid-template-columns: repeat(2, 1fr); /* 2–2 */
    }

    .dish-image {
        height: 200px;
    }

    .dish-content {
        min-height: 150px;
    }
}

/* Small Phones */
@media (max-width: 576px) {
    .dishes-grid {
        grid-template-columns: repeat(2, 1fr); /* Still 2–2 */
        gap: 1rem;
    }

    .dish-card {
        margin: 0;
    }

    .dish-image {
        height: 170px;
    }

    .dish-content {
        padding: 1rem;
        min-height: 160px;
    }
}