/*
Theme Name: Manona
Theme URI: https://example.com/manona
Author: Jan van der Meer
Author URI: https://example.com
Description: Een vrolijk, kindvriendelijk WordPress thema voor kinderen onder de 12 jaar.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: manona
Tags: blog, custom-menu, featured-images, responsive-layout, modern, kids, children
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&display=swap');

/* Kleurenschema voor kinderen */
:root {
    --oranje: #FF8C42;
    --oranje-donker: #FF6B1A;
    --lichtgeel: #F6EBD5;
    --geel: #FFE4A3;
    --babyblauw: #93CDE0;
    --babyblauw-donker: #4A8B9F;
    --wit: #FFFFFF;
    --grijs: #666666;
    --donkergrijs: #333333;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--donkergrijs);
    background-color: var(--lichtgeel);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

a {
    color: var(--oranje);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--oranje-donker);
    transform: scale(1.05);
}

/* Layout */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--lichtgeel);
    padding: 25px 0;
}

.site-header .site-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-title {
    font-size: 36px;
    font-weight: 900;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.site-title a {
    color: var(--wit);
    text-decoration: none;
}

.site-title a:hover {
    color: var(--geel);
    transform: scale(1.1);
}

.site-description {
    font-size: 16px;
    color: var(--wit);
    margin-top: 8px;
    font-weight: 600;
}

/* Logo */
.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo {
    max-height: 80px;
    width: auto;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.custom-logo:hover {
    transform: scale(1.05);
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--wit);
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    padding: 12px 24px;
    background-color: var(--babyblauw);
    border-radius: 30px;
    transition: all 0.3s ease;
    display: block;
}

.main-navigation a:hover {
    background-color: var(--babyblauw-donker);
    transform: translateY(-3px) scale(1.05);
}

/* Sub-menu (dropdowns) */
.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--wit);
    border-radius: 20px;
    padding: 15px;
    min-width: 220px;
    z-index: 1000;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
    display: block;
}

.main-navigation .sub-menu li {
    display: block;
    margin: 8px 0;
}

.main-navigation .sub-menu a {
    background-color: var(--geel);
    color: var(--donkergrijs);
    font-size: 18px;
    padding: 10px 18px;
}

.main-navigation .sub-menu a:hover {
    background-color: var(--oranje);
    color: var(--wit);
}

/* Sub-sub-menu (nested dropdowns) */
.main-navigation .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    margin-left: 10px;
}

/* Main Content */
.site-main {
    padding: 50px 0;
    min-height: 60vh;
}

.content-area {
    margin: 0 auto;
}

/* Posts */
.post,
.page {
    margin-bottom: 60px;
    padding: 35px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #E47928;
    text-shadow: 2px 2px 0px var(--geel);
}

.entry-title a {
    color: #E47928;
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--oranje-donker);
}

.entry-meta {
    font-size: 16px;
    color: var(--grijs);
    margin-bottom: 20px;
    padding: 12px 20px;
    background-color: var(--geel);
    border-radius: 16px;
    display: inline-block;
    font-weight: 700;
}

.entry-content {
    font-size: 20px;
    line-height: 1.9;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 900;
    color: var(--oranje);
}

.entry-content h2 {
    font-size: 32px;
}

.entry-content h3 {
    font-size: 26px;
}

.entry-content p {
    margin-bottom: 24px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 24px;
    padding-left: 40px;
    font-size: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content img {
    display: block;
    margin: 35px 0;
}

/* Featured Image */
.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 24px;
    overflow: hidden;
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

/* Pagination */
.pagination {
    margin: 50px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 14px 24px;
    border-radius: 20px;
    color: var(--oranje);
    text-decoration: none;
    font-weight: 900;
    font-size: 20px;
    background-color: var(--wit);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: var(--oranje);
    color: var(--wit);
    transform: translateY(-3px);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--babyblauw) 0%, var(--babyblauw-donker) 100%);
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
    color: var(--wit);
    font-size: 18px;
    font-weight: 700;
}

.footer-content a {
    color: var(--wit);
    font-weight: 900;
}

/* Recept Post Type Styles */

/* Single Recept */
.recept-single .recept-header-image {
    margin: -35px -35px 40px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.recept-single .recept-header-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.recept-meta {
    display: flex;
    gap: 20px;
    margin: 25px 0;
    padding: 25px;
    background-color: var(--wit);
    border-radius: 20px;
    flex-wrap: wrap;
}

.recept-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: var(--donkergrijs);
    font-size: 20px;
}

.recept-meta svg {
    color: var(--oranje);
    width: 28px;
    height: 28px;
}

.recept-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.recept-tags .tag {
    display: inline-block;
    padding: 10px 22px;
    background-color: var(--babyblauw);
    color: var(--wit);
    border-radius: 30px;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recept-tags .tag:hover {
    background-color: var(--babyblauw-donker);
    transform: translateY(-3px) scale(1.05);
}

.recept-description {
    margin: 35px 0;
    padding: 30px;
    background-color: var(--wit);
    border-radius: 20px;
    font-size: 22px;
    font-weight: 700;
}

.recept-video {
    margin: 45px 0;
}

.recept-video h2 {
    margin-bottom: 25px;
    color: #E47928;
    font-size: 36px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.recept-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 45px 0;
}

.recept-section {
    margin: 35px 0;
}

.recept-section h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #E47928;
    padding-bottom: 15px;
    font-weight: 900;
    text-shadow: 2px 2px 0px var(--geel);
}

.ingredients-list {
    background-color: var(--wit);
    padding: 35px;
    border-radius: 20px;
}

.ingredients-list ul,
.ingredients-list ol {
    list-style-position: inside;
    font-size: 20px;
}

.ingredients-list li {
    padding: 12px 0;
    font-weight: 700;
}

.ingredients-list li:last-child {
    border-bottom: none;
}

.preparation-steps {
    line-height: 1.9;
    background-color: var(--wit);
    padding: 35px;
    border-radius: 20px;
    font-size: 20px;
}

.preparation-steps p {
    margin-bottom: 20px;
}

.nutrition-info {
    background-color: var(--wit);
    padding: 35px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
}

.more-info {
    background-color: var(--wit);
    padding: 35px;
    border-radius: 20px;
    font-size: 20px;
}

.more-info a {
    display: block;
    margin: 8px 0;
    color: var(--oranje);
    font-weight: 900;
    font-size: 20px;
}

/* Recept Archive/Grid */
.recept-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    margin: 45px 0;
}

.recept-card {
    background-color: var(--wit);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.recept-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.recept-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.recept-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 0;
}

.recept-card:hover .recept-card-image img {
    transform: scale(1.1);
}

.recept-card-content {
    padding: 30px;
}

.recept-card-title {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 900;
}

.recept-card-title a {
    color: #E47928;
    text-decoration: none;
}

.recept-card-title a:hover {
    color: var(--oranje-donker);
}

.recept-card-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px 0;
    flex-wrap: wrap;
}

.recept-card-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--donkergrijs);
    font-weight: 900;
}

.recept-card-meta svg {
    color: var(--oranje);
    width: 24px;
    height: 24px;
}

.recept-card-excerpt {
    margin: 20px 0;
    color: var(--grijs);
    font-size: 18px;
    line-height: 1.7;
    font-weight: 600;
}

.recept-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.recept-card-tags .tag-small {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--geel);
    color: var(--donkergrijs);
    border-radius: 20px;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recept-card-tags .tag-small:hover {
    background-color: var(--oranje);
    color: var(--wit);
    transform: scale(1.1);
}

.read-more-link {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    background-color: var(--babyblauw);
    color: var(--wit);
    font-weight: 900;
    font-size: 20px;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    background-color: var(--babyblauw-donker);
    transform: translateY(-3px) scale(1.05);
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 20px;
}

.page-header .page-title {
    color: #E47928;
    font-size: 48px;
    margin-bottom: 0;
}

.page-header .page-description {
    color: var(--wit);
    font-size: 20px;
    margin-top: 20px;
    font-weight: 600;
}

/* Tag Filters */
.recept-tag-filters {
    margin: 20px 0;
    padding: 20px 0;
}

.filter-title {
    font-size: 28px;
    font-weight: 900;
    color: #E47928;
    margin-bottom: 25px;
    text-align: center;
}

.tag-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tag-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: var(--babyblauw);
    color: var(--wit);
    border-radius: 30px;
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-filter-btn:hover {
    background-color: var(--babyblauw-donker);
    transform: translateY(-3px) scale(1.05);
}

.tag-filter-btn.active {
    background-color: var(--oranje);
    transform: scale(1.08);
}

.tag-filter-btn.active:hover {
    background-color: var(--oranje-donker);
}

.tag-count {
    font-size: 16px;
    opacity: 0.9;
}

/* Results Info */
.recept-results-info {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background-color: var(--wit);
    border-radius: 16px;
}

.recept-results-info p {
    font-size: 20px;
    font-weight: 700;
    color: var(--donkergrijs);
    margin: 0;
}

.filter-active strong {
    color: var(--oranje);
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--oranje);
    color: var(--wit);
    font-weight: 900;
    font-size: 20px;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: var(--oranje-donker);
    transform: translateY(-3px) scale(1.05);
}

/* Responsive - Mobile First! */
@media (min-width: 768px) {
    body {
        font-size: 18px;
    }

    .site-title {
        font-size: 42px;
    }

    .main-navigation ul {
        gap: 20px;
    }

    .recept-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recept-details-grid {
        grid-template-columns: 1fr 2fr;
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .recept-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra mobile optimalisatie */
@media (max-width: 480px) {
    body {
        font-size: 20px;
    }

    .site-title {
        font-size: 32px;
    }

    .custom-logo {
        max-height: 60px;
    }

    .entry-title {
        font-size: 36px;
    }

    .entry-content {
        font-size: 22px;
    }

    .recept-section h2 {
        font-size: 30px;
    }

    .site-header .site-container {
        flex-direction: column;
        text-align: center;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .main-navigation a {
        font-size: 22px;
        padding: 16px 24px;
    }

    /* Sub-menus altijd zichtbaar op mobiel */
    .main-navigation .sub-menu {
        position: static;
        display: block;
        margin-top: 12px;
        margin-left: 20px;
        width: auto;
        min-width: 0;
    }

    .main-navigation .sub-menu .sub-menu {
        margin-left: 20px;
    }

    .main-navigation .sub-menu a {
        font-size: 20px;
        padding: 14px 20px;
    }

    .post,
    .page {
        padding: 25px;
    }

    .recept-single .recept-header-image {
        margin: -25px -25px 30px;
    }

    .recept-meta {
        flex-direction: column;
        gap: 15px;
    }

    .recept-card-image {
        height: 200px;
    }

    .page-header .page-title {
        font-size: 36px;
    }

    .page-header .page-description {
        font-size: 18px;
    }

    .filter-title {
        font-size: 24px;
    }

    .tag-filter-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .tag-filter-btn {
        width: 100%;
        justify-content: center;
        font-size: 20px;
        padding: 16px 24px;
    }

    .recept-tag-filters {
        padding: 25px;
    }

    .recept-results-info p {
        font-size: 18px;
    }
}

/* Print vriendelijk */
@media print {
    .site-header,
    .site-footer,
    .main-navigation,
    .recept-tags,
    .read-more-link {
        display: none;
    }

    body {
        background-color: white;
    }

    .post,
    .page {
        border: none;
    }
}
