/* RD Network BD template css start */

/* Global Styles */
html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: white;
    font-size: 14px;
    font-family: 'Oswald', 'Protest Strike', 'Lato', 'Lilita One', sans-serif;
    line-height: 1.6;
}

a {
    color: #333;
    text-decoration: none;
}

p {
    font-weight: 100;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Common Styles */
.w-40 {
    width: 40% !important;
}

.w-30 {
    width: 30% !important;
}

/* Header Styles */
.page-header {
    padding-top: 10px;
    padding-bottom: 10px;
}

.offcanvas-header {
    background: #f0f8ff87;
}

/* Sticky Header Styles */
.page-header.is-sticky {
    width: 100%;
    background: white;
    position: fixed;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: slideDown 0.35s ease-out;
    padding-top: 0px;
    z-index: 999;
}

.page-header.is-sticky img {
    max-width: 80%;
}

.page-header.is-sticky .navbar-nav .nav-link {
    color: #9E9E9E;
}

.page-header.is-sticky .navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #242424;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Navbar Styles */
.nav-link {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.15s ease-in-out;
}

.navbar-nav .nav-link {
    color: black;
}

.navbar-nav .nav-link:hover {
    color: #ffd800;
}

a.nav-item.nav-link {
    margin: 5px;
}

a.nav-item.nav-link.hotline {
    color: rgb(33 10 14);
    text-decoration: underline;
}

.navbar-nav .nav-link.active {
    color: #ffd800;
    font-weight: 500;
}

/* Offcanvas Styles */
.offcanvas-body .cart-button {
    background: #ffd800;
    text-align: left;
    width: fit-content;
    padding: 5px;
    margin: 10px 0;
    border-radius: 50%;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner {
    background: #ffd800;
    height: 70vh;
}

.carousel-item {
    position: relative;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.custom-caption {
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.custom-caption h1 {
    font-size: 5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.custom-caption p {
    font-size: 1.2rem;
}

/* Second Section Styles */
.se-box {
    padding: 50px 25px;
    text-align: right;
    border-radius: 6px;
}

h4.se-text-1 {
    font-size: 2rem;
    font-weight: 100;
}

h4.se-text-2 {
    font-size: 2.11rem;
    font-weight: 500;
}

.se-text-1,
.se-text-2 {
    font-family: Oswald, sans-serif;
    line-height: 1;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.btn {
    font-family: Oswald, sans-serif;
    color: #000000;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 32px;
    border: 1px solid transparent;
    border-radius: 2px;
    transition: all 0.4s ease-in-out;
}

.btn-red {
    color: #ffffff;
    background-color: #e3000e;
    border-color: #e3000e;
    margin-top: 15px;
}

.btn-red:hover {
    color: #e3000e;
    border-color: #e3000e;
}

.second-section {
    padding: 50px 0 50px 0;
}

.food-menu-section {
    padding: 15px 0 50px 0;
}

.top-footer-section {
    padding: 50px 0;
    background-size: cover;
}

/* Food Menu Section Styles */
.sub-title {
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 20px;
    padding-top: 5px;
    position: relative;
}

.title-area .sec-title {
    margin-bottom: 15px;
}

.sec-text {
    font-size: 18px;
    max-width: 560px;
    margin-bottom: 23px;
}

ul#menuTabs {
    gap: 10px;
    border: 0;
    padding-bottom: 30px;
}

.nav-tabs .nav-link {
    font-size: 14px;
    color: #000;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    padding: 9px 30px;
    border: 1px solid;
    background-color: transparent;
    border-radius: 999px;
    transition: 0.4s ease-in-out;
}

.nav-tabs .nav-link.active {
    background-color: #eb0029;
    color: #ffffff;
    border-color: #eb0029;
}

.as-btn {
    position: relative;
    z-index: 2;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;
    border: none;
    text-transform: uppercase;
    text-align: center;
    background-color: #eb0029;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 21px 35px 20px 35px;
    border-radius: 999px;
    transition: background-color 0.25s linear, color 0.4s ease-in-out;
}

.as-btn:before {
    content: "";
    position: absolute;
    height: 100%;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: #030303;
    z-index: -1;
    transition: all 0.4s ease-out;
    border-radius: inherit;
}

.as-btn:hover,
.as-btn.active {
    color: #ffffff;
    background-color: #030303;
}

.as-btn:hover::before,
.as-btn.active::before {
    width: 100%;
}

.food-menu-item {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 30px;
}

.food-menu-img img {
    overflow: hidden;
    border-radius: 6px 6px 0 0;
}

.rel {
    position: relative !important;
}

.hover-overlay {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.hover-overlay img {
    transform: scale(1);
    overflow: hidden;
    transition: transform 0.4s;
}

.item-code {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 8px;
    color: #fff;
    font-size: 0.915rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 6px;
}

span.item-code {
    display: block;
    font-size: 1.05rem;
    line-height: 1;
    font-weight: 400;
    margin-bottom: 0;
}

.bg-tra-dark {
    background-color: #0a0a0a66;
}

.food-menu-img-zoom {
    bottom: 15px;
    left: 15px;
}

.food-menu-img-zoom {
    display: block;
    position: absolute;
    width: 34px;
    height: 34px;
    text-align: center;
    background-color: #14141473;
    border-radius: 100%;
}

.food-menu-img-zoom a {
    position: relative;
    line-height: 36px;
}

.food-menu-img-zoom i {
    color: #fffffff2;
    font-size: 1.215rem;
    transition: all 0.35s ease-in-out;
}

.food-menu-txt {
    overflow: hidden;
    padding: 25px 20px;
}

.item-rating span {
    margin: 0 !important;
    position: static !important;
}

.item-rating span {
    position: relative;
    font-size: 0.95rem;
    line-height: 1;
    font-weight: 400;
    margin: 0 4px;
    top: 1px;
}

.stamped-main-badge {
    cursor: pointer;
}

.stamped-badge-starrating {
    color: gold;
    margin: 0 3px 0 0 !important;
    vertical-align: middle;
}

.stamped-badge-caption[data-reviews][data-label][data-version="2"]>span {
    display: inline !important;
}

.food-menu-item .like-icon {
    top: 28px;
    right: 15px;
}

.like-icon {
    display: block;
    position: absolute;
    width: 28px;
    height: 28px;
    text-align: center;
    border-radius: 100%;
}

.like-icon i {
    color: #aaa;
    font-weight: 700;
    transition: all 0.35s ease-in-out;
}

.food-menu-txt h5 {
    color: black;
    font-size: 1.375rem;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.food-menu-txt p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.food-menu-price {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 4px;
}

.bg-coffee {
    background-color: #642f21;
}

.food-menu-price h5 {
    color: #fdd600;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.5px;
    margin-top: 0;
    margin-bottom: 1px;
}

.food-menu-txt .add-to-cart {
    right: 20px;
    bottom: 15px;
}

.bg-yellow {
    background-color: #f7be27;
}

.add-to-cart {
    opacity: 0;
    position: absolute;
    display: inline-block;
    font-size: 0.9rem;
    line-height: 1;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all 0.5s ease-in-out;
}

.add-to-cart a {
    color: black;
    font-weight: 300;
}

.add-to-cart:hover a {
    color: black;
    font-weight: 300;
}

.add-to-cart.bg-yellow:hover {
    background-color: #ffd800 !important;
}

.food-menu-item:hover .add-to-cart {
    bottom: 28px;
    opacity: 1;
}

.add-to-cart i {
    position: relative;
    top: -0.5px;
}

/* Popup Styling */
.img-popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.img-popup img {
    max-width: 900px;
    width: 100%;
    opacity: 0;
    transform: translateY(-100px);
}

.close-btn {
    width: 35px;
    height: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.close-btn .bar {
    height: 4px;
    background: #333;
}

.close-btn .bar:nth-child(1) {
    transform: rotate(45deg);
}

.close-btn .bar:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

.opened {
    display: flex;
}

.opened img {
    animation: animatepopup 1s ease-in-out 0.8s;
}

@keyframes animatepopup {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 880px) {
    .container .container__img-holder:nth-child(3n+1) {
        margin-left: 16px;
    }
}

/* Footer Styles */
.bg-fixed,
.bg-scroll {
    padding: 50px 0;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.footer-section {
    padding-top: 30px;
    padding-bottom: 40px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    width: auto;
    max-width: inherit;
    max-height: 95px;
}

.footer-socials-links {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 12px;
}

.foo-socials {
    display: inline-block;
    padding-left: 0;
    margin: 0 auto;
}

.foo-socials li {
    width: auto !important;
    display: inline-block !important;
    vertical-align: top;
    clear: none !important;
    margin: 0 0 8px;
    padding: 0;
}

.foo-socials a {
    display: block;
    width: 40px;
    font-size: 23px;
    line-height: 1;
    margin: 0 2px;
}

.foo-socials a:hover {
    color: #f7be27;
}

.footer-links li {
    width: auto !important;
    display: block !important;
    clear: none !important;
    margin: 0;
    padding: 0;
}

.bottom-footer-list li {
    display: inline-block !important;
    margin-bottom: 0;
}

.bottom-footer-list li p {
    font-size: 0.915rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-left: 10px;
    margin-bottom: 0;
}

.bottom-footer-list p:after {
    content: "|";
    padding-left: 11px;
    position: relative;
    top: -1px;
}

.footer-links li p {
    margin-bottom: 10px;
}

.footer-links li p a:hover {
    color: #f7be27;
}

.footer-address p {
    font-size: 16px;
    font-weight: 300;
    margin-block-end: 0.5em;
}

/* Back To TOP Button Styles */
#button {
    display: inline-block;
    background-color: #fdd600;
    width: 30px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#button::after {
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

#button:hover {
    cursor: pointer;
    color: #fff;
    background-color: #333;
}

#button:active {
    background-color: #555;
}

#button.show {
    opacity: 1;
    visibility: visible;
}

#button i {
    font-size: 2em;
    line-height: 45px;
  }

/* Mobile and Tablet Styles */
/* Styles for tablets and smaller screens (up to 768px wide) */
@media screen and (max-width: 768px) {
    .cart-button {
        background: #ffd800;
        text-align: left;
        width: fit-content;
        padding: 5px;
        margin: 10px 0;
        border-radius: 50%;
    }

    .navbar-toggler {
        border: 0;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-nav .nav-link {
        color: white;
        border-bottom: 1px solid;
    }

    a.nav-item.nav-link.hotline {
        color: #fff;
    }

    .offcanvas-body {
        overflow-y: auto; /* Changed from visible to auto */
    }

    .offcanvas.show {
        opacity: 1;
        visibility: visible;
        height: 100vh;
        background-color: #6c757d;
    }

    .page-header.is-sticky .navbar-nav .nav-link {
        color: #ffffff;
    }

    .page-header.is-sticky .navbar-nav .nav-link.active,
    .navbar-nav .nav-link.show {
        color: #ffd800;
        font-weight: 500;
        border-bottom: 2px solid;
    }

    .page-header {
        background: white;
        padding-top: 0;
        padding-bottom: 0;
    }

    .carousel-item img {
        width: 100%;
    }

    .carousel-inner {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 3.5rem;
        margin-bottom: 0;
    }

    .custom-caption p {
        font-size: 1rem;
    }

    .carousel-indicators {
        bottom: 25%;
        z-index: 0;
    }

    .carousel-control-next,
    .carousel-control-prev {
        z-index: 0;
    }

    .second-section {
        padding: 15px 0 50px 0;
    }

    .food-menu-section {
        padding: 15px 0 50px 0;
    }

    .top-footer-section {
        padding: 30px 0;
    }
}

/* Styles for mobile phones (up to 480px wide) */
@media (max-width: 480px) {
    .offcanvas-header {
        background: #b2bac2;
    }

    .offcanvas-body {
        overflow-y: auto; /* Changed from visible to auto */
    }

    .offcanvas-backdrop.show {
        opacity: 1;
        background-color: #6c757d;
    }

    .page-header.is-sticky .navbar-nav .nav-link {
        color: #ffffff;
    }

    .page-header.is-sticky .navbar-nav .nav-link.active,
    .navbar-nav .nav-link.show {
        color: #ffd800;
        font-weight: 500;
        border-bottom: 2px solid;
    }

    .carousel-inner {
        height: 300px;
    }

    .carousel-caption {
        top: 50%;
        transform:translate(-50%, -50%);
        padding: 10px;
    }

    .custom-caption h1 {
        font-size: 2rem;
    }

    .custom-caption p {
        font-size: 0.9rem;
    }
}
