/* ============ 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: #d4d4dc;
    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;
}

.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; /* Meer ruimte onderaan voor footer + fotostrip */
    padding-bottom: 40px;
    background: #1d1e22;
    min-height: calc(100vh - 400px); /* Zorgt dat content altijd minstens tot footer reikt */
}

#topbar {
  padding: 100px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

/* ============ BESTELFORMULIER ============ */
.bestel-formulier {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #d4d4dc;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px; /* Extra ruimte onder formulier */
}

.menu-sectie {
    margin-bottom: 30px;
    padding: 20px;
    background: #393f4d;
    border-radius: 8px;
    border-left: 5px solid #feda6a;
}

.menu-sectie h2 {
    color: #feda6a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFC857;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.menu-item {
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.menu-item label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-weight: bold;
}

.item-naam {
    flex: 1;
    color: #264653;
}

.item-prijs {
    margin: 0 15px;
    color: #2A9D8F;
    font-weight: bold;
}

.menu-item input[type="number"] {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.item-info {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
    padding-left: 10px;
    font-style: italic;
}

.special-arrangement {
    border-left-color: 5px solid #2A9D8F;
}

/* Gegevens sectie */
.gegevens-sectie {
    margin-top: 40px;
    padding: 25px;
    background: #393f4d;
    border-radius: 8px;
    border-left: 5px solid #feda6a;
    color: #feda6a;	
}

.formulier-rij {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.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;
}

.formulier-groep input[type="text"],
.formulier-groep input[type="email"],
.formulier-groep input[type="tel"],
.formulier-groep input[type="number"],
.formulier-groep select,
.formulier-groep textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.formulier-groep input[type="date"],
.formulier-groep input[type="time"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.radio-groep {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

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

.voorwaarden {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bestel-knop {
    background: #393f4d;
    color: #feda6a;
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    border: 2px solid #d4d4dc;
}

.bestel-knop:hover {
  background-color: #393f4d;
  color: #FF6B6B;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .menu-items {
        grid-template-columns: 1fr;
    }
    
    .formulier-groep {
        min-width: 100%;
    }
}
.error-message {
    color: red;
    font-size: 0.8em;
    margin-top: 5px;
    display: none;
}
/* ============ 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: #FF6B6B;
    color: white;
	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;
    }
}

/* ============ 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;
    }
}

@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: 80px;
    }
    .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;
    }
}
@media (max-width: 768px) {
    .content {
        margin: 160px 0 180px;
        min-height: calc(100vh - 340px);
    }
}

@media (max-width: 480px) {
    .content {
        margin: 120px 0 140px;
        min-height: calc(100vh - 300px);
    }
}
/* Voeg deze media query toe aan het einde van je CSS bestand */
@media (max-width: 480px) {
    .menu-sectie {
        padding: 15px; /* Verminder de padding op mobiel */
    }
    
    .menu-item {
        padding: 5px; /* Kleinere padding voor menu items */
    }
    
    .menu-item label {
        flex-wrap: wrap; /* Laat de items op meerdere regels vallen indien nodig */
    }
    
    .item-naam, 
    .item-prijs {
        width: 100%; /* Zorg dat naam en prijs op aparte regels komen */
        margin-bottom: 5px;
    }
    
    .menu-item input[type="number"] {
        width: 100%; /* Maak het aantal veld breder */
        margin-top: 5px;
    }
}