/* --- STIJLEN VOOR DETAILPAGINA (recipe-detail.html) --- */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: #333;
    margin: 0;
    padding: 20px;
}

.back-link-container {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 10px;
}
.back-link-container a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}

.recipe-container {
    max-width: 900px;
    margin: 10px auto;
    background-color: #ffffff;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.recipe-container h1, .recipe-container h2 {
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}
.recipe-container h1 {
    text-align: center;
    margin-top: 0;
}

.recipe-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.recipe-description {
    font-size: 1.1rem;
    text-align: center;
    color: #555;
    margin: 1.5rem 0;
}

.recipe-meta {
    display: flex;
    justify-content: space-around;
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.recipe-scaler { margin-bottom: 1.5rem; text-align: center; }
.recipe-scaler label { font-weight: bold; margin-right: 10px; }
.recipe-scaler input[type="number"] { width: 60px; padding: 8px; font-size: 1rem; border: 1px solid #ddd; border-radius: 5px; text-align: center; }

.recipe-columns { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .recipe-columns { grid-template-columns: 1fr 2fr; } }

.recipe-ingredients ul { list-style: none; padding: 0; }
.recipe-ingredients li { padding: 10px 0; border-bottom: 1px solid #ecf0f1; }
.recipe-ingredients .amount { font-weight: bold; color: #e74c3c; margin-right: 10px; }

.recipe-preparation ol { padding-left: 20px; }
.recipe-preparation li { margin-bottom: 12px; }


/* --- (NIEUW) STIJLEN VOOR OVERZICHTSPAGINA (index.html) --- */

.recipe-overview-container {
    max-width: 1200px;
    margin: 20px auto;
}
.recipe-overview-container h1 {
    text-align: center;
    color: #2c3e50;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.filter-container input,
.filter-container select {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 200px;
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.recipe-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.recipe-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recipe-card-content {
    padding: 1rem 1.5rem;
}

.recipe-card-content h3 {
    margin-top: 0;
    color: #2c3e50;
}