html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    width: 100%;
    background-color: #fff;
}

a {
    color: #ff4400;
    transition: color 0.3s ease;
}

a:hover {
    color: #333;
}

ul {
    margin: 0;
    padding-left: 1.2rem;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    height: 70px;
    padding: 10px 20px 0;
    border-bottom: 1px solid #999;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 9999;
}

.nav-list {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-content: space-between;
    font-weight: 500;
}

.nav-list li a {
    text-decoration: none;
}

nav li.menu-selected a, li.menu-selected a {
    color: #FF6600;
    font-weight: bold;
}

nav li.menu-selected a:hover, li.menu-selected a:hover {
    color: #ccc;
    font-weight: bold;
}

.top-banner {
    width: 100%;
    height: 380px;
    overflow: hidden;
}

@media (width < 780px) {
    .top-banner {
        height: 280px;
    }
}

.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: inline;
    margin-right: 2rem;
}

img.logo {
    max-height: 60px;
    max-width: 270px;
}

.nologo {
    display: inline-block;
    padding-top: 1rem;
    font-size: 1.6rem;
}

nav {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    float: right;
    padding-top: 1rem;
    max-width: 760px;
}

@media (width < 830px) {
    nav {
            max-width: 530px;
        }
}

nav a, .selected-language {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.selected-language {
    font-weight: bold;
}

nav a:hover {
    color: #ccc;
}


/******************* HAMBURGER MENU *******************/

.hamburger-menu {
    display: none;
}

/* Hamburger button */
.menu-button {
    display: flex;
    flex-direction: column;
    position: relative;
    float: right;
    justify-content: space-around;
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    padding: 12px;
    margin: 6px 0;
    border-radius: 8px;
    z-index: 2000;
    min-width: 0;
    background-color: #ccc;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 2px;   /* bar thickness */
    border-radius: 2px;
    transition: all 0.3s ease;
    background-color: #222;
}

button#menu-button:focus {
    outline: none;
}

/* Animate into cross */
.menu-button.open span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 6px);
}
.menu-button.open span:nth-child(2) {
    opacity: 0;
}
.menu-button.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
}

/******************* TOP SLIDING MENU *******************/
.menu-top-slide {
    position: fixed;
    top: 80px;            /* start just below header */
    left: 0;
    width: 100%;
    max-height: 0;        /* collapsed */
    overflow: hidden;
    transition: max-height 0.6s ease;
    z-index: 1500;        /* lower than header */
}

.menu-top-slide ul {
    list-style: none;
    margin: 0;
    background-color: #fff;
    padding: 0 2rem 2rem;
}

.menu-top-slide li.item {
    padding: 0.5rem 0;
}

.menu-top-slide a {
    display: block;
    width: 100%;
}

.nav-lang a {
    display: inline;
}

.menu-top-slide li.item.nav-lang {
    border-bottom: 0;
}

.menu-top-slide.open {
    max-height: 430px;
    background-color: #fff;
}

.item {
    width: 100%;
    display: inline-block;
    padding-top: 12px;
}

.item a {
    text-decoration: none;
    color: #333;
    transition: color 0.4s ease, text-decoration 0.4s ease;
}

.item, .item a:hover {
    color: #ccc;
}

/******************* DISPLAY HAMBURGER MENU FOR SMALL SCREENS *******************/

@media (width < 780px) {
    nav {
        display: none;
    }

    .logo {
        display: inline;
        margin-right: 0;
    }

    .hamburger-menu {
        position: relative;
        display: inline;
    }
}

h1 {
    font-size: 1.7em;
}

main {
    flex: 1;
    padding: 20px 20px 40px;
}

.content {
    padding: 20px;
}

.grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

label {
    display: block;
    margin-top: 1rem;
}

:where(input, select, textarea):not([type=checkbox], [type=radio]) {
    padding: 0.5rem;
    background-size: 1rem auto;
    background-repeat: no-repeat;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 0.25rem;
    font-size: 1rem;
    width: 270px;
}

select {
    width: 288px!important; /* or 100% if you prefer */
}

.btn, button {
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    min-width: 150px;
    background-color: #FF6600;
    display: inline-block;
    text-align: center;
}

button {
    display: block;
    margin-top: 1rem;
}

a.btn, button {
    transition: background-color 0.3s ease;
}

a.btn:hover, button:hover {
    color: white;
    background-color: #ccc;
}

.announcement-bar {
    background: #fff3cd;
    color: #856404;
    margin-bottom: 20px;
    border-left: 4px solid #ffcc00;
    font-size: 15px;
    max-width: 1200px;
}

.announcement-text {
    padding: 12px 16px;
}

/*To hide website input in form*/
.stuff {
    position: absolute;
    left: -9999px;
}

.home.grid {
    gap: 2rem;
    margin-bottom: 2rem;
}

.home .googlemap iframe {
    max-width: 100%!important;
}

/** CARROUSSEL **/
.fade-carousel {
    width: 100%;
    margin: 20px 0;
}

.fade-carousel h1 {
    margin-top: 0;
}

.fade-frame {
    position: relative;
    width: 100%;
    height: 400px; /* adjust as needed */
    overflow: hidden;
    border-radius: 6px;
}

.fade-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.fade-slide.active {
    opacity: 1;
}

.fade-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ⭐ Arrows over the image */
.over-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 4px;
    z-index: 10;
    transition: background 0.2s;
    min-width: 50px;
}

.over-arrow:hover {
    background: rgba(0,0,0,0.65);
}

.fade-prev {
    left: 10px;
}

.fade-next {
    right: 10px;
}


/** MENUS PAGE **/
.service-details {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.menu-section {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

@media (width < 780px) {
    .menu-section {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    .menu-section.home-concept.grid {
        padding-top: 2.5rem;
    }
}

.menu-item {
    display: flex;
    gap: 1.5rem;
    padding: 10px 10px 10px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.menu-photo {
    max-width: 150px;
    max-height: 150px;
    display: block;
}

.item-part-picture {
    flex-shrink: 0;
    aspect-ratio: 1 / 1; /* 1:1 container */
    overflow: hidden;
    width: 150px;
}

.item-part-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps 3:4 ratio, no stretching */
    object-position: center; /* center crop */
}

@media (width < 768px) {
    .menu-item {
        display: block;
        gap: 0;
        padding: 0;
        background: #fff;
        border: none;
    }

    .menu-photo {
        max-width: 100%;
        max-height: 100%;
        display: block;
    }

    .item-part-picture {
        aspect-ratio: 16 / 9; 
        overflow: hidden;
        width: 100%;
        margin-bottom: 1rem;
    }
}

.item-part-text { 
    flex: 1; 
}

.item-part-text h3 {
    margin-top: 0;
}

.item-part-text p {
    margin-bottom: 0;
}

.price {
    font-weight: bold;
    margin-top: 5px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.photo-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

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



.takeout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.takeout-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    min-width: 170px;
}

.takeout-btn.phone { background: #d35400;  }
.takeout-btn.uber { background: #06c167; }
.takeout-btn.demaecan { background: #e60012; }
.takeout-btn.menu { background: #34495e; }

.takeout-btn:hover {
    opacity: 0.85;
}

.concept-item {
    margin-bottom: 40px;
}

.concept-item::after {
    content: "";
    display: block;
    clear: both; /* clears the float */
}

.item-part-concept-picture {
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    width: 200px;
    margin: 0 20px 20px 0;
    float: left;
}

.concept-img {
    width: 100%;
    max-width: 200px;
    height: 100%;
    max-height: 200px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

@media (width < 768px) {

    .concept-img {
        max-width: 100%;
        max-height: 100%;
        display: block;
    }

    .item-part-concept-picture {
        aspect-ratio: 16 / 9; 
        overflow: hidden;
        width: 100%;
        margin-bottom: 1rem;
    }
}

.concept-text {
    flex: 1 1 300px; /* allows full width when wrapping */
    min-width: 300px;
}

h2.address-title {
    margin-top: 0;
}

.menu-item.contact-form {
    background-color: #eee;
    width: fit-content;
    max-width: 500px;
    display: block;
    height: fit-content;
}

@media (width < 768px) {
    .menu-item.contact-form {
        background-color: #eee;
        width: unset;
        padding: 1rem;
    }
}

.googlemap iframe {
    width: 100%!important;
    max-width: 500px!important;
    height: 400px!important;
}

.form-error {
    background: #ffe5e5;
    color: #b30000;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

footer {
    background-color: #222;
    color: #eee;
    padding: 1.5rem 20px;
}

footer a:hover {
    color: #fff;
}

.grid-sns {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    padding-top: 1rem;
}

.footer-link {
    border-top: 1px solid #fff;
    margin-top: 1rem;
    padding-top: 1rem;
    text-align: center
}
