/* ============================================= */
/* ALGEMENE OPMAAK (zelfde voor alle pagina’s)   */
/* ============================================= */

html, body {
    font-family: Arial, sans-serif;
    background-color: #3d3d3d;
    color: #d5c28f;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

.logo {
    width: 15vw;
    max-width: 250px;
    height: auto;
}

.title {
    display: flex;
    align-items: center;
    justify-content: left;
    position: absolute;
    left: 2vw;
    top: 2.5rem;
    transform: translateY(-50%);
}

header {
    background-color: #575757;
    padding: 0.8rem;
    text-align: center;
}

header nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2vw;
}

header nav ul li a {
    color: #C7AE6A;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

header nav ul li a:hover {
    background-color: #b99a45;
    color: #3d3d3d;
}

/* ============================================= */
/* HERO-SECTIE (index.html)                      */
/* ============================================= */

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5vh;
    height: 40vh;
    position: relative;
    background: url('images/hero.jpg') no-repeat center center/cover;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.hero h2, .hero p {
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    color: #d5c28f;
}

/* ============================================= */
/* SPECIALITEITEN-SECTIE (index.html)             */
/* ============================================= */

.specialiteiten {
    padding: 2vh;
    text-align: center;
    background-color: #3d3d3d;
    color: #d5c28f;
    border-radius: 10px;
    padding-bottom: 8rem;
}

.specialiteiten-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.specialiteit {
    background-color: #575757;
    color: #C7AE6A;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.specialiteit:hover {
    transform: scale(1.05);
}

/* ============================================= */
/* MENU-SECTIE (menu.html)                       */
/* ============================================= */

.menu {
    background-color: #3d3d3d;
    color: #d5c28f;
    padding: 6vh 2vh 2vh; /* top-bodem padding, eventueel extra zij-padding */
    padding-bottom: 8rem;
    text-align: center;
}

.menu h1 {
    font-size: 2.5rem;
    color: #C7AE6A;
    margin-bottom: 1rem;
}

.menu h2 {
    font-size: 1.8rem;
    color: #b99a45;
    border-bottom: 2px solid #C7AE6A;
    padding-bottom: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* TAB-BUTTONS - scrollbare balk */
.tabs {
    display: flex;
    flex-wrap: nowrap;   /* géén wrap: alle knoppen op één rij */
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    overflow-x: auto;    /* horizontale scrollbar mogelijk */
    padding: 0.5rem 1rem;
    margin: 0 auto 2rem;
    background-color: #3d3d3d;
    border-radius: 8px;
}

.scrollable-tabs::-webkit-scrollbar {
    height: 6px;
}

.scrollable-tabs::-webkit-scrollbar-track {
    background: #575757;
    border-radius: 3px;
}

.scrollable-tabs::-webkit-scrollbar-thumb {
    background-color: #b99a45;
    border-radius: 3px;
}

.tabs {
    scrollbar-width: thin;
    scrollbar-color: #b99a45 #575757;
}

.tabs .tab-link {
    flex: 0 0 auto;           /* buttons krimpen niet, nemen alleen benodigde breedte in */
    background-color: #575757;
    color: #d5c28f;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.tabs .tab-link:hover {
    background-color: #b99a45;
    transform: scale(1.05);
}

.tabs .tab-link.active {
    background-color: #C7AE6A;
    color: #3d3d3d;
}

/* TAB-CONTENT - kaarten met naam + prijs */
.tab-content {
    display: none; /* alle tab-content beginnen verborgen */
}

.tab-content ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    padding: 2rem 0;
    list-style: none;
    margin: 0 auto;
    max-width: 1000px;
}

.tab-content ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #444;
    color: #f0e6c5;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-height: 80px;
}

.tab-content ul li:hover {
    background-color: #555;
    transform: translateY(-3px);
}

.tab-content ul li .dish-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tab-content ul li .dish-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: #f0e6c5;
    margin-bottom: 0.2rem;
}

.tab-content ul li .dish-desc {
    font-size: 0.95rem;
    font-weight: 400;
    color: #d5c28f;
}

.tab-content ul li .dish-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f0e6c5;
    white-space: nowrap;
}

/* Responsive: op smalle schermen zet prijs onder de naam */
@media screen and (max-width: 600px) {
    .tab-content ul li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .tab-content ul li .dish-price {
        align-self: flex-end;
    }
}

/* ============================================= */
/* CONTACT-SECTIE (contact.html)                 */
/* ============================================= */

.contact-info {
    background-color: #3d3d3d;
    padding: 4vh 2vh;
    text-align: center;
    border-radius: 10px;
    flex: 1;  /* zorgt dat contact-info indien nodig ruimte kan innemen */
}

.contact-info h2 {
    font-size: 2rem;
    color: #C7AE6A;
    margin-bottom: 1.5rem;
}

/* .contact-list stijlen zitten deels inline voor overzicht, maar je kunt dit in CSS verplaatsen */
.contact-info .social-media h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* BELANGRIJKE INFORMATIE */
.info-list {
    list-style-type: none;
    padding: 0;
    margin: 1rem auto;
    max-width: 600px;
    text-align: left;
    line-height: 1.5rem;
    color: #b99a45;
}

/* ============================================= */
/* FOOTER (alle pagina’s)                        */
/* ============================================= */

footer {
    background-color: #575757;
    color: #b99a45;
    text-align: center;
    padding: 2vh;
    font-size: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

footer p {
    margin: 1rem 0;
}

footer a {
    color: #C7AE6A;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

footer i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}
