/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- Globale Reset voor Box Model --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ==========================================================================
   1. Algemene Stijlen & Variabelen
   ========================================================================== */
:root {
    --primary-color: #F9A826; /* Oranje kleur van het logo */
    --secondary-color: #FFFFFF;
    --background-color: #F4F4F4;
    --text-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden; /* Voorkomt horizontaal scrollen */
}

h1, h2, h3 {
    color: var(--text-color);
    font-weight: 700;
}

/* ==========================================================================
   2. Basis Layout Structuur (Header, Navigatie, Content)
   ========================================================================== */
header {
    background-color: var(--primary-color);
    padding: 10px 40px;
    box-shadow: 0 2px 4px var(--shadow-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    max-width: 200px;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.content {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px var(--shadow-color);
}

/* --- Desktop Navigatie (in Header) --- */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.sidebar ul li a {
    display: block;
    padding: 10px 15px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.sidebar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* --- Mobiele Navigatie --- */
.mobile-menu-toggle { display: none; background-color: var(--primary-color); color: var(--secondary-color); padding: 10px 20px; text-align: center; cursor: pointer; font-weight: 600; }
.mobile-menu { display: none; }
.mobile-menu.open { display: block; background-color: var(--primary-color); }

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   3. Algemene Componenten (Knoppen, Alerts, Modals)
   ========================================================================== */

/* --- Knoppen & Formulieren --- */
button, .button, input[type="submit"] {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-family);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover, .button:hover, input[type="submit"]:hover {
    background-color: #e0941f;
    transform: translateY(-2px);
}

input[type="text"], input[type="password"], input[type="email"], input[type="tel"], input[type="number"], textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    margin-bottom: 15px;
    font-family: var(--font-family);
}

/* --- Alerts --- */
.alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 8px; }
.alert-success { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; }
.alert-error { color: #a94442; background-color: #f2dede; border-color: #ebccd1; }
.alert-warning { color: #8a6d3b; background-color: #fcf8e3; border-color: #faebcc; }

/* --- Lightbox & Modals --- */
.lightbox-overlay, .modal-overlay { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.85); justify-content: center; align-items: center; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-content, .modal-content { position: relative; background-color: #fefefe; margin: auto; padding: 20px; border-radius: 8px; max-width: 90%; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.lightbox-content { display: flex; justify-content: center; align-items: center; flex-direction: column; max-height: 90%; }
.modal-content { max-width: 500px; padding: 25px 30px; }
.lightbox-content img { max-width: 100%; max-height: 80vh; display: block; margin-bottom: 15px; border-radius: 4px; }
.lightbox-caption { color: #555; font-size: 1.1em; text-align: center; }
.lightbox-close, .modal-close { color: #aaa; position: absolute; top: 10px; right: 25px; font-size: 35px; font-weight: bold; cursor: pointer; transition: 0.3s; z-index: 1002; }
.lightbox-close:hover, .lightbox-close:focus, .modal-close:hover, .modal-close:focus { color: #000; }
.lightbox-prev, .lightbox-next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -22px; color: white; font-weight: bold; font-size: 20px; transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none; background-color: rgba(0,0,0,0.3); z-index: 1001; }
.lightbox-prev { left: 0; border-radius: 3px 0 0 3px; }
.lightbox-next { right: 0; border-radius: 0 3px 3px 0; }
.lightbox-prev:hover, .lightbox-next:hover { background-color: rgba(0,0,0,0.8); }
.lightbox-controls { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); background-color: rgba(0,0,0,0.5); border-radius: 5px; padding: 5px; z-index: 1001; }
.lightbox-play-pause { cursor: pointer; color: white; font-size: 20px; padding: 5px 10px; }

/* ==========================================================================
   4. Pagina-Specifieke Stijlen
   ========================================================================== */

/* --- 4.1 Homepagina --- */
.page-content-wrapper .content-block::after { content: ""; display: table; clear: both; }
.content-block p { font-size: 1.1em; line-height: 1.7; white-space: pre-wrap; }
.layout-full_width img { width: 100%; height: auto; margin-bottom: 25px; }
.layout-align_left { float: left; max-width: 50%; margin-right: 20px; margin-bottom: 15px; }
.layout-align_right { float: right; max-width: 50%; margin-left: 20px; margin-bottom: 15px; }

/* Home - Uitgelicht Items */
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; align-items: start; margin-bottom: 30px; }
.featured-item { background-color: #fff; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 1px solid #ddd; overflow: hidden; }
.featured-grid .width-wide { grid-column: 1 / -1; }
.featured-card { display: block; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.featured-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.featured-card .card-image { width: 100%; height: 250px; object-fit: cover; display: block; }
.featured-card .card-content { padding: 20px; }
.featured-card h3 { margin-top: 0; color: var(--primary-color); font-size: 1.5em; }
.featured-card .card-type-label { position: absolute; top: 15px; left: 15px; background-color: rgba(0, 0, 0, 0.6); color: white; padding: 5px 10px; border-radius: 5px; font-size: 0.8em; font-weight: 600; }
.featured-text-block { padding: 25px 30px; }
.featured-text-block h2 { margin-top: 0; color: var(--primary-color); }
.featured-image-block { display: flex; gap: 20px; }
.featured-image-block .image-part img { max-width: 100%; display: block; height: 100%; object-fit: cover; }
.featured-image-block .text-part { padding: 25px; flex: 1; }
.featured-image-block .text-part h2 { margin-top: 0; }
.featured-image-block.image-pos-top { flex-direction: column; }
.featured-image-block.image-pos-bottom { flex-direction: column-reverse; }
.featured-image-block.image-pos-left { flex-direction: row; }
.featured-image-block.image-pos-right { flex-direction: row-reverse; }
.featured-image-block.image-pos-left .image-part,
.featured-image-block.image-pos-right .image-part { flex: 0 0 40%; }

/* Home - Admin Paneel */
#admin-section { margin-top: 40px; border-top: 2px solid #eee; padding-top: 20px; }
.admin-block { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 10px; }
.admin-block-content { flex-grow: 1; display: flex; align-items: center; gap: 10px; }
.admin-block-content img { max-width: 80px; height: auto; border-radius: 4px; }
.admin-block-controls { display: flex; gap: 8px; flex-shrink: 0; }
.admin-block-controls a { text-decoration: none; color: white; font-weight: bold; font-size: 1.1em; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 5px; transition: transform 0.2s; }
.admin-block-controls a:hover { transform: scale(1.1); }
.admin-block-controls .move-up { background-color: #5bc0de; }
.admin-block-controls .move-down { background-color: #f0ad4e; }
.admin-block-controls .delete { background-color: #d9534f; }
.admin-block-controls .edit { background-color: #777; }
.admin-block-controls .edit:hover { background-color: #555; }
.admin-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 20px; }
.upload-form label { display: block; margin-top: 10px; font-weight: 600; }


/* --- 4.2 Fotogalerij --- */
.breadcrumb { margin-bottom: 20px; font-size: 1.2em; font-weight: 600; }
.breadcrumb a { text-decoration: none; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.album-card, .day-card { text-decoration: none; color: var(--text-color); display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px var(--shadow-color); transition: transform 0.2s; }
.album-card:hover, .day-card:hover { transform: translateY(-5px); }
.card-thumbnail { width: 100%; height: 180px; object-fit: cover; background-color: #f0f0f0; }
.card-title { padding: 15px; margin: 0; text-align: center; background-color: #fff; }
/* --- 4.8 Fotogalerij: Raster en Admin Functionaliteit --- */
/* Deze sectie vervangt alle voorgaande stijlen voor .photo-container, .photo-caption, etc. */

.photo-gallery-grid.item-grid {
    gap: 15px; 
}

/* De container van de foto, die vierkant en klikbaar is */
.photo-container {
    position: relative; 
    display: block;      
    cursor: pointer;     
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 0; 
    /* NIEUW: Zorgt ervoor dat de admin-onderdelen correct meebewegen */
    display: flex;
    flex-direction: column;
}

/* De afbeelding zelf, vult de beschikbare ruimte */
.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* NIEUW: Zorgt dat de afbeelding boven de admin-editor groeit */
    flex-grow: 1;
    min-height: 0; /* Voorkomt een bug in flexbox */
}

.photo-container:hover img {
    transform: scale(1.1);
}

/* Het bijschrift voor bezoekers (de overlay op de foto) */
.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: white;
    padding: 25px 10px 8px 10px;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.photo-container:hover .photo-caption {
    opacity: 1;
}

/* --- Stijlen voor de admin-knoppen onder de foto --- */

.photo-admin-controls {
    padding: 10px;
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-top: none; 
    border-radius: 0 0 8px 8px; /* Alleen de onderste hoeken afronden */
}

.caption-form {
    display: flex;
    gap: 8px; /* Ruimte tussen textarea en knop */
    margin-bottom: 8px;
    align-items: flex-start; /* Lijn bovenkanten van textarea en knop uit */
}

.caption-form textarea {
    width: 100%;
    flex-grow: 1; /* Zorgt dat het tekstveld meegroeit */
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 13px;
    min-height: 38px; /* Geeft een consistente starthoogte */
}

.caption-form button {
    padding: 8px 12px;
    font-size: 0.8em;
    flex-shrink: 0; /* Voorkomt dat de knop krimpt */
}

.secondary-controls {
    display: flex;
    justify-content: space-between; /* Plaatst 'Verwijder' links en 'Selecteer' rechts */
    align-items: center;
    padding-top: 8px;
    border-top: 1px dashed #ddd; /* Subtiel lijntje om de secties te scheiden */
    margin-top: 5px;
}

.secondary-controls .delete-link {
    color: #c9302c;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 0.8em;
    text-decoration: none;
    font-weight: 600;
}
.secondary-controls .delete-link:hover {
    text-decoration: underline;
}

.secondary-controls .select-label {
    font-size: 0.8em;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px; /* Ruimte tussen checkbox en tekst */
}
/* Wrapper voor een foto en zijn admin-knoppen */
.photo-admin-wrapper {
    display: flex;
    flex-direction: column;
}

/* De container van de foto (ongewijzigd) */
.photo-container {
    position: relative; 
    display: block;      
    cursor: pointer;     
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px 8px 0 0; /* Alleen bovenhoeken afronden */
    background-color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 0; 
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* --- NIEUW: Stijlen voor de admin-knoppen onder de foto --- */
.photo-admin-controls {
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background-color: #f9f9f9;
    position: relative; /* Behoud voor context, maar geen overlap meer */
}

.caption-form {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-items: flex-start;
}

.caption-form textarea {
    width: 100%;
    flex-grow: 1;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 13px;
    min-height: 38px;
}

.caption-form button {
    padding: 8px 12px;
    font-size: 0.8em;
    flex-shrink: 0;
}

.secondary-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
}

.secondary-controls .delete-link {
    color: #d9534f;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}
.secondary-controls .delete-link:hover {
    color: #a94442;
}

.secondary-controls .select-label {
    color: #555;
}
/* --- 4.3 Videogalerij --- */
.video-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.video-item { position: relative; border: 1px solid #ddd; border-radius: 8px; padding: 10px; background-color: #fff; box-shadow: 0 2px 5px var(--shadow-color); }
.video-item video { width: 100%; height: auto; border-radius: 4px; background-color: #000; }
.video-item .caption { font-weight: 600; margin-top: 10px; text-align: center; word-break: break-word; }
.delete-video-btn { background-color: #dc3545; color: white; position: absolute; top: 15px; right: 15px; border: none; border-radius: 50%; cursor: pointer; width: 30px; height: 30px; font-size: 16px; line-height: 30px; text-align: center; font-weight: bold; opacity: 0.8; transition: opacity 0.3s, background-color 0.3s; z-index: 10; }
.delete-video-btn:hover { background-color: #c82333; opacity: 1; }
.youtube-embed-container { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; background-color: #000; border-radius: 4px; }
.youtube-embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* --- 4.4 Webshop --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 20px; }
.product-card { border: 1px solid #ddd; border-radius: 8px; padding: 15px; background-color: #fff; box-shadow: 0 2px 5px var(--shadow-color); position: relative; display: flex; flex-direction: column; }
.product-card img { max-width: 100%; height: 200px; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.product-card h3 { font-size: 1.2em; font-weight: bold; margin-bottom: 5px; }
.product-card .price { font-size: 1.1em; color: #28a745; margin-bottom: 10px; font-weight: bold; }
.product-card .description { font-size: 0.9em; color: #666; margin-bottom: 15px; flex-grow: 1; }
.order-controls { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.order-controls input[type="number"] { width: 60px; padding: 8px; }
.delete-product-btn { background-color: #dc3545; position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; color: white; font-weight: bold; text-align: center; line-height: 28px; padding: 0; font-size: 16px; cursor: pointer; border: none; opacity: 0.8; }
.delete-product-btn:hover { opacity: 1; background-color: #c82333; }
.edit-product-btn { background-color: #777; position: absolute; top: 10px; right: 45px; width: 28px; height: 28px; border-radius: 50%; color: white; font-weight: bold; text-align: center; line-height: 28px; padding: 0; font-size: 16px; cursor: pointer; border: none; opacity: 0.8; text-decoration: none; transition: all 0.3s; }
.edit-product-btn:hover { opacity: 1; background-color: #555; }
.modal-form label { display: block; margin-bottom: 5px; font-weight: 600; }
.modal-form button { width: 100%; padding: 12px; margin-top: 10px; background-color: #5cb85c; font-size: 16px; }
.modal-form button:hover { background-color: #4cae4c; }
.product-card-clickable { cursor: pointer; }
#detailsModal .modal-gallery { display: flex; flex-direction: column; gap: 10px; }
#detailsModal .main-image-container { text-align: center; margin-bottom: 10px; }
#detailsModal .main-image-container img { max-width: 100%; max-height: 60vh; border-radius: 8px; }
#detailsModal .thumbnail-container { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
#detailsModal .thumbnail-container img { width: 80px; height: 80px; object-fit: cover; cursor: pointer; border-radius: 4px; border: 2px solid transparent; transition: border-color 0.3s; }
#detailsModal .thumbnail-container img:hover, #detailsModal .thumbnail-container img.active { border-color: var(--primary-color); }

/* --- 4.5 Downloads & Aanvragen --- */
.download-item { background: #f9f9f9; padding: 15px; border-radius: 8px; margin-bottom: 15px; border: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.download-item .file-info { font-weight: 600; font-size: 1.1em; flex-grow: 1; align-self: center; }
.download-item .download-preview-image { width: 70px; height: 100px; object-fit: cover; border-radius: 4px; margin-right: 20px; border: 1px solid #eee; background-color: #fff; }
.download-request-form { margin-top: 10px; width: 100%; display: flex; gap: 10px; align-items: center; }
.download-request-form input[type="email"] { width: 100%; max-width: 300px; margin-bottom: 0; }
.admin-controls { width: 100%; text-align: right; margin-top: 10px; }
.delete-file-btn { background-color: #dc3545; color: white; padding: 5px 10px; font-size: 0.8em; border-radius: 5px; border:none; cursor:pointer; margin-left: 20px; }
.requests-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.requests-table th, .requests-table td { border: 1px solid #ddd; padding: 12px; text-align: left; }
.requests-table th { background-color: #f2f2f2; }
.requests-table tr:nth-child(even) { background-color: #f9f9f9; }
.action-btn { display: inline-block; padding: 5px 10px; color: white; text-decoration: none; border-radius: 5px; font-size: 0.9em; }
.btn-approve { background-color: #5cb85c; }
.btn-deny { background-color: #d9534f; margin-left: 5px; }

/* --- 4.6 Over Ons --- */
.members-container { display: flex; flex-direction: column; gap: 30px; }
.member-card { display: flex; gap: 20px; background-color: #f9f9f9; padding: 20px; border-radius: 8px; border: 1px solid #eee; align-items: flex-start; }
.member-card .member-photo { flex: 0 0 150px; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; }
.member-card .member-info { flex: 1; }
.member-card h3 { margin-top: 0; }

/* --- Login & Logout Knoppen --- */
.sidebar ul li a[href*="login.php"],
.sidebar ul li a[href*="logout.php"] {
    color: var(--secondary-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.sidebar ul li a[href*="login.php"] {
    background-color: #5cb85c;
}
.sidebar ul li a[href*="login.php"]:hover {
    background-color: #4cae4c;
    transform: translateY(-1px);
}
.sidebar ul li a[href*="logout.php"] {
    background-color: #d9534f;
}
.sidebar ul li a[href*="logout.php"]:hover {
    background-color: #c9302c;
    transform: translateY(-1px);
}

/* ==========================================================================
   5. Footer
   ========================================================================== */
.site-footer { background-color: #333; color: #fff; text-align: center; padding: 30px 20px; margin-top: 50px; }
.site-footer p { margin: 0; font-size: 0.9em; }
.social-media-links { margin-bottom: 20px; }
.social-media-links a { color: #fff; text-decoration: none; font-size: 1.8em; margin: 0 15px; transition: color 0.3s ease; }
.social-media-links a:hover { color: var(--primary-color); }

/* ==========================================================================
   6. Responsive Design
   ========================================================================== */
@media (max-width: 991px) {
    .container { flex-direction: column; padding: 0 15px; margin-top: 20px; }
    .sidebar { display: none; } /* Verbergt het desktopmenu op mobiel */
    .mobile-menu-toggle { display: block; }
    .content { padding: 20px; }
    .admin-forms { grid-template-columns: 1fr; }
    .layout-align_left, .layout-align_right { float: none; max-width: 100%; margin-left: 0; margin-right: 0; }
    .featured-grid .width-wide { grid-column: span 1; }
}

@media (max-width: 767px) {
    .member-card { 
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
    }
    /* Responsive tables, zoals op de admin pagina's */
.requests-table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.requests-table tr {
    border: 1px solid #ddd;
    border-radius: 8px;
    display: block;
    margin-bottom: .625em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.requests-table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
    padding: .625em;
}

.requests-table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
}

.requests-table td:last-child {
    border-bottom: 0;
}

/* Specifieke aanpassing voor de actieknoppen */
.requests-table td[data-label="Acties"] {
    text-align: center;
}
.requests-table td[data-label="Acties"] a,
.requests-table td[data-label="Acties"] form {
    display: inline-block;
    margin: 5px;
}

    /* Fix voor admin control knoppen op mobiel */
    .admin-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .admin-block-controls {
        flex-wrap: wrap;
    }
}

/* Stijlen voor de Aanpas/Verwijder knoppen op Over Ons */
.admin-controls-member {
    margin-top: 15px;
    font-size: 0.9em;
}
.admin-controls-member a {
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 10px;
}
.admin-controls-member .edit-link {
    background-color: #f0ad4e;
    color: white;
}
.admin-controls-member .delete-link {
    background-color: #d9534f;
    color: white;
}

/* --- Stijl voor de "Naar Boven"-knop --- */
#scrollToTopBtn {
    display: none; /* Standaard verborgen */
    position: fixed; /* Blijft op dezelfde plek op het scherm */
    bottom: 30px;
    right: 30px;
    z-index: 99; /* Zorgt dat de knop boven andere content staat */
    border: none;
    outline: none;
    background-color: var(--primary-color); /* Gebruikt uw thema-kleur */
    color: white;
    cursor: pointer;
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Maakt de knop perfect rond */
    font-size: 22px;
    line-height: 50px; /* Centreert het pijltje verticaal */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #e0941f; /* Iets donkerder oranje bij hover */
}

/* --- 4.7 Reisverhalen --- */
.travel-story-detail .story-main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 25px;
}

.story-intro-text {
    font-size: 1.2em;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.story-meta {
    font-size: 0.9em;
    color: #888;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.story-content-blocks h2 {
    margin-top: 40px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.story-block-item {
    margin-bottom: 25px;
}

.story-block-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.travel-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}
/* --- 4.9 Admin Dashboard --- */
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.dashboard-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dashboard-card .card-value {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.dashboard-card .card-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.dashboard-card .card-label {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 5px;
}

.dashboard-card small {
    color: #777;
    font-size: 0.9em;
}

.dashboard-card.status-pending {
    border-left: 5px solid #f0ad4e; /* Oranje accent voor actiepunten */
}

.dashboard-card.status-pending .card-value {
    color: #d9534f; /* Rood voor de cijfers die aandacht vragen */
}

.dashboard-card.info-card .card-value {
    color: #5bc0de; /* Blauw accent voor algemene info */
}
/* --- 4.10 Admin - Reisverhaal Blokken --- */
#contentBlocksContainer {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden; /* Zorgt dat de rounded corners werken */
}

.content-block-item {
    display: grid;
    grid-template-columns: 150px 1fr auto; /* Kolommen voor Type, Preview, en Knoppen */
    gap: 20px;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.content-block-item:last-child {
    border-bottom: none;
}

.content-block-item .block-info strong {
    font-weight: 600;
    font-size: 1.1em;
}

.content-block-item .block-info small {
    display: block;
    font-size: 0.8em;
    color: #777;
}

.content-block-item .block-preview {
    font-size: 0.9em;
    color: #555;
    font-style: italic;
    max-height: 60px;
    overflow: hidden;
}

.content-block-item .block-preview img {
    max-width: 100px;
    max-height: 60px;
    object-fit: cover;
    border-radius: 4px;
    vertical-align: middle;
}

.content-block-item .block-controls {
    display: flex;
    gap: 10px;
}

.content-block-item .block-controls .edit-block-btn {
    background-color: #f0ad4e;
    padding: 8px 12px;
}

.content-block-item .block-controls .delete-block-btn {
    background-color: #d9534f; /* Rode verwijderknop */
    padding: 8px 12px;
}
/* --- NIEUW: Stijlen voor SortableJS (Drag & Drop) --- */
/* Stijl voor de placeholder van een gesleept item */
.sortable-ghost {
    opacity: 0.4;
    background-color: #f0f0f0; /* Een lichte achtergrond voor de placeholder */
    border: 1px dashed #ccc;
    border-radius: 8px;
}

/* Stijl voor het item dat actief wordt versleept */
.sortable-drag {
    opacity: 1; /* Zorgt ervoor dat het gesleepte item volledig zichtbaar is */
    box-shadow: 0 8px 25px rgba(0,0,0,0.2); /* Een sterkere schaduw voor visuele feedback */
    transform: rotate(2deg); /* Een lichte rotatie kan ook extra feedback geven */
}

/* Cursor stijl wanneer je over een sleepbaar item zweeft */
/* Toepassen op de items die gesleept kunnen worden */
#featured-items-list .admin-block {
    cursor: grab; /* Standaard cursor om aan te geven dat het gesleept kan worden */
}

#featured-items-list .admin-block:active {
    cursor: grabbing; /* Cursor wanneer het item actief wordt versleept */
}

/* Optioneel: Stijl voor de boodschappen die via AJAX worden getoond */
.alert.alert-success, .alert.alert-error {
    margin-top: 15px;
    font-weight: 600;
}
/* --- Stijlen voor de visuele itemselectie in "Link Kaart" (admin_featured.php) --- */

.card-link-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Kleine, gelijke kolommen */
    gap: 15px; /* Ruimte tussen de kaartjes */
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    max-height: 400px; /* Max hoogte, zodat het scrollbaar wordt */
    overflow-y: auto; /* Verticaal scrollen indien nodig */
}

.card-link-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent; /* Standaard geen rand */
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.card-link-option:hover {
    border-color: var(--primary-color); /* Rand bij hover */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-link-option.selected {
    border-color: var(--primary-color); /* Geselecteerde rand */
    background-color: #e6f7ff; /* Lichte achtergrond voor geselecteerd */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card-link-option img {
    width: 80px; /* Vaste breedte */
    height: 80px; /* Vaste hoogte */
    object-fit: cover; /* Zorgt dat de afbeelding past zonder te vervormen */
    border-radius: 4px;
    margin-bottom: 5px;
    border: 1px solid #eee; /* Lichte rand rond de foto */
}

.card-link-option span {
    font-size: 0.85em;
    color: var(--text-color);
    line-height: 1.3;
    max-height: 3.9em; /* Ongeveer 3 regels tekst */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Beperk tot 3 regels */
    -webkit-box-orient: vertical;
}

/* Aanvulling voor de "Geselecteerd: Geen" tekst */
#selectedItemDisplay {
    background-color: #f0f0f0;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 15px !important; /* Forceer marge */
    font-size: 0.9em;
    color: #555;
    border: 1px solid #eee;
}

/* Voor de placeholder iconen in de item selectie */
.card-link-option .placeholder-icon {
    width: 80px; /* Zelfde afmetingen als de afbeeldingen */
    height: 80px;
    background-color: #e0e0e0; /* Lichte grijze achtergrond */
    border-radius: 4px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em; /* Grootte van de emoji */
    color: #666; /* Kleur van de emoji */
}

.card-link-option .video-icon { /* Specifieke stijl voor video's */
    background-color: #ffcccc; /* Lichtere rode tint */
    color: #cc0000;
}
.card-link-option .download-icon { /* Specifieke stijl voor downloads */
    background-color: #ccffcc; /* Lichtere groene tint */
    color: #00cc00;
}
.card-link-option .product-icon { /* Specifieke stijl voor producten */
    background-color: #ccccff; /* Lichtere blauwe tint */
    color: #0000cc;
}

/* --- NIEUW: Stijlen voor Admin Overlays op Homepage (index.php) --- */

/* Wrapper voor de afbeelding en overlay (nodig voor position: absolute) */
.featured-card .card-image-wrapper,
.featured-image-block .image-part {
    position: relative;
    overflow: hidden; /* Zorgt dat de overlay binnen de randen van de afbeelding blijft */
}

/* Algemene stijl voor de overlay - ALTIJD ZICHTBAAR EN BOVENAAN */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px; /* Vaste hoogte voor de strook */
    background-color: rgba(0, 0, 0, 0.7); /* Donkere, semi-transparante achtergrond */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px 10px; /* Kleinere padding om in de strook te passen */
    font-weight: bold;
    font-size: 0.8em; /* Kleinere font-size om te passen */
    z-index: 10; /* Zorgt dat het over de afbeelding ligt */
    pointer-events: none; /* Zorgt dat klikken op de link eronder nog werkt */
    opacity: 1; /* Altijd zichtbaar */
    /* Geen transition voor opacity nodig als het altijd 1 is */
}

/* Specifieke kleuren/stijlen voor verschillende overlay-statussen */
.image-overlay.overlay-draft,
.image-overlay.overlay-story-draft {
    background-color: rgba(255, 165, 0, 0.9); /* Oranje-achtig voor concept */
}
.image-overlay.overlay-future,
.image-overlay.overlay-story-future {
    background-color: rgba(60, 179, 113, 0.9); /* Groen-achtig voor toekomstige publicatie */
}

/* Stijl voor inline tekst (voor tekstblokken) - ongewijzigd */
.overlay-text-inline {
    background-color: #f0f0f0; 
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 10px; 
    display: inline-block; 
}
.overlay-text-inline.overlay-draft,
.overlay-text-inline.overlay-story-draft {
    color: orange;
    border: 1px solid orange;
}
.overlay-text-inline.overlay-future,
.overlay-text-inline.overlay-story-future {
    color: green;
    border: 1px solid green;
}


/* --- Zorg ervoor dat media queries deze styling NIET overschrijven --- */
/* Dit is de cruciale stap. We moeten controleren of er al regels zijn die
   .image-overlay of .featured-item beïnvloeden op kleinere schermen.
   Als er specifieke regels zijn voor deze elementen in @media (max-width: ...) blokken,
   dan moeten we de bovenstaande regels daarin herhalen of specifieker maken. */

/* Bijvoorbeeld, als je een @media (max-width: 767px) sectie hebt: */
@media (max-width: 767px) {
    /* Herhaal of specificeer de image-overlay regels hier om ervoor te zorgen dat ze niet worden overschreven */
    .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 30px; /* Zorg dat deze ook op mobiel zo is */
        opacity: 1; /* Zorg dat deze ook op mobiel 1 is */
        /* etc. */
    }

    /* Als je .featured-item of .card-image-wrapper hier specifieke breedtes/hoogtes geeft,
       zorg dan dat de overlay hier correct op reageert. */
}

/* Herhaal dit voor elke relevante media query als er al conflicterende regels zijn */
/* @media (max-width: 991px) {
    .image-overlay {
        height: 30px;
        opacity: 1;
    }
} */

/* --- NIEUW: Stijlen voor Reisverhaal Inhoud Blokken (edit-travel-story.php) --- */

/* Maak de contentblokken sleepbaar */
#contentBlocksContainer .content-block-item {
    cursor: grab; /* Zelfde cursor als bij uitgelichte items */
    transition: all 0.15s ease-in-out; /* Animatie voor soepeler slepen */
}

#contentBlocksContainer .content-block-item:active {
    cursor: grabbing;
}

/* SortableJS ghost class */
.sortable-ghost {
    opacity: 0.4;
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    border-radius: 8px;
}

/* SortableJS drag class */
.sortable-drag {
    opacity: 1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: rotate(2deg); /* Een lichte rotatie voor visuele feedback */
}

/* Optioneel: Visuele feedback voor wanneer een blok is geselecteerd (bijv. in een galerijselectie) */
/* Dit is relevant voor de galerijselectie binnen de modal, niet voor het slepen zelf */
#gallery_photo_selector img.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(249,168,38,.8);
    transform: scale(1.07);
}
#gallery_photo_selector img:not(.selected):hover {
    border-color: #ccc;
}


/* Pas ook de bestaande .admin-block styling aan zodat deze meer generiek is,
   of zorg ervoor dat .content-block-item deze overneemt.
   De bestaande .admin-block heeft al een aantal van deze eigenschappen,
   we willen consistentie. */
/* Huidige .admin-block styling (ter referentie uit jouw code):
.admin-block { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 10px; }
.admin-block-content { flex-grow: 1; display: flex; align-items: center; gap: 10px; }
.admin-block-controls { display: flex; gap: 8px; flex-shrink: 0; }
*/

/* --- NIEUW: Stijlen voor Reisverhaal Inhoud Blokken (edit-travel-story.php) --- */

/* Maak de contentblokken sleepbaar */
/* Dit geldt voor zowel #featured-items-list .admin-block als #contentBlocksContainer .admin-block */
.admin-blocks-list .admin-block { /* Generiekere selector voor sleepbare items */
    cursor: grab;
    transition: all 0.15s ease-in-out;
}

.admin-blocks-list .admin-block:active {
    cursor: grabbing;
}

/* SortableJS ghost class - Herhaal voor zekerheid, al is het vaak generiek */
.sortable-ghost {
    opacity: 0.4;
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
    border-radius: 8px;
}

/* SortableJS drag class - Herhaal voor zekerheid */
.sortable-drag {
    opacity: 1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: rotate(2deg);
}


/* --- Consistentie met .admin-block (uitgelichte items) --- */
/* Zorgt dat .content-block-item en .admin-block dezelfde basisstijl hebben */
/* Je had al een .admin-block class op .content-block-item gezet in PHP,
   dus deze regels zullen nu automatisch werken voor beide als ze in deze sectie staan. */
.admin-block { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 15px; 
    padding: 15px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    margin-bottom: 10px; 
    background-color: #fff; /* Witte achtergrond */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtiele schaduw */
}

/* Deel van de .admin-block dat de content bevat */
.admin-block-content {
    flex-grow: 1; /* Neemt resterende ruimte in */
    display: flex;
    align-items: center;
    gap: 10px; /* Ruimte tussen thumb en tekst */
}

.admin-block-content img,
.admin-block-content div[style*="width:80px"] { /* Voor de tekstblok-placeholders */
    max-width: 80px;
    height: 60px; /* Vaste hoogte */
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0; /* Voorkom dat ze krimpen */
}

/* Stijlen voor de controleknoppen (Bewerk/Verwijder) */
.admin-block-controls {
    display: flex;
    gap: 8px; /* Ruimte tussen knoppen */
    flex-shrink: 0; /* Voorkom dat de knoppen krimpen */
}

.admin-block-controls a, /* Voor Bewerken knop (nu <a>) */
.admin-block-controls button { /* Voor Verwijder knop (nu <button>) */
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1em; /* Icoongrootte */
    width: 35px; /* Vaste breedte voor ronde/vierkante knop */
    height: 35px; /* Vaste hoogte */
    display: flex; /* Voor centrering icoon/tekst */
    align-items: center;
    justify-content: center;
    border-radius: 5px; /* Vierkant met afgeronde hoeken */
    transition: transform 0.2s ease, background-color 0.3s ease;
    border: none; /* Geen standaard rand */
    cursor: pointer;
}

.admin-block-controls a:hover,
.admin-block-controls button:hover {
    transform: scale(1.1); /* Lichte schaal bij hover */
}

/* Specifieke kleuren voor de actieknoppen */
.admin-block-controls .edit {
    background-color: #777; /* Grijs voor bewerken (zoals in screenshot) */
}
.admin-block-controls .edit:hover {
    background-color: #555;
}

.admin-block-controls .delete {
    background-color: #d9534f; /* Rood voor verwijderen */
}
.admin-block-controls .delete:hover {
    background-color: #c9302c;
}

/* Stijlen voor status small-tags */
.admin-block-content small {
    display: block; /* Zorgt dat het op een nieuwe regel komt */
}
.admin-block-content small span {
    font-weight: bold;
}
.admin-block-content small span[style*="color: green"] { /* Gepubliceerd */
    color: green;
}
.admin-block-content small span[style*="color: #888"] { /* Concept */
    color: #888;
}

/* Extra status/waarschuwingsmeldingen */
.admin-only-status { /* Alleen voor admin status op reizen.php overzicht */
    color: orange;
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 5px; /* Ruimte boven de tekst */
}

/* Media Query overrides voor mobiel */
@media (max-width: 767px) {
    /* Stapel de blokken en zorg dat de content en controls 100% breed zijn */
    .admin-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px; /* Ruimte tussen gestapelde elementen */
        padding: 10px; /* Minder padding op mobiel */
    }
    .admin-block-content,
    .admin-block-controls {
        width: 100%; /* Neem volledige breedte in */
        justify-content: center; /* Centreer de inhoud/knoppen */
    }
    .admin-block-content img,
    .admin-block-content div[style*="width:80px"] {
        max-width: 100px; /* Iets grotere thumb op mobiel, indien nodig */
        height: auto; /* Zorg voor flexibele hoogte */
    }
    .admin-block-content > div { /* De div met titel en small-tags */
        text-align: center;
        flex-grow: 0; /* Niet onnodig uitrekken */
    }
    .admin-block-controls a,
    .admin-block-controls button {
        width: 45px; /* Iets breder voor mobiel touch */
        height: 45px;
        font-size: 1.2em; /* Grotere iconen */
    }
}/* --- Algemene stijlen voor productkaarten (aangepast voor Bekijk details knop) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: left;
    align-items: center;
    background-color: #f8f8f8;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-content h3 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.product-card-content .price {
    font-size: 1.2em;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 15px;
}

.product-card-content .description {
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1; 
}

/* AANGEPAST: Styling voor de acties-container onderaan de kaart */
.product-card-actions {
    margin-top: auto; /* Zorgt dat de acties onderaan de kaart blijven plakken */
    padding: 0 20px 20px; /* Padding alleen links/rechts/onder */
    display: flex; /* Gebruik flexbox */
    justify-content: left; /* Centreer de inhoud (de knop) horizontaal */
    align-items: left; /* Centreer de inhoud verticaal */
}

/* Stijl voor de "Bekijk details" knop */
.product-card-actions .button.view-details {
    display: block; /* Zorgt dat het een blok-element is */
    width: 100%; /* Maak de knop 100% breed in zijn container */
    max-width: 200px; /* Optioneel: Beperk de maximale breedte van de knop */
    text-align: left;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s ease;
    background-color: var(--primary-color);
    color: white;
    box-sizing: border-box; /* Zorgt dat padding en border binnen de breedte vallen */
}

.product-card-actions .button.view-details:hover {
    background-color: #e0941f; /* Donkerdere primary color bij hover */
}
/* --- NIEUWE SECTIE: Nieuwsbrief Inschrijving --- */
.newsletter-section {
    text-align: center;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    max-width: 800px; /* Beperk de breedte van de sectie */
}

.newsletter-section h2 {
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 15px;
}

.newsletter-section p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

.newsletter-section .button {
    font-size: 1.2em;
    padding: 15px 30px;
    border-radius: 10px;
}

/* --- NIEUWE STIJLEN VOOR DE MODAL (overlappen mogelijk met bestaande .modal-overlay, .modal-content, .modal-close) --- */
/* Zorg ervoor dat deze specifieker zijn indien nodig, of als aanvulling dienen */

/* De modal overlay (achtergrond) */
.modal-overlay {
    display: none; /* Standaard verborgen */
    position: fixed; /* Bovenop alles */
    z-index: 1000; /* Zorg dat het boven andere elementen is */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Scrollen mogelijk als content te groot is */
    background-color: rgba(0,0,0,0.7); /* Donkere, semi-transparante achtergrond */
    /* display: flex;  Gebruik flexbox om content te centreren */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out; /* Fade-in animatie */
}

/* De modal inhoud box */
.modal-content {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 90%; /* Responsive breedte */
    position: relative; /* Voor de sluitknop */
    animation: slideIn 0.3s ease-out; /* Slide-in animatie */
}

/* Animatie voor fade-in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animatie voor slide-in (optioneel, kan vervangen worden door andere animatie) */
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Sluitknop voor de modal */
.modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #333;
    text-decoration: none;
}

/* Stijl voor het formulier binnen de modal */
.modal-form {
    margin-top: 20px;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.modal-form input[type="email"] {
    width: calc(100% - 20px); /* Iets smaller dan 100% voor padding */
    padding: 12px 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box; /* Zorgt dat padding en border binnen de breedte vallen */
}

.modal-form button[type="submit"] {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.1em;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-form button[type="submit"]:hover {
    background-color: #e0941f;
}

/* Alerts binnen de modal */
#newsletterMessage {
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

#newsletterMessage.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

#newsletterMessage.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Media query voor kleinere schermen voor de modal */
@media (max-width: 600px) {
    .modal-content {
        padding: 20px;
        margin: 10px; /* Kleinere marge op zeer kleine schermen */
    }
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }
    .newsletter-section h2 {
        font-size: 1.8em;
    }
    .newsletter-section p {
        font-size: 1em;
    }
}