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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'b612', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    color: #333;
}

section[id] {
    scroll-margin-top: 80px;
}

a {
    text-decoration: none;
    color: inherit;
}

.button:focus-visible, a:focus-visible {
    outline: 2px solid #B31B1B;
    outline-offset: 3px;
    border-radius: 4px;
}


/* navbar */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%; 
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 40px; 
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px; 
}

.nav-menu a {
    font-weight: 500;
    color: #444444;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #B31B1B; 
}

.navbar-rechts{
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 1.1rem;
}

.button {
    background-color: #B31B1B;
    color: #ffffff;
    padding: 4px 7px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
}

.button:hover {
    background-color: #941616; 
    transform: translateY(-2px);
    cursor: pointer;
}

.hamburger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

/* hero */
.hero {
    height: 100vh; 
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('images/sushihavenhero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.hero-content {
    max-width: 1700px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 5rem; 
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5); 
}

.hero-content p {
    font-size: 2.5rem; 
    font-weight: 550;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.reserveren {
    margin-top: 40px;
}

.hero-button {
    padding: 10px 20px;
    font-size: 1.5rem;
}

/*Menu pagina*/
.titel-pagina{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    font-size: 2.5rem;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.317); 
}

#wrapper{
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    height: 500px;
    margin-bottom: 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.menu-card{
    background-color: #f4f4f4;
    border-radius: 30px;
    margin-top: 50px;
    height: 430px;
    width: 440px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}


.menu-card img{
    width: 320px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.413);
    height: auto;
    margin: auto;
    display: block;
    border-radius: 10px;
    margin-top: 1.2rem;
}

.menu-card button{
    background-color: #B31B1B;
    color: #ffffff;
    font-size: 15px;
    padding: 4px 7px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    margin-left: 1.5rem;
    width: 100px;
    height: 30px;
    border: none;
    outline: none;
    margin-top: 0.8rem;
}

.menu-card p{
    padding-top: 8px;
}

.menu-text {
    margin-left: 1.5rem;
    margin-top: 20px;
}

#full-menu{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-top: 1rem;
    font-weight: bold;
    border: none;
    font-size: 23px;
    height: 55px;
    border-radius: 15px;
    text-shadow: 2px 2px 4px #333;
    width: 150px;
}

/* Over ons pagina*/
#overons-pagina{
    background-image: url("images/overons-background.jpg");
    margin-top: 4rem;
    padding: 3rem;
    padding-left: 5rem;
}

#overonsh1{
    font-size: 3rem;
    color: #941616;
    margin-top: 3rem;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.317); 
}

#overons-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10rem;
    gap: 30px;
}

#overons-text{
    height: auto;
    width: 38rem;
    margin-top: 2.1rem;
    line-height: 1.8em;
}

#overons-imagediv{
    width: 30em;
    height: 30em;
}

#overonsimage{
    width: 100%;
    margin-top: 4rem;
    height: auto;
    border-radius: 15px;
}

/* Locatie & openingstijden*/
#locatietijden-pagina {
    padding: 20px;
}

#restaurant-info{
    background-color: #f4f4f4;
    width: 30rem;
    height: 24rem;
    padding: 1.5rem;
    margin: 5rem;
    border-radius: 20px;
}

#restaurant-info p{
    padding-top: 10px;
}

.info-title{
    font-size: 1.2rem;
    font-weight: bolder;
}

i{
    font-size: 19px;
    padding-right: 1.8em;
    width: 20px;
    text-align: center;
}

#tijdeninfo{
    display: flex;
    justify-content: space-between;
}

#openingstijden-image{
    height: 30em;
    width: auto;
    border-radius: 10px;
}

#info-wrapper{
     display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

#cta-openingsinfo{
    width: 100%;
    text-align: center;
    padding: 40px 0;
}

.cta-button{
    width: 8rem;
    height: 2.8rem;
    border-radius: 12px;
    border: none;
    margin: 1rem;
    font-size: 20px;
}

/* footer*/
footer {
    padding: 0 5%;
}
footer[id] {
    scroll-margin-top: 0;
}

#footer-content{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

#logogroot-img{
    width: 15em;
    height: auto;
}

#logo-footer{
    width: 22em;
    text-align: center;
}

#logo-footer p{
    margin-top: 0.8em;
    font-size: 0.8rem;
}

#locaties-footer a {
    cursor: pointer;
    line-height: 2;
}

#socials-footer i {
    font-size: 24px;
    margin: 0 10px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

#socials-footer i:hover {
    color: #B31B1B;
    transform: scale(1.15);
}


/* responsiveness */

@media (max-width: 992px) {
    
    .hamburger { 
        display: block; 
    }

    .navbar-rechts {
        position: fixed; 
        left: -100%; 
        top: 71px; 
        width: 100%; 
        height: 100vh;
        background-color: #ffffff; 
        flex-direction: column; 
        align-items: center;
        padding-top: 40px; 
        gap: 40px; 
        transition: left 0.3s ease-in-out;
    }

    .navbar-rechts.active { 
        left: 0; 
    }

    .nav-menu { 
        flex-direction: column; 
        align-items: center; 
        gap: 40px; 
        font-size: 1.5rem; 
    }
    
    #overons-content, #info-wrapper, #footer-content {
        flex-direction: column; 
        align-items: center; 
        padding-right: 0;
    }

    .hero-content h1 { font-size: 3.5rem; }
    .hero-content p { font-size: 1.8rem; }

    #wrapper {
        flex-direction: column; align-items: center; height: auto;
        gap: 40px; 
        margin-bottom: 2rem;
    }

    .menu-card {
        width: 90%; 
        max-width: 440px; 
        margin-top: 0; 
        height: auto; 
        padding-bottom: 20px;
    }

    #overons-pagina { 
        padding: 3rem 1.5rem; 
    }

    #overons-text, #overons-imagediv { 
        width: 100%; 
        max-width: 38rem; 
    }

    #overonsimage { 
        margin-top: 1rem; 
    }

    #info-wrapper { 
        justify-content: center; 
    }

    #restaurant-info { 
        margin: 1rem 0;
     }
    #openingstijden-imgdiv { 
        display: none; 
    }

    #footer-content { 
        text-align: center;
     }
    #socials-footer, #locaties-footer, #logo-footer { 
        width: 100%; 
        height: auto;
     }

    #socials-footer i { 
        margin: 0 15px; 
    }
}

@media (max-width: 576px) {
    section[id] { 
        scroll-margin-top: 75px; 
    }
    .hero-content h1 { 
        font-size: 2.8rem;
     }

    .hero-content p { 
        font-size: 1.5rem;
     }
    .titel-pagina, #overonsh1 { 
        font-size: 2rem;
     }
    #cta-openingsinfo { 
        display: flex; 
        flex-direction: column;
        align-items: center; 
        gap: 1rem; 
    }

    .cta-button { 
        margin: 0; 
        width: 10rem;
    }
}