/********** Template CSS **********/
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

:root {
    --primary: #D97706;
    --primary-hover: #B45309;
    --secondary: #92400E;
    --accent: #F59E0B;
    --grab-green: #00B14F;
    --grab-dark: #00873C;
    --halal-green: #15803D;
    --light: #FFFDF9;
    --light-bg: #FDF8F0;
    --dark: #111827;
    --dark-surface: #1F2937;
}

.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;
}

/* Header Logo & Brand Typography */
.header-logo {
    height: 44px;
    width: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.header-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.header-subtitle {
    font-size: 0.62rem;
    letter-spacing: 1.1px;
    color: #F59E0B !important;
    white-space: nowrap;
    margin-top: -1px;
}

.navbar-toggler {
    margin-left: auto;
    padding: 0.32rem 0.65rem;
    font-size: 1.15rem;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    color: #fff;
    flex-shrink: 0;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(245, 158, 11, 0.4);
    outline: none;
}

.navbar-dark .navbar-brand {
    min-width: 0;
}

@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;
    }
}

@media (min-width: 992px) {
    .header-logo {
        height: 60px;
        width: 60px;
    }

    .header-title {
        font-size: 1.85rem;
        letter-spacing: 0.5px;
    }

    .header-subtitle {
        font-size: 0.72rem;
        letter-spacing: 1.8px;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
        transition: .5s;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        padding-left: 45px;
        padding-right: 45px;
        background: var(--dark) !important;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(../img/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header img {
    /* Main hero dish stays upright */
}

.rotate-logo {
    animation: imgRotate 35s linear infinite;
    transform-origin: center center;
}

@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;
}


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .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;
}


/*** 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;
}


/*** 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;
}

/*************************************************************
 * Supermoon Rise - Custom Culinary & Feature Elements
 *************************************************************/

/* Top Announcement Bar */
.supermoon-topbar {
    background: #0B111B;
    border-bottom: 1px solid rgba(217, 119, 6, 0.25);
    font-size: 0.85rem;
    color: #E2E8F0;
}
.supermoon-topbar a {
    color: #F8FAFC;
    text-decoration: none;
    transition: color 0.2s ease;
}
.supermoon-topbar a:hover {
    color: var(--accent);
}

/* Grab Delivery Branding Button */
.btn-grab {
    background: linear-gradient(135deg, #00B14F 0%, #00873C 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 177, 79, 0.35);
    transition: all 0.3s ease;
}
.btn-grab:hover {
    background: linear-gradient(135deg, #00873C 0%, #00682E 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 177, 79, 0.45);
    color: #FFFFFF !important;
}

.btn-grab-outline {
    background: transparent;
    color: #00B14F !important;
    border: 2px solid #00B14F;
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-grab-outline:hover {
    background: #00B14F;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* Halal Badges */
.badge-halal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(21, 128, 61, 0.12);
    color: var(--halal-green);
    border: 1px solid rgba(21, 128, 61, 0.35);
    border-radius: 30px;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.85rem;
}
.badge-halal-dark {
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

/* Signature Dishes Showcase */
.signature-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(217, 119, 6, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.signature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 38px rgba(217, 119, 6, 0.18);
}
.signature-img-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
}
.signature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.signature-card:hover .signature-img-wrap img {
    transform: scale(1.08);
}
.badge-signature-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #D97706, #B45309);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.badge-available-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(4px);
    color: #10B981;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}
.badge-soldout-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(220, 38, 38, 0.9);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Dining Arrangement Feature Card */
.dining-card {
    background: linear-gradient(145deg, #FFFFFF, #FFFDF8);
    border-radius: 18px;
    padding: 35px;
    border: 1px solid rgba(217, 119, 6, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}
.dining-icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(217, 119, 6, 0.12);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Testimonial & Customer Review Cards */
.testimonial-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.avatar-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Suggestion Box & Feedback */
.suggestion-box-card {
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-top: 5px solid var(--primary);
    padding: 40px;
}

/* Home Style Badge */
.home-style-badge {
    background: #FFF7ED;
    border: 1px solid #FDBA74;
    color: #C2410C;
    border-radius: 30px;
    padding: 6px 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Dish Menu Item */
.menu-item-row {
    background: #FFFFFF;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}
.menu-item-row:hover {
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.08);
}

/* Traditional Home-Style Spotlight Image */
.home-style-spotlight-img {
    height: 360px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .home-style-spotlight-img {
        height: 430px;
    }
}