/* Add CSS styles for your web site here and use them in index.html. */
*{
    box-sizing: border-box; 
}
body{
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #fdfae7;
}
img{
    max-width: 100%;
    height: auto;
}

/* Styling Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fdfae7;
    padding: 10px;
}
.site-nav{ 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 15px 20px;   
}

.site-nav a{
    background-color: #e5dfd1;
    color: #303e45;

    text-decoration: none;
    font-weight: bold;

    padding: 10px 18px;
    border-radius: 15px;
}
.site-nav a:hover {
    color: #df4b41;
}
/*Styling logo banner and announcement ribbon*/
.logo-banner {
    height: 500px;
    background-image: url("img/image1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    box-shadow: inset 0 0 40px 5px #fdfae7;
    position: relative;
}
.announcement-bar{
    position: absolute;
    left: 22%;
    bottom: 5%;
    background-color: #df4b41;
    color: #fdfae7;
    padding: 30px 18px;
    box-shadow: inset 0 0 15px 5px #fdfae7;
    font-weight: bold;
    border-radius: 15px;
    display: none;
    animation: announcement-pulse 3s ease-in-out infinite;
}
@keyframes announcement-pulse{
    0%, 100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.05);
    }
}
/* Styling About Section */
.about-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    
}

.about-section h2 {
    color: #303e45;
    font-size: 2rem;
    margin-bottom: 20px;
    
}

.about-section p {
    color: #303e45;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 16px;

}

.about-section p:last-of-type {
    margin-top: 20px;
}

.established {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 25px auto;
    color: #8a7f6a;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.established::before,
.established::after {
    content: "";
    height: 1px;
    width: 40px;
    background-color: currentColor;
}
.team-photo-crop {
    max-width: 850px;
    margin: 35px auto 0;
    overflow: hidden;
    border-radius: 18px;

    aspect-ratio: 5 / 3;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
/*Styling Food slider section*/
.food-gallery-section {
    padding: 30px 0;
    text-align: center;
    color: #303e45;
}

.food-gallery-section h2 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 2rem;
}

.food-slider {
    width: 100%;
    overflow: hidden;
    background-color: #df4b41;
    padding-top: 20px;
    padding-bottom: 20px;
}

.food-track {
    display: flex;
    gap: 0px;
    width: max-content;

    animation: food-scroll 25s linear infinite;
}

.food-track img {
    width: 300px;
    height: 220px;
    object-fit: cover;
   
    flex-shrink: 0;
}

@keyframes food-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Styling Footer Section */
.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
    background-color: #8ed9f9;
    color: #303e45;
}

.footer-section {
    /*flex: 1;*/
}

.footer-section h3 {
    margin-top: 0;
    color: #303e45;
}

.footer-section p {
    line-height: 1.6;
}

.footer-section a {
    color: #303e45;
    text-decoration: none;
}

.footer-section a:hover {
    color: #df4b41;
}
.footer-logo {
    width: 250px;
    height: 250px;

    flex-shrink: 0;

    background-image: url("img/logo.PNG");
    background-repeat: no-repeat;

    background-size: contain;
    background-position: left center;

    box-shadow: inset 0 0 25px 15px #8ed9f9;
}
.facebook-link{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #303e45;
}
.facebook-link i {
    font-size: 1.5rem;
}
.menu-image-wrapper {
    position: relative;
    width: 100%;
              /* optional cap max-width: 1200px;*/
    margin: 0 auto;
    container-type: inline-size; /* makes cqw units work */
}

.menu-image-wrapper img {
    width: 100%;
    display: block;
}

/* shared styles for ALL price boxes */
.price {
    position: absolute;
    white-space: nowrap;
    background-color: white;
    color: #2f6f7e;
    font-weight: 800;
    font-size: 1.4cqw;            /* scales with the image */
    line-height: 1;
    padding: 0.2cqw 0.4cqw;
}

/* smaller text for multi prices */
.price.small {
    font-size: 0.85cqw;
}

/* Menu Page 1 - Lunch/Dinner */
.agedashi-price      { left: 46.7%; top: 28.4%; }
.cheese-fried-price  { left: 68%;   top: 28.4%; }
.gyouza-price        { left: 10%;   top: 56.2%; }
.yasaitame-price-veg { left: 50.2%; top: 57.3%; }
.yasaitame-price-nveg{ left: 50.2%; top: 59.6%; }
.korokke-price       { left: 75%;   top: 56.4%; }
.prawn-fried-price   { left: 15.3%;   top: 84.4%; }
.syougayaki-price   { left: 44.7%;   top: 84.4%; }
.tonkatsu-price-pork   { left: 76.3%;   top: 85.8%; }
.tonkatsu-price-chicken   { left: 76.3%;   top: 87.8%; }
.tonkatsu-price-fish   { left: 76.3%;   top: 89.8%; }


/* Menu Page 2 - Lunch/Dinner */
.saba-sio-yaki-price     { left: 17.2%; top: 28.2%; }
.nijimasu-sio-yaki-price { left: 38.3%; top: 28.7%; }
.saba-nitsuke-price      { left: 77.5%; top: 28%; }

.fish-teriyaki-price     { left: 16.3%; top: 58.4%; }
.teriyaki-price          { left: 44.9%; top: 57.8%; }
.happosai-price          { left: 75.0%; top: 57.8%; }

.gyu-niku-piman-price    { left: 13.2%; top: 84.6%; }
.prawn-chilly-price      { left: 44.7%; top: 84.6%; }
.tori-niku-piman-price   { left: 76.3%; top: 84.6%; }


/* Menu Page 3 - Lunch/Dinner */
.mabou-tofu-price         { left: 14%; top: 26%; }
.umekatsu-price           { left: 49.2%; top: 24.2%; }
.cheesekatsu-price        { left: 47%; top: 26.5%; }
.nasu-miso-itame-price    { left: 79%; top: 24.8%; }

.tori-karaage-price       { left: 15%; top: 54.5%; }
.tori-karaage-spicy-price { left: 50.9%; top: 56%; }
.yakitori-price           { left: 82%; top: 51.2%; }
.sio-yakitori-price       { left: 78%; top: 57.2%; }

.mix-tempura-price        { left: 15%; top: 80.8%; }
.veg-tempura-price        { left: 17%; top: 89.8%; }
.prawn-tempura-price      { left: 17%; top: 95%; }
.tofu-steak-price         { left: 47.2%; top: 84.5%; }
.chicken-nanban-price     { left: 81%; top: 82.5%; }


/* Menu Page 4 - Donburi */
.katsudon-price    { left: 53%; top: 26.5%; }
.tendon-price      { left: 85%; top: 26.5%; }

.chukadon-price    { left: 20.5%; top: 55.8%; }
.teriyakidon-price { left: 57.8%; top: 55.8%; }
.tamagodon-price   { left: 87%; top: 55.4%; }

.oyakodon-price    { left: 19%; top: 85.8%; }
.butadon-price     { left: 54%; top: 84.5%; }
.mabodon-price     { left: 91%; top: 85%; }


/* Menu Page 5 - Sushi */
.kappamaki-price           { left: 54%; top: 25.3%; }
.norimaki-price            { left: 86.5%; top: 24.5%; }

.tuna-nigiri-price         { left: 20%; top: 55.5%; }
.tuna-mayo-maki-price      { left: 60%; top: 56.3%; }
.chicken-cutlet-maki-price { left: 83%; top: 55.5%; }

.salmon-nigiri-price       { left: 23.6%; top: 87%; }
.prawnmaki-price           { left: 57%; top: 85%; }
.mix-sushi-plate-price     { left: 88%; top: 85.5%; }


/* Menu Page 6 - Ramen */
.avocado-roll-price        { left: 31%; top: 28%; }
.avocado-salmon-roll-price { left: 32%; top: 30.2%; }

.chasumen-price            { left: 26%; top: 57.5%; }
.simple-ramen-price        { left: 63%; top: 57.5%; }
.miso-ramen-price          { left: 89%; top: 57.5%; }

.thanmen-price             { left: 22%; top: 86.5%; }
.tamago-ramen-price        { left: 54%; top: 86%; }
.ramen-half-chahan-price   { left: 86%; top: 87%; }


/* Menu Page 7 - Bento and Curry */
.regular-bento-price { left: 25%; top: 40.8%; }
.sushi-bento-price   { left: 84.4%; top: 41.2%; }

.katsu-curry-price   { left: 19.2%; top: 86.7%; }
.veg-curry-price     { left: 52%; top: 86.9%; }
.chicken-curry-price { left: 87%; top: 86.8%; }


/* Menu Page 8 - Udon, Soba and Rice */
.tempura-udon-price         { left: 60%; top: 26.5%; }
.toriudon-price             { left: 86.5%; top: 26.5%; }

.simple-udon-price          { left: 26.5%; top: 55.5%; }
.curry-udon-price           { left: 48.5%; top: 55.5%; }
.yaki-udon-price            { left: 82.5%; top: 55.5%; }

.simple-soba-price          { left: 26.5%; top: 69%; }
.vegetable-fried-rice-price { left: 55.4%; top: 69%; }
.mixed-fried-rice-price     { left: 85.7%; top: 69%; }

.ojiya-price                { left: 15.5%; top: 84%; }
.okayu-price                { left: 51%; top: 84%; }
.onigiri-price              { left: 86.4%; top: 84%; }


/* Menu Page 9 - Salad */
.hiyayakko-tofu-price  { left: 58%; top: 26%; }
.tofu-salad-price      { left: 91%; top: 26%; }

.rice-noodle-salad-price { left: 29%; top: 55.8%; }
.boiled-veg-salad-price  { left: 63%; top: 55.8%; }
.goma-ae-price           { left: 84%; top: 55.5%; }

.green-salad-price    { left: 28.5%; top: 82.6%; }
.karashi-ae-price     { left: 56.5%; top: 83%; }
.sunomono-price       { left: 89%; top: 85%; }


/* Menu Page 10 - Dessert/Drink */
.custard-pudding-price {
    left: 71.5%;
    top: 35.2%;
}

.icecream-price        { left: 18.4%; top: 35.2%; }
.chocolate-sundae-price { left: 48.6%; top: 35.2%; }

/* Cover discontinued Green Tea Ice Cream */
.green-tea-cover {
    position: absolute;
    left: 80%;
    top: 12%;
    width: 20%;
    height: 29%;
    background-color: #f9f9f9;
}

.menu-gallery > img{
    width: 100%;
    display: block;
}
.mobile-banner {
    display: none;
}

@media (max-width: 600px) {
    .logo-banner {
        height: auto;
        background-image: none;
        box-shadow: none;
    }

    .mobile-banner {
        display: block;
        width: 100%;
        height: auto;
    }
}
/* Mobile Hamburger Navigation */
.menu-toggle {
    display: none;
}

@media (max-width: 600px) {
    .site-header {
        display: flex;
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
        align-self: flex-end;
        background-color: #e5dfd1;
        color: #303e45;
        border: none;
        border-radius: 10px;
        padding: 10px 16px;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .site-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        padding: 15px 0;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        text-align: center;
    }
}