/********** Template CSS **********/
:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}

.ff-secondary {
    font-family: 'Pacifico', cursive;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .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-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--light) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 100px;
    transition: .5s;
    padding-top: 10px;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(../img/banner.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header img {
    animation: imgRotate 50s linear infinite;
}

@keyframes imgRotate {
    100% {
        transform: rotate(360deg);
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

/*** Section Title ***/
.section-title {
    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.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
/* .video {
    position: relative;
    height: 10%;
    min-height: 200px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/Swadish_Image.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
} */
.video {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/Swadish_Image.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 25px;
    overflow: hidden;
  
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    margin: 0 auto;
}

.video .btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 80px;
    height: 80px;
    background: #FEA116;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.video .btn-play:hover {
    background: #FEA116;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.video .btn-play span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid rgba(15, 23, 43, .9);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    transition: all 0.3s ease;
}

.video .btn-play:hover span {
    border-left-color: rgba(15, 23, 43, .9);
}

@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;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.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: .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: .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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .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, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.counter-plus::after {
    content: "+";
    display: inline-block;
    margin-left: 2px; /* Adjust spacing as needed */
}

/* Why Choose Us - Highlight Cards */
#why-choose-us .highlight-item {
    border-left: 5px solid var(--bs-primary);
    transition: .5s;
}

#why-choose-us .highlight-item:hover {
    background: var(--bs-primary);
    border-left-color: #FFFFFF;
}

#why-choose-us .highlight-item:hover i,
#why-choose-us .highlight-item:hover h5,
#why-choose-us .highlight-item:hover p {
    color: #FFFFFF !important;
}

#why-choose-us .highlight-item i {
    transition: .5s;
}

@media (max-width: 768px) {
    #why-choose-us .highlight-item {
        margin-bottom: 16px;
    }
}

/* ========== ORDER MODAL STYLES ========== */
/* ==========================================================================
   ENHANCED ORDER MODAL STYLES
   ========================================================================== */

/* Overlay Background */
.order-modal-overlay {
    display: none; /* Hide it initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 12, 34, 0.85);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    
}

/* Modal Container Box */
.order-modal-box {
    background: #ffffff;
    width: 90%;
    max-width: 420px;
    border-radius: 16px; /* Smooth rounded corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Smooth pop-in animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Close Button (X) */
.order-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 28px;
    font-weight: 300;
    color: #0d1b2a; /* Navy color */
    cursor: pointer;
    width: 36px;
    height: 36px;
    line-height: 32px;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.order-modal-close:hover {
    background: #e65c00; /* Orange background on hover */
    color: #ffffff;
    transform: rotate(90deg);
}

/* Brand Image Wrap */
.modal-header-brand {
    background-color: #0b132b; /* Matches your webpage's dark theme */
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-img {
    width: 130px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Content Area */
.modal-body-content {
    padding: 35px 30px;
}

/* Title Styling */
.modal-body-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0b132b; /* Matches website theme dark tone */
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

/* Subtext Styling */
.sub-text {
    font-size: 15px;
    color: #6c757d;
    margin: 0 0 30px 0;
}

.heart-icon {
    display: inline-block;
    animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
@media (min-width: 992px) {
    .order-modal-overlay {
        backdrop-filter: blur(2px);
    }
}

/* Premium Call To Action Button */
.btn-order-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between bag icon and text */
    background: #FEA117; /* Vibrant premium orange */
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    padding: 14px 24px;
    border-radius: 50px; /* Pill shape for premium app feel */
    box-shadow: 0 6px 20px rgba(230, 92, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-order-now:hover {
    background: linear-gradient(135deg, #e65c00 0%, #cc5200 100%);
    box-shadow: 0 8px 25px rgba(230, 92, 0, 0.45);
    transform: translateY(-2px);
}

.btn-order-now:active {
    transform: translateY(1px);
}

.btn-order-now i {
    font-size: 16px;
}

/* --- Premium Product Section Styles Only --- */
.premium-product-section {
    background-color: #ffffff;
}

/* 3x5 Responsive Layout Grid (5 Columns Across) */
.premium-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Individual Product Cards */
.premium-product-section .product-card {
    text-align: center;
    background: transparent;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Image Frame */
.premium-product-section .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    aspect-ratio: 1 / 1; /* Keeps images beautifully squared and uniform */
    background-color: #f9f9f9;
}

.premium-product-section .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Card Hover Effect (Slight lift and gentle image scale) */
.premium-product-section .product-card:hover {
    transform: translateY(-6px);
}

.premium-product-section .product-card:hover .product-img {
    transform: scale(1.06);
}

/* Typography Styling */
.premium-product-section .product-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2D2D2D;
    margin-top: 1.25rem;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.premium-product-section .product-card:hover .product-title {
    color: #0d6efd; /* Swaps to your accent/brand color on hover */
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .premium-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .premium-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .premium-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .premium-product-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

/* .image-hover-wrapper {
    position: relative;
    width: 100%;
    height: 250px;  
    
    background: #f8f9fa;
}

.image-hover-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;  
} */

 /* Hover effect */
/* .image-hover-wrapper .hover-img {
    opacity: 0;
}

.image-hover-wrapper:hover .hover-img {
    opacity: 1;
}

.image-hover-wrapper:hover .main-img {
    opacity: 0;
}

@media (max-width: 576px) {
    .image-hover-wrapper {
        padding-top: 100%;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .image-hover-wrapper {
        padding-top: 85%; 
    }
}   */

.image-hover-wrapper {
    width: 100%;
    height: 280px;
  
    overflow: hidden;
    padding: 6px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-hover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the box completely */
    display: block;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 576px) {
    .image-hover-wrapper {
        height: 200px;
        padding: 4px;
        border-radius: 10px;
    }
    .image-hover-wrapper img {
        border-radius: 6px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .image-hover-wrapper {
        height: 230px;
        padding: 5px;
        border-radius: 12px;
    }
    .image-hover-wrapper img {
        border-radius: 6px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .image-hover-wrapper {
        height: 260px;
        padding: 6px;
        border-radius: 14px;
    }
}

@media (min-width: 993px) {
    .image-hover-wrapper {
        height: 300px;
        padding: 8px;
        border-radius: 14px;
    }
}

@media (min-width: 1201px) {
    .image-hover-wrapper {
        height: 320px;
        padding: 10px;
    }
}

/* Products Row - Auto Center Last Row with No Gap */
/* Products Row - Auto Center Last Row (robust, no item-count math) */
.products-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 30px;
    padding-right: 30px;
    gap: 24px;
}

.products-row .col-md-3 {
    flex: 0 0 calc(25% - 24px);
    max-width: calc(25% - 24px);
}

/* Responsive */
@media (max-width: 576px) {
    .products-row {
        padding-left: 12px;
        padding-right: 12px;
        gap: 16px;
    }
    .products-row .col-md-3 {
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .products-row {
        padding-left: 18px;
        padding-right: 18px;
        gap: 20px;
    }
    .products-row .col-md-3 {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .products-row {
        padding-left: 20px;
        padding-right: 20px;
        gap: 18px;
    }
    .products-row .col-md-3 {
        flex: 0 0 calc(33.333% - 18px);
        max-width: calc(33.333% - 18px);
    }
}

@media (min-width: 993px) {
    .products-row {
        padding-left: 40px;
        padding-right: 40px;
        gap: 24px;
    }
    .products-row .col-md-3 {
        flex: 0 0 calc(25% - 24px);
        max-width: calc(25% - 24px);
    }
}
