/* --- Globale Reset en Typografie --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #1d3557; /* Donker Blauw */
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: #457b9d; /* Midden Blauw */
    transition: color 0.3s;
}

a:hover {
    color: #a8dadc; /* Lichtblauw */
}

/* --- Header en Navigatie --- */
header {
    background-color: #1d3557; 
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo a h1 {
    color: white;
    font-size: 1.8em;
    margin: 0;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 10px;
}

nav ul li a {
    color: white;
    padding: 8px 15px;
    display: block;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #457b9d; /* Midden Blauw op hover/actief */
    color: white;
}


/* --- Hero Sectie (Homepage en Categorie) --- */
.hero-section {
    background-color: #a8dadc;
    color: #1d3557; 
    text-align: center;
    padding: 100px 20px;
    height: 300px; /* Standaard hoogte voor grote hero */
    position: relative;
    overflow: hidden;
}

.hero-small {
    padding: 50px 20px;
    height: 200px; /* Kleinere hoogte voor categoriepagina's */
}

.hero-section h2 {
    color: #1d3557 !important;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: #e63946; /* Rood/Accent */
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
    border: none; /* toegevoegd voor formulier knoppen */
    cursor: pointer; /* toegevoegd voor formulier knoppen */
}

.cta-button:hover {
    background-color: #c93440;
}

/* --- Breadcrumbs --- */
.breadcrumb-container {
    background-color: #f9f9f9;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 0.9em;
}

.breadcrumb-inner span {
    margin: 0 8px;
    color: #aaa;
}

.breadcrumb-inner a {
    color: #457b9d;
}

.breadcrumb-inner .current-page {
    color: #333;
    font-weight: bold;
}

/* --- Hoofdinhoud Lay-out --- */
.main-content-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    gap: 30px;
}

.product-area {
    flex-grow: 1;
    min-width: 0; 
}

.product-area-full-width {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* --- Product Raster --- */
.product-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 15px 15px 10px 15px; /* FIX: Aangepaste padding voor knop ruimte */
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-bottom: 10px;
    text-align: center;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* FIX: TITEL FLEXIBILITEIT (3 regels) */
.product-info h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; 
    height: auto; 
}

.product-card .price {
    font-size: 1.4em;
    color: #e63946; /* Rood/Accent */
    font-weight: bold;
    margin-bottom: 5px;
}

/* --- DE LEESBAARHEIDS FIX (Product Beschrijving 3 regels) --- */
.product-card .short-desc {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px; /* FIX: Meer ruimte onder de beschrijving */
    
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden; 
    text-overflow: ellipsis; 
}

/* FIX: Detail Link (Knop Styling) */
.product-card .detail-link {
    margin-top: auto; 
    text-align: center;
    padding: 10px 15px; /* FIX: Iets hogere knop */
    margin-bottom: 5px; /* FIX: Ruimte onder de knop */
    background-color: #457b9d;
    color: white;
    border-radius: 5px;
    font-weight: normal;
}

.product-card .detail-link:hover {
    background-color: #386684;
}

.search-further-container {
    text-align: center;
    padding: 40px 20px;
    background-color: #eee;
    margin-top: 30px;
    border-radius: 8px;
}

/* --- Sidebar / Filters --- */
.sidebar {
    width: 250px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    align-self: flex-start; 
}

.sidebar h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
    border-bottom: 2px solid #a8dadc;
    padding-bottom: 5px;
}

.filter-list {
    list-style: none;
    margin-bottom: 30px;
}

.main-cat-item {
    margin-bottom: 15px;
}

.main-cat-link {
    display: block;
    font-weight: bold;
    color: #1d3557;
    padding: 5px 0;
    transition: color 0.2s;
}

.main-cat-link:hover {
    color: #e63946;
}

.sub-filter-list {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
}

.sub-filter-list li {
    margin: 5px 0;
}

.sub-cat-link {
    display: block;
    color: #457b9d;
    font-size: 0.95em;
    transition: background-color 0.2s, color 0.2s;
    padding: 3px 0;
}

.sub-cat-link:hover,
.sub-cat-link.active-filter {
    color: #e63946;
    font-weight: bold;
}

/* Prijs Filter */
.filter-box {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.filter-box h4 {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.filter-box p {
    margin: 10px 0;
    font-weight: bold;
}

.filter-button {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.filter-button.active-filter {
    background-color: #1d3557;
}

/* --- Footer --- */
footer {
    background-color: #1d3557; 
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9em;
}

footer a {
    color: #a8dadc; 
    margin: 0 5px;
}

footer a:hover {
    color: white;
}

.footer-links {
    margin-top: 10px;
}

/* --- SEO Content Sectie (Homepage) --- */
.seo-content-section {
    background-color: white;
    padding: 40px 0;
    margin-top: 30px;
    border-top: 1px solid #ddd;
}

.seo-content-section .content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.seo-content-section h2 {
    color: #e63946; 
    margin-bottom: 20px;
    text-align: center;
}

.seo-content-section p {
    margin-bottom: 15px;
}

.seo-content-section h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #457b9d; 
    border-left: 4px solid #a8dadc;
    padding-left: 10px;
}

.seo-content-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.seo-content-section ul li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.seo-content-section ul li::before {
    content: "🎁";
    position: absolute;
    left: 0;
    color: #e63946;
}

.seo-content-section ul li strong {
    color: #1d3557;
}

/* --- Contact Pagina Stijlen --- */

.main-content-wrapper.contact-page {
    max-width: 800px; 
    display: block; 
}

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #1d3557;
}

.contact-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #666;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #457b9d; 
    outline: none;
}

.contact-form textarea {
    resize: vertical; 
}

.form-submit-button {
    width: 100%; 
    padding: 15px;
    font-size: 1.1em;
    margin-top: 10px;
}

/* --- Blog Pagina Stijlen --- */

.main-content-wrapper.blog-page-layout {
    display: block;
    max-width: 1000px;
}

.blog-articles-list {
    padding: 20px;
}

.blog-articles-list h1 {
    text-align: center;
    color: #e63946;
    margin-bottom: 5px;
}

.blog-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    color: #666;
}

.blog-post-summary {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.blog-post-summary h2 {
    font-size: 1.8em;
    color: #1d3557;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 0.9em;
    color: #a8dadc;
    margin-bottom: 15px;
    font-weight: bold;
}

.read-more-button {
    margin-top: 15px;
    padding: 8px 20px;
    font-size: 0.9em;
    float: right;
}

.blog-post-summary p:after {
    content: "";
    display: block;
    clear: both; 
}

/* --- Volledig Artikel Stijlen (Artikel-1.html) --- */

.full-blog-post {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.intro-paragraph {
    font-size: 1.15em;
    line-height: 1.8;
    color: #1d3557;
    border-bottom: 2px dashed #f4f4f4;
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-weight: 500;
}

.full-blog-post h2 {
    color: #e63946; /* Rood Accent */
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.full-blog-post h3 {
    color: #457b9d; /* Midden Blauw */
    margin-top: 20px;
}

.full-blog-post ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 25px;
}

.conclusion-summary {
    font-weight: bold;
    font-style: italic;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #a8dadc;
    margin-top: 30px;
}

.full-blog-post .cta-button {
    margin: 20px 0;
    display: table;
}

/* --- Media Queries (Responsiveness) --- */

/* Tablet & Kleinere Schermen (tot 900px) */
@media (max-width: 900px) {
    .product-grid-container,
    .product-area-full-width .product-grid-container {
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* Mobiel (vanaf 768px en kleiner) */
@media (max-width: 768px) {
    .main-content-wrapper {
        flex-direction: column; 
        padding: 0;
        gap: 0; 
    }
    
    .sidebar {
        width: 100%;
        margin-bottom: 20px;
        order: -1; 
        padding: 20px;
        border-radius: 0; 
    }

    .product-area {
        padding: 0 20px;
    }
    
    .product-grid-container,
    .product-area-full-width .product-grid-container {
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
    }

    header {
        flex-direction: column;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 10px;
    }
}

/* Zeer kleine telefoons */
@media (max-width: 480px) {
    .product-grid-container,
    .product-area-full-width .product-grid-container {
        grid-template-columns: 1fr; /* Terug naar 1 kolom */
    }
}