/* ----------------------------------------------------
   BASIS INSTELLINGEN
---------------------------------------------------- */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f4f7ff;
    color: #333;
    line-height: 1.6;
}

h1, h2 {
    color: #00A6A6;
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 166, 166, 0.1);
}

/* ----------------------------------------------------
   HEADER MET LOGO
---------------------------------------------------- */
header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 4px solid #00A6A6;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.site-logo {
    width: 160px;
    height: auto;
    display: block;
    transition: transform .3s ease, box-shadow .3s ease;
}

.site-logo:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 6px 20px rgba(224, 0, 122, 0.35);
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    line-height: 1;
}

.logo-subli { color: #E0007A; }
.logo-print { color: #00A6A6; }
.logo-design {
    color: #222;
    font-weight: 300;
    font-size: 1.3rem;
    display: block;
    margin-top: -5px;
}

header:hover {
    background-color: #111;
    box-shadow: 0 0 30px rgba(224, 0, 122, 0.55);
    transform: translateY(-2px);
}

header:hover .logo-text { color: white; }
header:hover .logo-design { color: #ccc; }
header:hover .logo-subli { color: #FF0A8F; }
header:hover .logo-print { color: #00D4D4; }

/* ----------------------------------------------------
   NAVIGATIE
---------------------------------------------------- */
nav {
    background: linear-gradient(90deg, #E0007A, #00A6A6);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

nav a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.20);
}

nav a.active {
    background: rgba(255,255,255,0.30);
    box-shadow: 0 6px 16px rgba(0,0,0,0.30);
    transform: translateY(-2px);
}

/* ----------------------------------------------------
   GALERIJ
---------------------------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery .item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform .25s ease, box-shadow .25s ease;
    text-align: center;
}

.gallery .item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.gallery .item:hover img {
    transform: scale(1.05);
}

.gallery p {
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* ----------------------------------------------------
   KNOPPEN
---------------------------------------------------- */
.button-link,
button {
    display: inline-block;
    background: linear-gradient(90deg, #E0007A, #00A6A6);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.button-link:hover,
button:hover {
    box-shadow: 0 5px 15px rgba(224, 0, 122, 0.4);
    transform: scale(1.05);
}

/* ----------------------------------------------------
   FORMULIER
---------------------------------------------------- */
input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    box-sizing: border-box;
}

/* ----------------------------------------------------
   BACK TO TOP
---------------------------------------------------- */
#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background: linear-gradient(90deg, #E0007A, #00A6A6);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}

#backToTop:hover {
    background: #E0007A;
    transform: scale(1.1);
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
    background-color: #00A6A6;
    color: white;
    padding: 50px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.footer-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #E0007A, #00A6A6);
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.footer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(224, 0, 122, 0.4);
}

/* ----------------------------------------------------
   BLOG LAYOUT
---------------------------------------------------- */
.blog-page-wrapper,
.main-layout {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: flex-start;
}

.blog-main,
.left-content {
    flex: 3;
}

.sidebar,
.right-sidebar {
    flex: 1;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar h3,
.right-sidebar h3 {
    margin-top: 0;
    font-size: 1.3rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sidebar ul,
.right-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li,
.right-sidebar ul li {
    margin-bottom: 12px;
}

.sidebar ul li a,
.right-sidebar ul li a {
    text-decoration: none;
    color: #0077cc;
    font-weight: 500;
}

.sidebar ul li a:hover,
.right-sidebar ul li a:hover {
    text-decoration: underline;
}

.blog-thumb {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* --- FIX BLOG HEADER AFBEELDING TE BREED --- */
img.blog-header {
    width:100%;
    max-width: 700px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto 25px auto;
}
/* ----------------------------------------------------
   BLOG LIJST
---------------------------------------------------- */
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.blog-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e5e5;
}

.blog-card img {
    width: 110px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.blog-card .info {
    flex: 1;
}

.blog-card h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

.blog-card .date {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover h3 {
    color: #0077cc;
}

/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */
@media (max-width: 900px) {
    .blog-page-wrapper,
    .main-layout {
        flex-direction: column;
    }

    .sidebar,
    .right-sidebar {
        margin-top: 25px;
        position: relative;
        top: 0;
    }

    .blog-thumb {
        max-height: 200px;
    }
}
.blog-header img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto 25px auto;
    object-fit: cover;
    border-radius: 10px;
}