*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hamburger,
.nav-logo,
.reserveer-btn,
.lang{
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

body{
    min-height: 100svh;
    overflow-x: hidden;
}

.nave{
    position: fixed;
    top: 0;
    width: 100%;
    height: clamp(7rem, 16vh, 12rem);
    background-color: #999280;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3vw;
    z-index: 1000;
}

.nav-left,
.nav-right{
    display: flex;
    align-items: center;
    gap: 2vw;
}

.nav-logo{
    width: auto;   /* ❗ BELANGRIJK */
    flex-grow: 1;
    text-align: center;
}

.menu{
    display: none; /* oude menu verbergen */
}

.hamburger{
    position: relative;
}

.hamburger-icon{
    font-size: 3rem;
    color: white;
    cursor: pointer;
    display: block;
}

.menu-dropdown{
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #999280;
    border-radius: 1vh;
    min-width: 15vw;
    flex-direction: column;
    z-index: 2000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* FIX: Hamburger dropdown tonen wanneer checkbox is checked */
#toggleMenu:checked ~ .menu-dropdown{
    display: flex;
}

.menu-dropdown a{
    padding: 1.5vh 2vw;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.menu-dropdown a:hover{
    background-color: #786945;
    color: #8a8a8a;
}

.menu a{
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 2vw;
    font-family: sans-serif;
    padding: 1vh 1vw;
    transition: background-color 0.3s, color 0.3s;
}

.menu a:hover{
    background-color: #786945;
    color: #8a8a8a;
}

.nav-logo{
    width: 30vw;
    text-align: center;
    font-size: clamp(2.5rem, 4vw,4.5rem);
    letter-spacing: 0.5vw;
    color: white;
    line-height: 1;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav-logo span{
    display: block;
    font-size: clamp(0.8rem, 1.2vw, 1.2rem);
    letter-spacing: 0.2vw;
    opacity: 0.8;
}

.reserveer-btn{
    position: absolute;
    left: 75%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.reserveer-btn img{
    height: 10rem; /* was 5rem, nu dubbel zo groot */
    width: auto;
    transition: transform 0.2s ease;
}

.reserveer-btn img:hover{
    transform: scale(1.08);
}

.lang{
    position: relative;
    margin-left: auto;
    margin-right: 3vw;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-lang{
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    margin-left: 0.3rem;
}

.lang label{
    cursor: pointer;
}

.lang label img{
    width: clamp(20px, 2vw, 32px);
    margin-left: 0;
    cursor: pointer;
    transition: transform 0.2s;
    display: block;
}

.lang label img:hover {
    transform: scale(1.15);
}

/* FIX: Taal dropdown tonen wanneer checkbox is checked */
#toggleIdioma:checked ~ .dropdown {
    display: flex;
}

.dropdown {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #999280;
    border-radius: 1vh;
    display: none;
    flex-direction: column;
    min-width: 10vw;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dropdown a {
    padding: 1.2vh 2vw;
    text-decoration: none;
    color: white;
    font-size: 1.8vh;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.dropdown a:hover {
    background-color: #8d8982;
    color: #222;
}

.content {
    margin-top: clamp(7rem, 16vh, 12rem);
    padding-top: 0;
    min-height: calc(100vh - clamp(3.5rem, 8vh, 6rem));
    width: 100%;
    display: flex;
    flex-direction: column;
}

.index{
    margin-top: calc(-1 * clamp(7rem, 16vh, 12rem));
    padding-top: clamp(7rem, 16vh, 12rem);
    min-height: 100svh;
    display: flex;
    align-items: center;
    background-image: url(images/background.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pastapora{
    padding: 3%;
    width: 50%;
}

.imagen{
    position: relative;
    width: 50%;
    height: 60svh;
    overflow: hidden;
    background-color: transparent;
}

.imagen img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-color: transparent;
}

.imagen img.active{
    opacity: 1;
}

.texto,.horario{
    width: 100vw;
}

.texto{
    margin: 3%;
}

.horario{
    background: #999280;
    border-radius: 0;
    box-shadow: 0 0 40px #d4af3726;
    font-family: sans-serif;
    color:white;
}

.pag-menu {
    margin-top: clamp(7rem, 16vh, 12rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pag-menu img {
    max-width: 100%;
    width: 800px; 
}

h1,h2{
    text-align: center;
    font-family: sans-serif;
    font-size: bold;
}

p{
    text-align: justify;
    font-size: 1.5rem;
    font-family: sans-serif;
}

#equipo{
    text-align: right;
    font-family:'Segoe Script', cursive;
    font-size: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background-image: url(images/background.jpeg);
}

thead {
    background-color: var(--gold);
    color: var(--dark);
}

th, td {
    padding: 1em;
    text-align: center;
    color: white;
}

th {
    letter-spacing: 0.1em;
    font-weight: 600;
}

tbody tr {
    border-bottom: 0.08em solid #d4af3740;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background-color: #a09b92;
    transition: background-color 0.3s ease;
}

td {
    color: #4c4b4b;
}

@media (max-width: 768px) {

    .nave{
        height: clamp(5rem, 10vh, 8rem);
    }

    .index {
        flex-direction: column;
        height: auto;
        margin-top: calc(-1 * clamp(5rem, 10vh, 8rem));
        padding-top: clamp(5rem, 10vh, 8rem);
    }

    .imagen {
        width: 100%;
        height: 45svh;
    }

    .pastapora{
        width: 100%;
    }

    .nav-logo{
        font-size: clamp(3rem, 10vw, 5rem);
        width: auto;
        letter-spacing: 0.3vw;
    }

    .nav-logo span{
        font-size: clamp(1.2rem, 4vw, 2rem);
    }

    .hamburger-icon{
        font-size: 2.5rem;
    }

    .menu-dropdown{
        min-width: 40vw;
    }

    .reserveer-btn{
        position: static;
        transform: none;
    }

    .reserveer-btn img{
        height: 7rem;
    }

    .lang label img{
        width: clamp(32px, 5vw, 48px);
    }

    .current-lang{
        font-size: 1.8rem;
    }

    .pag-menu {
        margin-top: clamp(5rem, 10vh, 8rem);
    }
}