/* Diet Grocery List Companion specific styles */

/* Center all section headings */
h2 {
    text-align: center;
}

/* Hero section styling */
.tool-hero {
    text-align: center;
    padding: 3rem 0;
}

.tool-hero .hero-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 300px;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 16px;
}

.tool-hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw + 0.5rem, 3.5rem);
    color: var(--abyss);
}

.tool-hero p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--slate);
    font-size: 1.1rem;
    line-height: 1.6;
}

.diet-options {
    padding: 3rem 0;
}

.diet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.diet-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.diet-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.diet-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.diet-card h3 {
    color: var(--abyss);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.diet-card p {
    color: var(--slate);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.diet-link {
    display: inline-block;
    background: var(--brand-blue-500);
    color: var(--clean);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.diet-link:hover {
    background: var(--royal);
    color: var(--clean);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .tool-hero {
        padding: 2rem 0;
        text-align: left;
    }
    
    .tool-hero h1 {
        font-size: clamp(1.75rem, 4.5vw + 0.5rem, 2.5rem);
    }
    
    .diet-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .diet-card {
        padding: 1.5rem;
    }
    
    .diet-icon {
        font-size: 2.5rem;
    }
}

.tool-instructions {
    padding: 3rem 0;
}

.tool-instructions h2 {
    text-align: center;
}

.sample-lists {
    padding: 3rem 0;
}

.meal-ideas {
    padding: 3rem 0;
}

.meal-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.meal-card {
    background: var(--white-80);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.meal-card:hover {
    transform: translateY(-2px);
    background: var(--clean);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.meal-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.meal-card h3 {
    color: var(--abyss);
    margin-bottom: 1rem;
    text-align: center;
}

.meal-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.meal-card li {
    color: var(--slate);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}


@media (max-width: 768px) {
    .meal-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .meal-image {
        height: 100px;
    }
    
    .tool-instructions {
        padding: 0;
    }
}
