body {
    background-image: url("back/hout.jpg");
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.home-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}
.brand-header {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* CSS Grid Layout voor de categorieën */
.home-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    max-width: 700px;
    margin: 20px auto;
    padding: 0;
}
.grid-link {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
}
.grid-link:hover {
    transform: scale(1.05);
}
.grid-link img {
    border: 0;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    display: block;
}
.grid-label {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    text-shadow: 1px 1px 2px #000;
    font-weight: bold;
}

.line-draw {
    max-width: 586px;
    height: auto;
    margin: 15px auto;
    display: block;
}

/* Subnavigatie links onder de streep */
.sub-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 650px;
    margin: 10px auto;
}
.sub-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
}
.sub-nav a:hover {
    text-decoration: underline;
}

.footer-text-block {
    max-width: 700px;
    margin: 20px auto;
    color: #ffffff;
    text-shadow: 1px 1px 2px #000;
    font-size: 11px;
    line-height: 1.6;
}
.footer-text-block a {
    color: #56cbdb;
    text-decoration: underline;
}

/* Volledig responsive breakpoints voor tablets en smartphones */
@media screen and (max-width: 720px) {
    .home-grid { grid-template-columns: repeat(4, 1fr); max-width: 100%; }
}
@media screen and (max-width: 480px) {
    .home-grid { grid-template-columns: repeat(3, 1fr); }
    .line-draw { display: none; }
}
/* Specifieke overschrijving: Alleen voor de uitgebreide index2 pagina */
.home-grid.extended-grid {
    grid-template-columns: repeat(7, 1fr);
    max-width: 800px; /* Iets breder voor de 7e kolom */
}

/* Zorg dat de responsive breakpoints voor index2 ook netjes meeschalen */
@media screen and (max-width: 820px) {
    .home-grid.extended-grid {
        grid-template-columns: repeat(5, 1fr);
        max-width: 100%;
    }
}
@media screen and (max-width: 640px) {
    .home-grid.extended-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media screen and (max-width: 480px) {
    .home-grid.extended-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}