body{
    margin: 0px;
    padding: 0px;
    font-family: 'Inter', sans-serif;
}

body.no-scroll {
    overflow: hidden;
}

:root {
    --wrap-color: #36454f;
    --button-color: rgb(255, 60, 60);
    --sub-color: #888;
    --link-color: #0077cc;
    --desc-color: #595959;
    --gold-color: #d4af37;
}

section{
    display: contents;
}

.header{
    margin-top: 50px;
    font-size: clamp(24px, 5vw, 45px);
}

.desc{
    font-size: clamp(16px, 3vw, 25px);
    color: var(--desc-color);
}

/*  Page Content Blur for Ham Menu  */
.page-content.menu-open .overlay {
    opacity: 100;
    pointer-events: auto;
}

#logo-container.menu-open .overlay {
    opacity: 100;
    pointer-events: auto;
}

.page-content .overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2; 
}

/*  Start of Nav */
.navbar {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    color: white;
    text-align: center;
}

.navbar ul{
    display: flex;
    justify-content: space-evenly;
    gap: 25px;
    list-style: none;
    margin-left: auto;
    margin-right: 50px;
}

.navbar a{
    text-decoration: none;
    color: white;
    font-size: 25px;
}

#logo{
    width: 50px;
    height: 50px;
    margin-left: 25px;
}

#logo-container{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#lang-switch-container{
    margin-right: 10px;
}

#site-name{
    margin-left: 10px;
}

header{
    background-color: black;
    width: 100%;
    z-index: 2;
}

.lang-switch{
    background-color: black;
    border: none;
    cursor: pointer;
}

.sub {
    font-size: 15px;
    color: var(--sub-color);
    display: block;
}

#en-btn{
    width: 50px;
    height: 30px;
}

#jp-btn{
    width: 50px;
    height: 30px;
}

/*  End of Nav */

/* Start of Ham Menu */
.ham-menu{
    height: 60px;
    width: 40px;
    position: relative;
    display: none;
    z-index: 200;
    margin-right: 20px;
    cursor: pointer;
}

.ham-menu span{
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}

.ham-menu span:nth-child(1) {
    top: 25%;
}

.ham-menu span:nth-child(3) {
    top: 75%;
}

.ham-menu.active span {
    background-color: black;
}

.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ham-menu.active span:nth-child(2) {
    opacity: 0;
}

.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
/* End of Ham Menu */

/* Start of Off screen menu */
.off-screen-menu{
    height: 100vh;
    width: 100%;
    max-width: 340px;
    position: fixed;
    top: 0;
    right: -640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 50px;
    transition: right .3 ease-in-out;
    z-index: 4;
    background-color: white;
}

.off-screen-menu ul li a {
    position: relative;
    text-decoration: none;
    font-size: 20px;
    color: black;
}

.off-screen-menu ul li:hover {
    transform: scale(1.05);
}

.off-screen-menu ul{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.off-screen-menu ul li{
    border-bottom: 1px solid rgb(128, 128, 128);
    width: 80%;
    padding-bottom: 10px;
}

.off-screen-menu.active{
    right: 0;
}
/* End of Off Screen Menu */

.on-screen-menu{
    margin-left: auto;
}

/* Start of Subheader */
.subheader{
    background-color: var(--wrap-color);
    margin: 0px;
    padding: 20px;
    color: white;
    text-align: center;
    font-weight: bold;
}

.subheader-link{
    color: white
}
/* End of Subheader */

/* Hero */
#hero-img-container{
    display: block;
    width: 100%;
    position: relative;
    height: 700px;
    aspect-ratio: 951 / 700;
}

#hero-overlay{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#hero-overlay h1{
    color: white;
    margin: 10px;
    text-shadow: 4px 4px 4px rgb(0, 0, 0, 0.4);
    font-size: clamp(30px, 5vw, 48px);
}

#hero-overlay button{
    border: none;
    border-radius: 10px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
    background-color: var(--button-color);
    color: white;
    box-shadow: 4px 4px 4px rgb(0, 0, 0, 0.4);
}

#hero-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* End of Hero */

/* Start of Reviews */
#reviews-wrap{
    text-align: center;
    background-color: var(--wrap-color);
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

.review-img{
    width: 500px;
    border-radius: 10px;
}

#reviews-header{
    margin-bottom: 50px;
}

#reviews-gallery{
    width: 100%;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

#reviews-gallery div{
    width: 100%;
    flex: none;
    display: grid;
    place-items: center;
    scroll-snap-align: start;
    box-sizing: border-box;
}

#reviews-gallery span{
    display: block;
    width: 100%;
    max-width: 1280px;
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.6;
    word-wrap: break-word;
    box-sizing: border-box;
}

#reviews-gallery::-webkit-scrollbar{
    display: none
}

#forward-btn, #back-btn{
    cursor: pointer;
    text-align: center;
    margin: 10px;
}
/* End of Reviews */

/* Start of Desc */
.desc-styles-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    grid-template-areas: 
    "desc-img desc-text-container"
    "styles-desc-container styles-img";
    background-color: white;
    padding: 4rem;
    align-items: center;
}

#desc-img{
    max-width: 600px;
    grid-area: desc-img;
    margin: 0 auto;
    width: 100%;
}

#desc-text-container{
    grid-area: desc-text-container;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}

#desc-text-container h2 {
    font-size: clamp(24px, 5vw, 35px);
    margin: 0px;
}

#desc-text {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--desc-color);
}
/* End of Desc */

/* Start of Styles */
#styles-img{
    grid-area: styles-img;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

#styles-desc-container{
    grid-area: styles-desc-container;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
}

#styles-desc-container h2{
    font-size: clamp(24px, 5vw, 35px);
    margin: 0px;
}

#styles-desc{
    font-size: clamp(16px, 3vw, 20px);
    color: var(--desc-color);
}

.container-buttons{
    width: 200px;
    border: none;
    background-color: var(--button-color);
    height: 35px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
}
/* End of Styles */

/* Start of Footer */
footer{
    background-color: black;
    color: white;
    padding: 20px;
}

#footer-container{
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#copyright{
    font-weight: bold;
    margin-right: 10px;
}

#socials-container{
    font-size: 30px;
    margin-left: 10px;
}

.social-icons{
    color: white;
}
/* End of Footer */

/* Start of Styles page */
.styles-page-container{
    text-align: center;
}

#styles-page-header{
    margin-top: 50px;
    font-size: clamp(24px, 5vw, 45px);
    margin-bottom: 15px;
}

#styles-page-desc{
    padding-bottom: 15px;
    max-width: 1280px;
    margin: 0 auto;
    font-size: clamp(16px, 3vw, 25px);
    color: 	#595959;
}

#styles-page-desc-link{
    color: #0077cc;
    text-decoration: none;
}

#styles-page-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    margin-bottom: 75px;
    padding: 20px;
}

.styles-page-img{
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#styles-page-subheader{
    background-color: var(--sub-color);
    margin: 0px;
    padding: 20px;
    color: white;
    text-align: center;
    font-weight: bold;
}

#styles-page-subheader-link{
    color: white
}

.styles-page-container{
    min-height: 100dvh;
}
/* End of Styles page */

/* Start of Team Page */
.team-page-container{
    text-align: center;
    min-height: 80dvh;
}

#team-page-header{
    margin-top: 50px;
    font-size: clamp(24px, 5vw, 45px);
}

#team-page-desc{
    max-width: 1280px;
    margin: 0 auto;
    font-size: clamp(16px, 3vw, 25px);
    color: 	#595959;
    padding-left: 10px;
    padding-right: 10px;
}

#team-page-cards-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-card{
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 550px;
    width: 100%;
    margin: 50px;
}

.team-img{
    width: 100%;
}

.team-card p {
    color: var(--desc-color);
    font-size: clamp(16px, 3.5vw, 20px);
}

.team-card h2{
    font-size: clamp(20px, 5vw, 30px);
}
/* End of Team Page */

/* Start of Location Page */
#location-page-container{
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}

#map-container{
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Wide rectangle look */
    overflow: hidden;
    border-radius: 12px;
    max-width: 1280px;
    box-sizing: border-box;
}

#map{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#location-header{
    margin-bottom: 0px;
}

#location-desc{
    max-width: 1280px;
}

#map-desc h3{
    font-size: clamp(20px, 4vw, 28px);
}

#map-desc p{
    font-size: clamp(16px, 3.5vw, 20px);
    color: var(--desc-color);
}

#map-desc{
    margin-bottom: 20px;
}

#map-desc a {
    color: var(--link-color);
    text-decoration: none;
}
/* End of Location Page */

/* Start of Menu Page */
#menu-page-container{
    min-height: 100dvh;
    margin: 20px;
}

#menu-card-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.course-card{
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    max-width: 1440px;
    width: 100%;
    margin: 10px;
}

.course-btn{
    border: none;
    border-radius: 10px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
    font-weight: bold;
    background-color: var(--button-color);
    color: white;
    box-shadow: 4px 4px 4px rgb(0, 0, 0, 0.4);
    cursor: pointer;
    width: 150px;
    font-size: clamp(10px, 3vw, 14px);
}

.course-button-container{
    margin: 20px;
    margin-right: 40px;
}

.course-card-desc-container{
    margin: 20px;
    margin-left: 40px;
    max-width: 1100px;
}

.course-card-desc-container h2{
    color: var(--gold-color);
    font-size: clamp(20px, 4vw, 28px);
}

#menu-header{
    text-align: center;
}

#menu-desc{
    text-align: center;
}

.course-card-desc-container p {
    font-size: clamp(14px, 2vw, 20px);
}

.course-desc{
    color: var(--desc-color)
}

.price{
    font-size: clamp(14px, 2vw, 20px);
    font-weight: bold;
}

#menu-page-subheader{
    background-color: var(--wrap-color);
    margin: 0px;
    padding: 20px;
    color: white;
    text-align: center;
    font-weight: bold;
}

#menu-page-subheader-link{
    color: white;
}

.course-btn-sub{
    font-size: var(--desc-color);
    font-size: 12px;
}
/* End of Menu Page */

/* Start of Booking Page */
#booking-page-container{
    min-height: 100dvh;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}

#booking-page-container a{
    color: var(--link-color);
    text-decoration: none;
}

#selected-header{
    font-size: clamp(20px, 4vw, 28px);
}

#selected-course{
    color: var(--gold-color);
    font-size: clamp(14px, 2vw, 20px);
    font-weight: bold;
}

#selected-price{
    font-size: clamp(14px, 2vw, 20px);
}

#selected-desc{
    color: var(--desc-color);
    font-size: clamp(14px, 2vw, 20px);
}

#selected-course-container{
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 12px;
}
/* End of Booking Page */

.container {
    max-width: 1440px;
    margin: 0 auto;
}    

@media (min-width: 1281px) {
    .off-screen-menu{
        display: none;
    }

    .page-content .overlay {
        backdrop-filter: blur(0px);
        background: none;
    }
}

@media (max-width: 1280px) {
    .ham-menu{
        display: block;
    }

    .on-screen-menu{
        display: none;
    }

    #lang-switch-container{
        margin-right: 10px;
        margin-left: auto;
    }
}

@media (max-width: 992px) {
    .desc-styles-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
        "desc-img"
        "desc-text-container"
        "styles-img"
        "styles-desc-container";
        text-align: center;
        padding: 2rem;
    }

    #desc-img,
    #desc-text-container,
    #styles-img,
    #styles-desc-container {
        max-width: 100%;
    }

    .container-buttons{
        margin: 0 auto;
    }

    #footer-container{
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    #team-page-cards-container{
        flex-wrap: wrap;
    }

    #location-page-container{
        min-height: 80dvh;
    }
}

@media (max-width: 640px) {
    #site-name{
        display: none;
    }

    #logo{
        margin-top: 10px;
        margin-bottom: 10px;
    }

    #menu-card-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .course-card{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0px;
        text-align: center;
    }
    
    .course-button-container{
        margin: 0px;
        margin-bottom: 20px;
    }

    .course-card-desc-container{
        margin: 20px;
        margin-bottom: 10px;
    }
}

@media (max-width: 475px) {
    .off-screen-menu{
        max-width: 475px;
        right: -480px;
    }
}

@media (max-width: 425px) {
    .team-card{
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-width: 600px;
        width: 100%;
        margin: 5px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
}

@media (max-width: 375px) {
    #lang-switch-container{
        margin: 0 auto
    }

    #styles-page-grid{
        margin-bottom: 10px;
    }
}

@media (max-width: 320px) {
    #styles-page-header{
        padding: 0px;
    }

    .header{
        margin-top: 30px;
    }

    #hero-overlay{
        width: 80%;
    }
}