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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

header {
    background: #2c5f2d;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1rem;
    opacity: 0.9;
}

nav {
    background: #97be5a;
    padding: 1rem 0;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.recipe-card {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recipe-card h2 {
    color: #2c5f2d;
    margin-bottom: 1rem;
}

.recipe-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.recipe-link {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.2s;
}

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

.recipe-link h3 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
}

.cost-badge {
    background: #97be5a;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.ingredients, .instructions {
    margin: 1.5rem 0;
}

.ingredients ul, .instructions ol {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.ingredients li, .instructions li {
    margin: 0.5rem 0;
}

.affiliate-box {
    background: #f0f8ff;
    border-left: 4px solid #2c5f2d;
    padding: 1rem;
    margin: 1.5rem 0;
}

.affiliate-box h4 {
    color: #2c5f2d;
    margin-bottom: 0.5rem;
}

.affiliate-link {
    color: #2c5f2d;
    font-weight: 500;
}

footer {
    background: #2c5f2d;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

footer a {
    color: #97be5a;
}
