/* Algemene stijlen */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #b8afdf;
    color: #333;
}

h1, h2, h3 {
    text-align: center;
    margin: 20px 0;
    color: #007BFF;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Logo Styling */
.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
}

/* Navigatiebalk */
.navbar {
    background: #007BFF;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 16px;
}

.navbar a:hover {
    text-decoration: underline;
}

.navbar .menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* Productlijst */
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.product {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: calc(30.000% - 7px); /* Drie producten naast elkaar */
    text-align: center;
    padding: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product h2 {
    font-size: 18px;
    color: #343a40;
    margin-bottom: 10px;
}

.product p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.product .price {
    font-size: 18px;
    color: #007BFF;
    margin: 10px 0;
    font-weight: bold;
}

.product button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.product button:hover {
    background: #0056b3;
}

/* Formulieren */
form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 400px;
}

form input, form select, form textarea, form button {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    padding: 10px;
}

form button {
    background: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.2s;
}

form button:hover {
    background: #0056b3;
}

/* Error- en succesmeldingen */
.error, .success {
    text-align: center;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.error {
    background-color: #ffe6e6;
    color: #a60000;
    border: 1px solid #a60000;
}

.success {
    background-color: #e6ffed;
    color: #2b7a0b;
    border: 1px solid #2b7a0b;
}

/* Dashboard Bestellingen */
.dashboard-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-container h1 {
    text-align: center;
    color: #007BFF;
    margin-bottom: 20px;
}

.orders {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.order-item h3 {
    margin: 0 0 10px;
    color: #007BFF;
}

.order-item p {
    margin: 5px 0;
    color: #333;
}

/* Responsive Aanpassingen */
@media (max-width: 1024px) {
    .product {
        width: calc(100% - 20px); /* Twee producten per rij op tablets */
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar a {
        margin: 10px 0;
    }

    .products {
        justify-content: center;
    }

    .product {
        width: calc(100% - 100px); /* Twee producten per rij */
    }
}

@media (max-width: 480px) {
    .product {
        width: 100%; /* Eén product per rij */
    }

    .confirmation-product {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .confirmation-product img {
        max-width: 100px;
        margin-bottom: 10px;
    }

    .confirmation-product .product-details {
        text-align: center;
    }
}


/* Bevestigingspagina Productinformatie */
.confirmation-header {
    text-align: center;
    margin-bottom: 30px;
}

.confirmation-product {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.confirmation-product img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
}

.confirmation-product .product-details {
    flex: 1;
    text-align: left;
}

.confirmation-product h2 {
    font-size: 24px;
    color: #343a40;
    margin-bottom: 10px;
    text-align: left;
}

.confirmation-product p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    text-align: left;
}

.confirmation-product .price {
    font-size: 18px;
    color: #007BFF;
    font-weight: bold;
}

/* Formulier op bevestigingspagina */
.confirmation-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.confirmation-form label {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.confirmation-form input, 
.confirmation-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
}

.confirmation-form button {
    background: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
}

.confirmation-form button:hover {
    background: #0056b3;
}

/* Responsieve aanpassingen voor bevestigingspagina */
@media (max-width: 768px) {
    .confirmation-product {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .confirmation-product img {
        max-width: 100px;
        margin-bottom: 10px;
    }

    .confirmation-product .product-details {
        text-align: center;
    }
}
