
/* Alle elementen worden netjes berekend */
* {
    box-sizing: border-box;
}

/* Algemene instellingen */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #f7f4ee;
    color: #292929;
    font-family: Arial, sans-serif;
}

/* Navigatiebalk */
.head1 {
    position: sticky;
    top: 0;
    z-index: 999;

    min-height: 82px;
    display: flex;
    align-items: center;
    padding: 0 55px;

    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #ded8cc;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Marriott-logo */
.logo {
    color: #840e0e;
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 4px;
    text-decoration: none;
    margin-right: 55px;
}

/* Navigatielinks */
.head1 nav {
    display: flex;
    gap: 25px;
    flex: 1;
}

.head1 nav a {
    position: relative;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.25s ease;
}

.head1 nav a:hover {
    color: #840e0e;
}

/* Knoppen rechts in de header */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-button,
.reserve-button {
    padding: 12px 17px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.login-button {
    color: #840e0e;
    border: 1px solid #840e0e;
    background: white;
}

.login-button:hover {
    background: #f5eeee;
}

.reserve-button {
    color: white;
    background: #840e0e;
    border: 1px solid #840e0e;
}

.reserve-button:hover {
    background: #a31515;
}

.welkom {
    font-size: 13px;
}

/* Achtergrond van de reserveringspagina */
.restaurant-booking {
    min-height: calc(100vh - 82px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 20px;
}

/* Witte kaart in het midden */
.booking-container {
    width: 100%;
    max-width: 650px;
    padding: 45px;
    background: white;
    border-top: 4px solid #a37c32;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

/* Kleine gouden tekst */
.booking-label {
    color: #a37c32;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
}

/* Hoofdtitel */
.booking-container h1 {
    margin: 15px 0;
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: normal;
    text-align: center;
}

/* Introductietekst */
.booking-intro {
    margin-bottom: 35px;
    color: #706a64;
    line-height: 1.8;
    text-align: center;
}

/* Formulier */
.booking-container form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Teksten boven de velden */
.booking-container label {
    margin-top: 10px;
    color: #332c27;
    font-size: 13px;
    font-weight: bold;
}

/* Datum en keuzelijsten */
.booking-container input,
.booking-container select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ded8cc;
    border-radius: 3px;
    background: white;
    color: #292929;
    font-family: Arial, sans-serif;
    font-size: 15px;
}

.booking-container input:focus,
.booking-container select:focus {
    outline: 1px solid #a37c32;
    border-color: #a37c32;
}

/* Reserveringsknop */
.booking-button {
    display: inline-block;
    margin-top: 25px;
    padding: 16px 25px;
    border: none;
    border-radius: 3px;
    background: #840e0e;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.booking-button:hover {
    background: #650909;
    transform: translateY(-2px);
}

/* Melding boven het formulier */
.melding {
    margin-bottom: 25px;
    padding: 18px;
    background: #f7f4ee;
    border-left: 4px solid #a37c32;
    line-height: 1.6;
}

/* Inloggen en bevestiging */
.login-required,
.booking-success {
    padding: 20px 0;
    text-align: center;
}

.login-required h2,
.booking-success h2 {
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: normal;
}

.login-required p,
.booking-success p {
    color: #706a64;
    line-height: 1.8;
}

/* Werkt ook goed op tablets en telefoons */
@media (max-width: 1000px) {
    .head1 {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        margin-right: 20px;
    }

    .head1 nav {
        gap: 15px;
        flex-wrap: wrap;
    }
}

/* Extra aanpassingen voor mobiele telefoons */
@media (max-width: 600px) {
    .head1 {
        flex-direction: column;
        align-items: flex-start;
    }

    .head1 nav {
        width: 100%;
    }

    .header-buttons {
        flex-wrap: wrap;
    }

    .restaurant-booking {
        padding: 30px 15px;
    }

    .booking-container {
        padding: 30px 20px;
    }

    .booking-container h1 {
        font-size: 32px;
    }
}
