:root {
    /* Color Palette - Warm, Natural, High Contrast */
    --primary-color: #d97706; /* Warm orange that feels energetic yet appetizing */
    --primary-hover: #b45309;
    --secondary-color: #059669; /* Health/Nature green */
    --bg-color: #fffbeb; /* Very soft warm yellow bg */
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --card-bg: #ffffff;
    --border-color: #fce7f3;
    
    /* Card image accents */
    --bg-blue: #bfdbfe;
    --bg-orange: #fed7aa;
    --bg-green: #bbf7d0;
    --bg-yellow: #fef08a;
    --bg-teal: #99f6e4;
    --bg-red: #fecaca;
    --bg-wheat: #f5deb3;
    --bg-pink: #fbcfe8;

    /* Typography */
    --font-family: 'BIZ UDPGothic', 'Inter', sans-serif;
    --base-size: 18px; 
    --radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    font-size: var(--base-size);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1 { font-size: 2.5rem; line-height: 1.3; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 2rem; border-bottom: 3px solid var(--primary-color); padding-bottom: 10px; display: inline-block; }
h3 { font-size: 1.3rem; margin-bottom: 0.8rem; line-height: 1.4; }
p { margin-bottom: 1rem; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 60px 0 80px;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.2);
    margin-bottom: -40px; /* Overlap tabs */
}

/* Tabs */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.tab-btn {
    background-color: var(--card-bg);
    color: var(--text-main);
    border: none;
    padding: 15px 30px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-family);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Alert Box */
.alert-box {
    background-color: #fff7ed;
    border-left: 5px solid #ea580c;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.alert-box p { margin: 0; font-size: 1rem; color: #9a3412; }

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: rgba(0,0,0,0.6);
    font-family: 'Inter', sans-serif;
}
.recipe-card .card-image { font-size: 4rem; }

.bg-blue { background-color: var(--bg-blue); }
.bg-orange { background-color: var(--bg-orange); }
.bg-green { background-color: var(--bg-green); }
.bg-yellow { background-color: var(--bg-yellow); }
.bg-teal { background-color: var(--bg-teal); }
.bg-red { background-color: var(--bg-red); }
.bg-wheat { background-color: var(--bg-wheat); }
.bg-pink { background-color: var(--bg-pink); }

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
    flex-grow: 1;
}

/* Download Buttons */
.download-btn {
    display: inline-block;
    text-align: center;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    transition: background-color 0.3s;
    margin-top: 15px;
}

.download-btn:hover {
    background-color: #047857;
}

.download-btn.outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.download-btn.outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    background-color: #27272a;
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}
.text-center { text-align: center; }

/* Responsive */
@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    .hero { padding: 40px 0 60px; border-bottom-left-radius: 30px; border-bottom-right-radius: 30px; }
    .tabs-container { flex-direction: column; padding: 0 20px; }
    .tab-btn { justify-content: center; }
}
