/* Nutrition Guide Styles */

/* Hero Section */
.nutrition-guide-hero {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: #fff;
}

.nutrition-guide-hero__content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtext {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: #ddd;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #e74c3c;
    color: #fff;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* Quick Filters */
.quick-filters {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.filter-category {
    margin-bottom: 2.5rem;
}

.filter-category:last-child {
    margin-bottom: 0;
}

.filter-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-chip {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 2px solid #ddd;
    background-color: #fff;
    color: #666;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-chip:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.filter-chip.active {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

/* Featured Collections */
.featured-collections {
    padding: 80px 0;
    background-color: #fff;
}

.featured-collections h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #000;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.collection-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.collection-card__image {
    position: relative;
    height: 280px;
    background-color: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    padding: 0px;
}

.collection-card:hover .collection-card__image img {
    transform: scale(1.05);
}

.collection-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.collection-card__overlay i {
    font-size: 4rem;
    color: #e74c3c;
}

.collection-card__content {
    padding: 1.5rem;
    background-color: #fff;
}

.collection-card__content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
}

.collection-card__content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.recipe-count {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Trending Recipes */
.trending-recipes {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.trending-recipes h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #000;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.recipe-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.recipe-card__image {
    position: relative;
    height: 220px;
    background-color: #000;
    overflow: hidden;
}

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

.recipe-card:hover .recipe-card__image img {
    transform: scale(1.05);
}

.recipe-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #e74c3c;
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.recipe-card__content {
    padding: 1.5rem;
}

.recipe-card__content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.recipe-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.recipe-meta i {
    color: #e74c3c;
}

.recipe-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Compliance Footer */
.compliance-footer {
    padding: 40px 0;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
}

.compliance-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.compliance-content p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

.disclaimer-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.disclaimer-link:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nutrition-guide-hero {
        padding: 80px 0 60px;
    }

    .nutrition-guide-hero__content h1 {
        font-size: 2.5rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .featured-collections h2,
    .trending-recipes h2 {
        font-size: 2rem;
    }

    .collections-grid,
    .recipes-grid {
        grid-template-columns: 1fr;
    }

    .filter-chips {
        gap: 0.5rem;
    }

    .filter-chip {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .recipes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}