.food-hero {
    background: linear-gradient(rgb(72, 100, 223), rgb(0, 0, 0)),
                url('assets/hero/page.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.main-nav{
    background-color: rgb(0, 0, 0);
    height: 20px;
}

.food-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recipe-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
}

.recipe-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.recipe-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-thumbnail img {
    transform: scale(1.05);
}

.recipe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recipe-card:hover .recipe-overlay {
    opacity: 1;
}

.watch-btn {
    background: #ff0000;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recipe-info {
    padding: 1.5rem;
}

.recipe-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.recipe-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.recipe-tags span {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .recipe-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}