.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.hero-section {
    position: relative;
    text-align: center;
    padding: 8rem 2rem;
    margin-bottom: 2rem;
    background-color: #c7d6e6;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-section:hover {
    transform: scale(1.01);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #b34848, #f0f5ff);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #f8f9fa;
}

.recipe-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #1a365d;
}

.recipe-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    margin-bottom: 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.recipe-scroll::-webkit-scrollbar {
    height: 8px;
}

.recipe-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.recipe-scroll::-webkit-scrollbar-thumb {
    background: #b40000;
    border-radius: 4px;
}

.recipe-scroll::-webkit-scrollbar-thumb:hover {
    background: #900000;
}

.recipe-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 0 0 300px;
    max-width: 300px;
    cursor: pointer;
}

.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(180, 0, 0, 0.2);
    border: 1px solid rgba(180, 0, 0, 0.1);
}

.recipe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-content {
    padding: 1rem;
}

.recipe-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.875rem;
}

.recipe-stats {
    display: flex;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-icon {
    color: #b40000;
}

.quick-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #b40000;
    color: #b40000;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #b40000;
    color: white;
}
body {
    background-color: #e6f0ff;
  }
  
  body.loading main,
  body.loading footer {
    opacity: 0;
  }
  
  body.content-visible main,
  body.content-visible footer {
    opacity: 1;
    transition: opacity 0.8s ease;
  }
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .recipe-scroll {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}