/* Algemene stijlen */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* Header Stijl */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 180px;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Logo en tekst */
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    text-align: center;
}

.logo {
    height: 80px;
    margin-bottom: 5px;
}

.header-content h1 {
    margin: 5px 0;
    font-size: 24px;
}

.header-content h3 {
    margin: 0;
    font-size: 16px;
    padding-top: 5px;
    font-weight: normal;
}

/* Navigatie */
nav {
    background: #007BFF;
    padding: 15px 0;
    text-align: center;
    position: relative;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
    font-size: 18px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

nav ul li a:active {
    background-color: rgba(255, 255, 255, 0.6);
}

nav ul li a.active {
    background-color: #0056b3;
}

/* Facebook en Admin Knoppen */
.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: grey;
    padding: 10px 20px;
    border: 3px solid grey;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.facebook-button, .admin-button {
    padding: 12px 18px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.facebook-button {
    background-color: #3b5998;
}

.admin-button {
    background-color: #d9534f;
    margin-left: auto;
}

.facebook-button:hover {
    background-color: #1256A3;
    transform: scale(1.05);
}

.admin-button:hover {
    background-color: #c9302c;
    transform: scale(1.05);
}

/* Content Container */
.container {
    max-width: 90%;
    width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background: #333;
    color: white;
    margin-top: 20px;
    border-radius: 8px 8px 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    .producten {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .winkelwagen-lijst th, .winkelwagen-lijst td {
        padding: 8px;
        font-size: 14px;
    }
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    .admin-button {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Stijlen voor de wedstrijdkalender */
#kalender table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border: 1px solid #ddd;
    table-layout: fixed;
}

#kalender th, #kalender td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    white-space: nowrap; /* Voorkomt dat tekst samendrukt */
    overflow: hidden;
    text-overflow: ellipsis;
}

#kalender th {
    background-color: #007BFF;
    color: white;
    text-align: left;
}

#kalender tr:nth-child(even) {
    background-color: #f9f9f9;
}

#kalender tr:hover {
    background-color: #f1f1f1;
}
/* Productweergave */
.producten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    justify-content: center;
}
.product-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.product-item:hover {
    transform: translateY(-5px);
}
.product-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
.product-item h3 {
    margin: 10px 0;
    font-size: 20px;
}
.product-item p {
    color: #777;
    font-size: 16px;
}

/* Knoppen */
.button {
    display: inline-block;
    padding: 12px 18px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}
.button:hover {
    background-color: #0056b3;
}

/* Winkelwagen */
.winkelwagen-lijst {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.winkelwagen-lijst th, .winkelwagen-lijst td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}
.winkelwagen-lijst th {
    background-color: #007BFF;
    color: white;
}

/* Bestelformulier */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
form label {
    width: 100%;
    max-width: 400px;
    margin: 5px 0;
    font-size: 16px;
}
form input {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
form button {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    margin-top: 10px;
}

/* Verbergen 'bekijk' knop in de webshop pagina. Indien terug nodig, dit verwijderen. */
.button.bekijk {
    display: none;
}

#editform input,
#editform textarea {
    width: 100%;
    margin-bottom: 10px;
}
#eetfestijn {
    border: 2px solid #ddd;
    padding: 20px;
    margin: 30px auto;
    background-color: #fafafa;
    text-align: center;
}

.bestel-link {
    display: inline-block;
    background-color: #e60000;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.bestel-link:hover {
    background-color: #b30000;
}

