/* Algemeen */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f2e7;
    color: #2e3d2f;
    margin: 0;
    padding: 0;
}

h1, h2 {
    color: #355e3b;
}

/* Oude header verbergen (we gebruiken nu alleen .topbar) */
header {
    display: none;
}

/* Topbar met 3 kolommen: logo+tekst - menu - vlag */
.topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* links, midden, rechts */
    align-items: center;
    background-color: #e0ecd4;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Logo + tekst links */
.topbar .brand {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.topbar .brand img {
    height: 50px;
    width: auto;
    display: block;
}
.brand-text {
    display: inline-block;
    line-height: 1.1;
}
.brand-name {
    color: #355e3b;
    font-weight: bold;
    font-size: 1.2em;
}
.brand-tagline {
    color: #2e3d2f;
    font-size: 0.85em;
}

/* Menu in het midden */
.topbar .menu {
    justify-self: center;
    display: flex;
    gap: 15px;
}
.topbar .menu a {
    text-decoration: none;
    color: #2e3d2f;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.3s;
}
.topbar .menu a:hover {
    color: #355e3b;
}
.topbar .menu a.active {
    color: #355e3b;
    text-decoration: underline;
}

/* Vlag rechts */
.topbar .flag-container {
    justify-self: end;
}
.topbar .flag-container img {
    width: 28px;
    height: 18px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 3px;
}

/* 📱 Responsive: menu onder logo op smalle schermen */
@media (max-width: 768px) {
    .topbar {
        grid-template-columns: 1fr auto; /* logo links, vlag rechts */
        grid-template-rows: auto auto;   /* menu op tweede rij */
    }
    .topbar .menu {
        grid-column: 1 / span 2; /* menu over volle breedte */
        justify-self: center;
        flex-wrap: wrap;
        margin-top: 10px;
    }
    .brand-text {
        line-height: 1.2;
    }
}

/* Secties */
section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: #f5f2e7;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Specifieke secties */
#home-content,
#audio-pitch,
#wat-is-greensnail,
#missie,
#producten,
#certificering,
#contact,
#bestelformulier,
#orderform,
#bedankt-content,
#thanks-content {
    margin: 20px auto;
    padding: 20px;
    background-color: #e0ecd4;
    border-radius: 10px;
    line-height: 1.6;
    max-width: 800px;
}

#home-content h2,
#audio-pitch h2,
#wat-is-greensnail h2,
#missie h2,
#producten h2,
#certificering h2,
#contact h2,
#bestelformulier h2,
#orderform h2,
#bedankt-content h2,
#thanks-content h2 {
    color: #355e3b;
    text-align: center;
    font-size: 1.8em;
}

#home-content p,
#audio-pitch p,
#wat-is-greensnail p,
#missie p,
#producten p,
#certificering p,
#contact p,
#bestelformulier p,
#orderform p,
#bedankt-content p,
#thanks-content p {
    color: #2e3d2f;
    text-align: justify;
}

/* Citaat */
q {
    font-style: italic;
    color: #355e3b;
    display: block;
    text-align: center;
    margin: 10px 0;
    background-color: #e6f7e6;
    padding: 10px;
    border-left: 4px solid #355e3b;
}
/* Formulieren */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background-color: #f5f2e7;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

label {
    font-weight: bold;
    color: #355e3b;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    padding: 8px;
    border: 1px solid #c8d6b9;
    border-radius: 5px;
    font-size: 1em;
    background-color: #fdfcf9;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    resize: none;
    min-height: 120px;
}

/* Tabellen */
.order-table, .bestel-tabel {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.order-table th, .order-table td,
.bestel-tabel th, .bestel-tabel td {
    border: 1px solid #c8d6b9;
    padding: 8px;
    text-align: center;
}

.order-table th, .bestel-tabel th {
    background-color: #e0ecd4;
}

/* Knoppen */
input[type="submit"] {
    background-color: #355e3b;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #2e3d2f;
}

.required {
    color: red;
}

/* Product blokken */
.product-blok {
    margin-bottom: 30px;
    padding: 15px;
    border: 2px solid #e0ecd4;
    border-radius: 8px;
    background-color: #f5f2e7;
}

.product-naam {
    color: #2e7d32;
    font-weight: bold;
    font-size: 1.2em;
}

.smal-kolom {
    width: 60px;
}

.smal-kolom input[type="number"] {
    width: 50px;
    text-align: center;
}

/* Footer opmaak voor alle paginas NL en ENG*/
footer {
    background-color: #e0ecd4;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    border-top: 1px solid #c8d6b9;
}
footer a {
    color: #2e3d2f;
    text-decoration: none;
    font-weight: bold;
}
footer a:hover {
    color: #355e3b;
    text-decoration: underline;
}
/* Footer bedrijfsinfo (NL & EN) */
footer small .company-info {
    display: block;
    font-size: 0.85em;
    color: #666; /* subtielere kleur */
    margin-top: 4px;
}

footer small .company-info span {
    display: inline-block;
    margin-right: 8px;
}

/* Horeca header layout met gecentreerde titel */
#bestelformulier .horeca-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 10px;
}

#bestelformulier .horeca-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#bestelformulier .horeca-brand img {
    height: 50px;
    width: auto;
    display: block;
}

#bestelformulier .horeca-brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.15;
}

#bestelformulier .horeca-brand-name {
    font-weight: bold;
    font-size: 1.1em;
    color: #355e3b;
}

#bestelformulier .horeca-brand-tagline {
    font-size: 0.9em;
    color: #2e3d2f;
}

#bestelformulier .horeca-title {
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 1.8em;
    color: #355e3b;
}

/* 📱 Mobiel: stack brand boven titel */
@media (max-width: 640px) {
    #bestelformulier .horeca-header {
        flex-direction: column;
        align-items: flex-start;
    }
    #bestelformulier .horeca-title {
        text-align: center;
        font-size: 1.5em;
    }
}

/* USP-balk met kernvoordelen */
.usp-balk {
    background-color: #e0ecd4;   /* zelfde als secties */
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}

.usp-balk ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}

.usp-balk li {
    font-weight: bold;
    color: #355e3b;
    font-size: 1em;
    position: relative;
    padding-left: 20px;
}

.usp-balk li::before {
    content: "✓";
    color: #2e7d32;
    position: absolute;
    left: 0;
}


/* Tijdelijk bepaalde blokken verbergen (bijv. producten) */
.verbergen {
    display: none !important;
}

/* ================================
   PRODUCT TEGEL LAYOUT (NIEUW)
   ================================ */

.product-tile {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin: 25px 0;
    background-color: #f5f2e7;
    border: 2px solid #e0ecd4;
    border-radius: 10px;
    align-items: flex-start;
}

/* Foto links */
.product-left {
    width: 180px; /* ≈ 6 cm */
    flex-shrink: 0;
    text-align: center;
}

.product-left img {
    width: 100%;
    height: auto;
    max-height: 300px; /* ≈ 10 cm */
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #d6dfc8;
}

/* CO₂-links onder foto */
.co2-links {
    margin-top: 10px;
    font-size: 0.9em;
    line-height: 1.4;
}

.co2-links a {
    color: #355e3b;
    text-decoration: none;
    font-weight: bold;
}

.co2-links a:hover {
    text-decoration: underline;
}

.batch {
    display: block;
    margin-top: 4px;
    color: #2e3d2f;
    font-style: italic;
}

/* Certificaten rechts */
.product-right {
    flex: 1;
}

.product-right h3 {
    margin-top: 0;
    color: #355e3b;
    font-size: 1.4em;
}

.cert-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.cert-list li {
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.cert-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #355e3b;
    font-weight: bold;
}

/* 📱 Mobiel: tegels onder elkaar */
@media (max-width: 768px) {
    .product-tile {
        flex-direction: column;
        text-align: center;
    }
    .product-left {
        width: 100%;
    }
    .product-right {
        text-align: left;
    }
}


/* 📱 Mobiel: productfoto's kleiner houden */
@media (max-width: 768px) {
    .product-left img {
        width: 60%;        /* kleiner dan 100% */
        max-width: 180px;  /* vaste bovengrens */
        margin: 0 auto;    /* centreren */
        display: block;
    }
}
