/* assets/css/style.css */
/* Warme, bak-achtige kleuren en eenvoudige, moderne stijl */

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff8f3;
    color: #5a3e2b;
    margin: 0;
    padding: 0;
}

header {
    background: #f7c59f;
    box-shadow: 0 2px 8px rgba(90,62,43,0.05);
    padding: 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #a0522d;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #5a3e2b;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #d2691e;
}

.site-footer {
    background: #f7c59f;
    color: #5a3e2b;
    text-align: center;
    padding: 1.2rem 0 1rem 0;
    font-size: 1rem;
    margin-top: 2rem;
}

h1, h2, h3 {
    color: #a0522d;
    margin-top: 0;
}

.btn {
    display: inline-block;
    background: #d2691e;
    color: #fff;
    padding: 0.7em 1.5em;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    margin: 0.5em 0.5em 0.5em 0;
    text-decoration: none;
    transition: background 0.2s;
}

.btn:hover {
    background: #a0522d;
}

.recepten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.recept-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(90,62,43,0.07);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

.recept-card:hover {
    box-shadow: 0 4px 20px rgba(90,62,43,0.13);
}

.recept-card img {
    width: 100%;
    max-width: 220px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.recept-card h3 {
    margin-bottom: 0.5rem;
}

.recept-card p {
    margin-bottom: 1rem;
}

@media (max-width: 700px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        align-items: flex-start;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    .main-nav .btn {
        margin-top: 1rem;
    }
    .recepten-grid {
        grid-template-columns: 1fr;
    }
    .site-footer {
        font-size: 0.95rem;
        padding: 0.8rem 0 0.7rem 0;
    }
    .cookie-banner {
        font-size: 1rem;
        padding: 0.7rem;
    }
}

/* Cookiebanner mobiel extra */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f7c59f;
    color: #5a3e2b;
    padding: 1rem;
    text-align: center;
    z-index: 9999;
    font-size: 1.1rem;
}

/* Extra stijlen voor leesbaarheid en zachte uitstraling */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 1rem 1rem;
}

ul, ol {
    padding-left: 1.5em;
}

img.profielfoto {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #f7c59f;
    margin-bottom: 1rem;
}

    /* Admin dashboard table styling */
    @media print {
        body, html {
            background: #fff !important;
            color: #000 !important;
        }
        header, .site-footer, nav.main-nav, .btn, a.btn, button.btn, .logo, main, .cookie-banner {
            display: none !important;
        }
        #recept-print {
            max-width: 700px;
            margin: 0 auto;
            color: #000;
        }
        #recept-print img {
            display: block;
            margin: 0 auto 1.5rem auto;
            max-width: 320px;
            border-radius: 10px;
        }
        #recept-print h1, #recept-print h2 {
            color: #000;
        }
        #recept-print ul, #recept-print ol {
            font-size: 1.1rem;
        }
        #recept-print {
            page-break-after: avoid;
        }
    }
    table {
        width: 100%;
        background: #fff8f3;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(90,62,43,0.08);
        overflow: hidden;
        margin-bottom: 2rem;
    }
    table th, table td {
        padding: 0.8em 1.2em;
        text-align: left;
    }
    table th {
        background: #f7c59f;
        color: #a0522d;
        font-weight: 600;
        border-bottom: 2px solid #d2691e;
    }
    table tr:nth-child(even) td {
        background: #fbeee6;
    }
    table tr:hover td {
        background: #ffe2c6;
    }
    table td {
        border-bottom: 1px solid #f7c59f;
        color: #5a3e2b;
    }

.socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.socials a {
    color: #d2691e;
    font-size: 2rem;
    transition: color 0.2s;
}

.socials a:hover {
    color: #a0522d;
}
