/* ============ BASISSTIJLEN ============ */
body, h1, h2, p {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #ecf0f1;
}

/* ============ HEADER ============ */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: #393f4d;
    color: #feda6a;
    display: grid;
    grid-template: 
        "logo-l titel logo-r" auto
        "nav nav nav" auto / 150px 1fr 150px;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-sizing: border-box;
}

.logo-links, .logo-rechts {
    width: 150px;
    height: 150px;
    display: flex;
    flex-shrink: 0;
}

.logo-links { 
    justify-content: flex-start;
    grid-area: logo-l;
}
.logo-rechts { 
    justify-content: flex-end;
    grid-area: logo-r;
}

.logo-links img, 
.logo-rechts img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.titel-nav {
    grid-area: titel;
    text-align: center;
    padding: 0 20px;
    color: #d4d4dc;
}

.titel-nav h1 {
    margin-bottom: 15px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Aangepaste navigatie layout */
.titel-nav nav {
    grid-area: nav;
    display: grid;
    justify-content: center;
    gap: 15px;
    padding-top: 15px;
}

/* Desktop: alle links naast elkaar */
@media (min-width: 769px) {
    .titel-nav nav {
        grid-template-columns: repeat(5, auto);
        gap: 20px;
    }
}

/* Tablet EN Mobiel: links in 2 kolommen */
@media (max-width: 768px) {
    .titel-nav nav {
        grid-template-columns: repeat(2, auto);
        gap: 10px 15px;
    }
    
    /* Kleinere aanpassingen voor mobiel */
    @media (max-width: 480px) {
        .titel-nav nav {
            gap: 8px 12px;
            padding-top: 10px;
        }
        
        .titel-nav nav a {
            padding: 4px 8px;
            font-size: 0.8rem;
        }
    }
}

.titel-nav nav a {
    color: #feda6a;
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    padding: 5px 10px;
    white-space: nowrap;
    transition: color 0.3s ease;
    text-align: center;
}

.titel-nav nav a:hover {
    color: #FF6B6B;
}

/* ============ HOOFDCONTENT ============ */
.content {
    flex: 1;
    padding: 20px;
    margin: 180px 0 220px;
    padding-bottom: 120px;
    background: #1d1e22;
}

#topbar {
  padding: 50px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}
.form-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap; /* zorgt dat ze onder elkaar komen als het niet past */
}

.form-column {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-column label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  color: #feda6a; /* labels in mosterdgeel */
}

.form-column input,
.form-column select,
.form-column textarea {
  padding: 10px;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 6px;
  font-size: 1rem;
}

/* Stijlen voor radio buttons */
.radio-groep {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.radio-groep label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 5px;
}
.formulier-groep {
    flex: 1;
    min-width: 250px;
}

.formulier-groep.full-width {
    flex: 100%;
}

.formulier-groep label {
    display: block;
    margin-bottom: 8px;
    color: #feda6a;
    font-weight: bold;
}






.form-column button {
  padding: 12px;
  background-color: #393f4d;
  border: 2px solid #d4d4dc;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  color: #feda6a;  
}

.form-column button:hover {
  background-color: #393f4d;
  color: #FF6B6B;
}

.form-wrapper {
  background-color: #393f4d;
  border: 2px solid #d4d4dc;
  border-radius: 12px;
  padding: 10px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.form-container h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #feda6a;
}

/* ============ SUCCES MELDING ============ */
.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #393f4d;
    color: #feda6a;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #d4d4dc;
    z-index: 2000;
    text-align: center;
    display: none;
    max-width: 80%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    width: 90%;
    max-width: 400px;
}

.success-popup.show {
    display: block;
    animation: fadeIn 0.3s;
}

.success-popup button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #393f4d;
    color: #feda6a;
    border: 2px solid #d4d4dc;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.success-popup button:hover {
    background-color: #393f4d;
    color: #feda6a;
    border: 2px solid #d4d4dc;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1500;
    display: none;
}

.overlay.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 480px) {
    .success-popup {
        padding: 20px;
    }
}
#portiesGroup {
    display: none; /* Standaard verborgen */
}

#portiesGroup.visible {
    display: block; /* Zichtbaar wanneer nodig */
}

/* =============== VARIABELEN EN LINKS =============== */
:root {
  --mintgroen: #A8D5BA;
  --koraalrood: #FF6B6B;
  --mosterdgeel: #FFC857;
  --warmbruin: #6B4226;
  --cremewit: #FFF3E2;
  --donkergroen: #264653;
}

a {
  color: var(--mosterdgeel);
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: var(--koraalrood);
}

/* ============ FOTOSTRIP ============ */
.foto-strip-wrapper {
    position: fixed;
    bottom: 120px; /* Gelijk aan footer hoogte */
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #2A9D8F;
    z-index: 999;
    overflow: hidden; /* Verberg wat niet past */
}

.foto-strip {
    display: flex;
    height: 100%;
    width: max-content; /* Laat de strip zo breed zijn als nodig */
    gap: 0px;
    padding: 0 0px;
}

.foto-strip img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}

/* ============ FOOTER ============ */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: #393f4d;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    padding: 20px;
    z-index: 1000;
    box-sizing: border-box;
}

.footer-copyright {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    color: #d4d4dc;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    justify-content: flex-end;
    height: 100%;
}

.footer-nav a {
    color: #feda6a;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.3s ease;
    text-align: left;
    width: 100%;
    padding-right: 10px;
    box-sizing: border-box;
}

.footer-nav a:hover {
    color: #FF6B6B;
}

/* ============ RESPONSIVE AANPASSINGEN ============ */
@media (max-width: 1024px) {
    .fixed-header {
        height: 160px;
        grid-template-columns: 120px 1fr 120px;
    }
    .logo-links, .logo-rechts {
        width: 120px;
        height: 120px;
    }
    .content {
        margin: 160px 0 0;
        padding-bottom: 120px;
    }
}

@media (max-width: 768px) {
    .fixed-header {
        min-height: 140px;
        grid-template: 
            "logo-l titel logo-r" auto
            "nav nav nav" auto / 80px 1fr 80px;
    }
    .logo-links, .logo-rechts {
        width: 80px;
        height: 80px;
    }
    .content {
        margin: 140px 0 0;
        padding-bottom: 120px;
    }
    
    /* Aanpassingen voor radio buttons op mobiel */
    .radio-options {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .fixed-header {
        min-height: 120px;
        grid-template-columns: 60px 1fr 60px;
    }
    .logo-links, .logo-rechts {
        width: 60px;
        height: 60px;
    }
    .content {
        margin: 120px 0 0;
        padding-bottom: 120px;
    }
    .fixed-footer {
        height: 80px;
        padding: 10px;
    }
    .footer-nav a {
        font-size: 0.8rem;
        padding-right: 5px;
    }
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .foto-strip-wrapper {
        height: 80px;
    }
    .foto-strip img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .foto-strip-wrapper {
        bottom: 80px;
        height: 60px;
    }
    .foto-strip img {
        width: 60px;
        height: 60px;
    }
}