/********** Template CSS **********/
:root {
    --primary: #950808;
    --light: #f1f8ff;
    --dark: #0f172b;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 22px;
    bottom: 80px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #ffffff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}

/*** Navbar ***/
.navbar-toggler {
    z-index: 1050;
}

.navbar-collapse {
    position: absolute;
    top: 70px;
    z-index: 9999;
    background-color: #950808;
    width: 100%;
    padding: 0px 10px;
    left: 0;
}
.navbar-dark .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 25px 0;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #feaf39;
    text-decoration: overline;
}

@media (max-width: 1028px) {
    .navbar-dark .navbar-nav .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        position: sticky;
    }
}

/* Sidebar Nav */
.custom-mobile-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: #950808;
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.custom-mobile-nav.open {
    left: 0;
}

/* Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Nav links inside sidebar */
.custom-mobile-nav .nav-link {
    padding: 12px 10px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.custom-mobile-nav .nav-link:hover,
.custom-mobile-nav .nav-link.active {
    color: #feaf39;
    text-decoration: overline;
}

.custom-mobile-social {
    border: 0.5px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    margin-right: 8px;
}

.custom-mobile-social a i {
    color: white;
}

.user-menu-icon {
    border: 0.5px solid white;
    height: 29px !important;
    width: 29px;
    margin-top: 20px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.user-menu-icon:hover {
    border: 0.5px solid #feaf39;
    color: white;
}
/* Dropdown menu custom styling */
.dropdown-menu[aria-labelledby="userDropdown"] {
    min-width: 180px;
    padding: 8px 0;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: #ffffff;
    animation: dropdownFade 0.3s ease;
}

/* Dropdown item styling */
.dropdown-menu .dropdown-item {
    padding: 10px 16px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #950808;
    color: #fff;
}

.dropdown-menu .dropdown-item i {
    font-size: 1rem;
}

/* Optional: fade-in animation */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, 0.7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}

/*** Section Title ***/
.section-title,
.section-title-white {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title-white::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: #fff;
}

.section-title-white::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: #fff;
}

.section-title.text-start::before,
.section-title-white.text-start::before,
.section-title-white.text-end::after,
.section-title.text-end::after {
    display: none;
}

/*** Service ***/
.service-item {
    height: 220px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    transition: 0.5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: 0.5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: 0.5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #ffffff !important;
}

.service-item:hover .service-icon {
    color: #fff !important;
}

.service-icon {
    color: #950808 !important;
}

/**** Red Napkin CTA ****/
.red-napkin-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .red-napkin-cta {
        padding: 40px 15px;
    }

    .red-napkin-cta h2 {
        font-size: 1.8rem;
    }

    .red-napkin-cta a {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
}

/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, 0.1), rgba(15, 23, 43, 0.1)),
        url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}

/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(15, 23, 43, 0.7), rgba(15, 23, 43, 0.7)),
        url(../img/pic/apart28.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    padding-left: 65px;
    padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
    padding: 30px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    /* bottom: 0px;
    left: 0; */
    display: flex;
    justify-content: center;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 2px;
    font-size: 18px;
    transition: 0.5s;
    margin-right: 10px;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #ffffff;
}

/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: 0.5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}

/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
    text-align: center;
}

.newsletter .btn.btn-social {
    text-align: center;
    margin-right: 5px;
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 35px;
    transition: 0.3s;
}

.newsletter .btn.btn-social:hover {
    color: #fff;
    background-color: #950808;
    transition: 0.5s;
}

.footer {
    position: relative;
    margin-top: -110px;
    padding-top: 180px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #ffffff;
    border-radius: 35px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

/* .footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
} */

.footer .btn.btn-link:hover {
    box-shadow: none;
    color: rgb(254, 175, 57);
    text-decoration: overline;
}

.footer .btn.btn-contact {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .btn.btn-contact::before {
    position: relative;
    /* content: "\f105"; */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-contact:hover {
    box-shadow: none;
    color: rgb(254, 175, 57);
    text-decoration: overline;
}
.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
/** Video show on FAQS **/
.youtube-video-container {
    position: relative;
    width: 100%;
    max-width: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.youtube-video-container:hover {
    transform: scale(1.02);
}

.youtube-thumbnail img {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 0, 0, 0.8);
    color: #fff;
    padding: 5px 8px;
    border-radius: 50%;
    font-size: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.youtube-video-container:hover .play-button {
    background-color: rgba(255, 0, 0, 1);
}

/**** Kitchen who we serve ***/

.offer-customer-div {
    border: 0.25px solid #feaf39;
    padding: 7px;
    border-radius: 3px;
    margin-top: 20px;
    transition: all 0.3s ease;
    height: 220px;
}

.offer-customer-div:hover {
    border-color: #fff;
    transform: translateY(-5px);
    /* smooth upward move */
}

/* Inner thin border (same color as outer border) */
.inner-border {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0.2px solid #feaf39;
    /* same as initial outer border */
    padding: 15px;
    border-radius: 3px;
    height: 205px;
    transition: border-color 0.3s ease;
}

/* Inner border changes on hover */
.offer-customer-div:hover .inner-border {
    border-color: #fff;
    /* matches hover color of outer */
}

.offer-customer-div .inner-border i {
    color: white;
    margin-bottom: 10px;
    font-size: 40px;
    text-align: center;
}

.offer-customer-div .inner-border p {
    color: white;
    margin-bottom: 0px;
    font-weight: 400;
    text-align: center;
    font-size: 20px;
}
/**** Blog detail page social icons ***/
.social-box a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
}

.social-box i {
    font-size: 20px;
    color: #950808;
    background-color: #f8f1f1;
    padding: 10px;
    border-radius: 50%;
}

.social-box i:hover {
    color: #fff;
    background-color: #950808;
}
