/*
 * Spot In Menus - Restaurant page hero & header enhancements
 * Loaded after frontend.css/style.css/navbar.css/responsive.css and custom_rtl.css
 */

/* ============ HEADER (restaurant pages: style_1 .. style_4) ============ */
.navLeftMenu a.navbar-brand {
    max-width: 200px;
}

a.navbar-brand.portrait img,
a.navbar-brand.landscape img {
    width: 180px;
    height: 48px;
}

.navLeftMenu img.shopLogo {
    max-width: 185px;
}

.customNav {
    box-shadow: 0 2px 14px rgba(0, 0, 0, .1);
}

.customNav .menuToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    line-height: 1;
}

.navRightMenu ul li a i {
    font-size: 1.2rem;
    line-height: 1;
}

/* header nav links spacing + hover underline */
.customMenu.nwStyleNav ul.navbar-nav .nav-link {
    position: relative;
    padding: .5rem .9rem;
}

.customMenu.nwStyleNav ul.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .9rem;
    right: .9rem;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--dcolor, #29c7ac);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
}

.customMenu.nwStyleNav ul.navbar-nav .nav-link:hover::after,
.customMenu.nwStyleNav ul.navbar-nav .nav-item.active .nav-link::after {
    transform: scaleX(1);
}

/* ============ HERO (welcome_banner) - premium design ============ */
.spotin-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 620px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}

/* dark overlay, stronger on the text side */
.spotin-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(8, 15, 25, .92) 0%, rgba(8, 15, 25, .72) 38%, rgba(8, 15, 25, .28) 72%, rgba(8, 15, 25, .08) 100%);
}

[dir="rtl"] .spotin-hero__overlay {
    background: linear-gradient(260deg, rgba(8, 15, 25, .92) 0%, rgba(8, 15, 25, .72) 38%, rgba(8, 15, 25, .28) 72%, rgba(8, 15, 25, .08) 100%);
}

/* soft bottom fade for the services strip */
.spotin-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    z-index: -1;
    background: linear-gradient(to top, rgba(8, 15, 25, .55), transparent);
}

/* decorative glow orbs */
.spotin-hero__orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .32;
    pointer-events: none;
}

.spotin-hero__orb--a {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: radial-gradient(circle, var(--primaryColor, #009ef7), transparent 70%);
}

.spotin-hero__orb--b {
    width: 320px;
    height: 320px;
    bottom: -100px;
    left: -60px;
    background: radial-gradient(circle, var(--dcolor, #29c7ac), transparent 70%);
}

.spotin-hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 110px;
}

.spotin-hero__row {
    min-height: 520px;
}

/* ---- content column ---- */
.spotin-hero__content {
    animation: spotinHeroUp .7s ease both;
}

.spotin-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 40px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.spotin-hero__pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #50cd89;
    animation: spotinPulse 2s infinite;
}

.spotin-hero__title {
    margin: 0 0 14px;
    font-size: clamp(30px, 4.4vw, 54px);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .5);
    word-break: break-word;
}

.spotin-hero__slogan {
    margin: 0 0 26px;
    max-width: 52ch;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

.spotin-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.spotin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.spotin-btn--primary {
    color: #fff;
    background: linear-gradient(120deg, var(--dcolor, #e22104) 0%, var(--primaryColor, #009ef7) 120%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}

.spotin-btn--primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.spotin-btn--ghost {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .4);
    backdrop-filter: blur(6px);
}

.spotin-btn--ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .22);
    transform: translateY(-3px);
}

.spotin-btn--video {
    color: #fff;
    padding: 8px 18px 8px 8px;
    background: transparent;
    border: 0;
}

.spotin-btn--video:hover {
    color: #fff;
}

.spotin-btn__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    background: var(--dcolor, #e22104);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
    transition: transform .2s ease;
}

.spotin-btn--video:hover .spotin-btn__play {
    transform: scale(1.1);
}

/* ---- visual card ---- */
.spotin-hero__visual {
    position: relative;
    animation: spotinHeroUp .9s .1s ease both;
}

.spotin-hero__card {
    max-width: 370px;
    margin-left: auto;
    border-radius: 26px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(14px);
    padding: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
    transform: rotate(2deg);
}

.spotin-hero__card-imgwrap {
    position: relative;
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
}

.spotin-hero__card-imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotin-hero__card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.spotin-hero__card-badge i {
    color: #50cd89;
}

.spotin-hero__card-cap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 8px 4px;
}

.spotin-hero__card-logo {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    padding: 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

.spotin-hero__card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.spotin-hero__card-text h3 {
    margin: 0 0 3px;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
}

.spotin-hero__card-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
}

/* floating pills */
.spotin-hero__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
    font-size: 13.5px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
}

.spotin-hero__float i {
    font-size: 20px;
    color: var(--dcolor, #e22104);
}

.spotin-hero__float--a {
    top: -26px;
    left: -40px;
    animation: spotinFloat 4s ease-in-out infinite;
}

.spotin-hero__float--b {
    bottom: 40px;
    right: -30px;
    animation: spotinFloat 4s 1.2s ease-in-out infinite;
}

/* ---- services strip ---- */
.spotin-hero__services {
    position: relative;
    z-index: 3;
    padding-bottom: 34px;
}

.spotin-hero__services-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
}

.spotin-hero__service {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
    padding: 13px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: transform .2s ease, background .2s ease;
}

.spotin-hero__service:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .18);
}

.spotin-hero__service i {
    font-size: 22px;
    color: #fff;
}

.spotin-hero__service img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* ---- social rail ---- */
.spotin-hero__social {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spotin-hero__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 17px;
    backdrop-filter: blur(6px);
    transition: all .2s ease;
}

.spotin-hero__social a:hover {
    background: var(--dcolor, #e22104);
    border-color: var(--dcolor, #e22104);
    color: #fff;
    transform: translateY(-3px);
}

/* ---- animations ---- */
@keyframes spotinHeroUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spotinPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(80, 205, 137, .6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(80, 205, 137, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(80, 205, 137, 0);
    }
}

@keyframes spotinFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .spotin-hero__content,
    .spotin-hero__visual,
    .spotin-hero__float {
        animation: none;
    }
}

/* ============ RTL overrides ============ */
[dir="rtl"] .spotin-hero__card {
    margin-left: 0;
    margin-right: auto;
    transform: rotate(-2deg);
}

[dir="rtl"] .spotin-hero__card-badge {
    right: auto;
    left: 14px;
}

[dir="rtl"] .spotin-hero__float--a {
    left: auto;
    right: -40px;
}

[dir="rtl"] .spotin-hero__float--b {
    right: auto;
    left: -30px;
}

[dir="rtl"] .spotin-hero__social {
    left: auto;
    right: 28px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1199px) {
    .spotin-hero__float--a {
        left: -10px;
    }

    [dir="rtl"] .spotin-hero__float--a {
        right: -10px;
    }

    .spotin-hero__float--b {
        right: -10px;
    }

    [dir="rtl"] .spotin-hero__float--b {
        left: -10px;
    }
}

@media (max-width: 991px) {
    .spotin-hero {
        min-height: 540px;
    }

    .spotin-hero__row {
        min-height: 460px;
    }

    .spotin-hero__social {
        display: none;
    }
}

@media (max-width: 767px) {
    .spotin-hero {
        min-height: 440px;
        justify-content: flex-end;
    }

    .spotin-hero__container {
        padding-top: 60px;
    }

    .spotin-hero__row {
        min-height: 0;
    }

    .spotin-hero__title {
        font-size: 30px;
    }

    .spotin-hero__actions {
        gap: 10px;
    }

    .spotin-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .spotin-hero__service {
        min-width: 0;
        width: 100%;
        justify-content: center;
    }

    .spotin-hero__services-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .spotin-hero__title {
        font-size: 26px;
    }

    .spotin-hero__service {
        padding: 11px 14px;
        font-size: 13px;
    }

    .spotin-hero__service i {
        font-size: 19px;
    }
}

/* ============ LEGACY HERO (user_banner.php: subpages) ============ */
section.user_home_banner {
    min-height: 52vh;
}

section.user_home_banner::before {
    background: linear-gradient(105deg, rgba(8, 18, 28, .82) 0%, rgba(8, 18, 28, .5) 55%, rgba(8, 18, 28, .22) 100%);
}

[dir="rtl"] section.user_home_banner::before {
    background: linear-gradient(255deg, rgba(8, 18, 28, .82) 0%, rgba(8, 18, 28, .5) 55%, rgba(8, 18, 28, .22) 100%);
}

.homeBanner_left {
    padding-left: 21%;
}

.homeBanner_left .shopLogo {
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35));
}

.homeBanner_left .shopLogo img {
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    max-height: 110px;
    max-width: 210px;
    object-fit: contain;
}

.homeBanner_left h4.shopName {
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
    letter-spacing: .3px;
    margin: 10px 0 4px;
}

.homeBanner_left .homeBanner_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.home-book-btn {
    border-radius: 30px;
    padding: 10px 30px;
    box-shadow: 0 10px 26px rgba(226, 33, 4, .28);
}

.home-book-btn:hover {
    transform: translateY(-2px);
}

a.btn.watch_video {
    border-radius: 30px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .45);
    color: #fff !important;
    backdrop-filter: blur(4px);
    transition: all .25s ease;
}

a.btn.watch_video:hover {
    background: rgba(255, 255, 255, .28);
}

.watch_video_i {
    margin-right: 8px;
}

[dir="rtl"] .watch_video_i {
    margin-right: 0;
    margin-left: 8px;
}

.homeBanner_Service {
    margin-top: 20px;
}

.homeBanner_Service ul {
    gap: 6px;
    flex-wrap: wrap;
}

.homeBanner_Service ul li {
    border-right: 1px solid rgba(255, 255, 255, .25);
    padding: 0 18px 10px;
}

.homeBanner_Service ul li i {
    font-size: 34px;
}

.homeBanner_Service ul li p {
    font-size: 14px;
    color: #fff;
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

.userHome_social ul li a {
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.userHome_social ul li a:hover {
    color: #29c7ac;
    transform: scale(1.12);
}

@media (max-width: 1199px) {
    .homeBanner_left {
        padding-left: 15%;
    }

    .homeBanner_Service ul li {
        padding: 0 12px 10px;
    }
}

@media (max-width: 991px) {
    .homeBanner_left {
        padding-left: 10%;
    }
}

@media (max-width: 767px) {
    section.user_home_banner {
        min-height: 46vh;
    }

    .homeBanner_left {
        padding-left: 6%;
        padding-right: 6%;
    }

    .homeBanner_left .shopLogo img {
        max-height: 84px;
        max-width: 170px;
    }

    .homeBanner_left h4.shopName {
        font-size: 23px;
    }

    .homeBanner_Service ul li {
        flex: 1 1 30%;
        min-width: 88px;
        border-right: 0;
    }

    .homeBanner_Service ul li i {
        font-size: 26px;
    }

    .homeBanner_Service ul li p {
        font-size: 13px;
    }

    .userHome_social {
        top: auto;
        bottom: 10px;
        left: 8px;
    }

    .userHome_social ul {
        flex-direction: row;
    }

    .userHome_social ul li a {
        padding: 6px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .homeBanner_left {
        padding-left: 4%;
        padding-right: 4%;
    }

    .homeBanner_left .shopLogo img {
        max-height: 70px;
        max-width: 150px;
    }

    .homeBanner_Service ul li {
        flex: 1 1 48%;
        min-width: 0;
    }

    .home-book-btn,
    a.btn.watch_video {
        padding: 9px 20px;
        font-size: 13px;
    }
}

[dir="rtl"] .homeBanner_left {
    padding-left: 15%;
    padding-right: 0;
}

[dir="rtl"] .homeBanner_Service ul li {
    border-right: 0;
    border-left: 1px solid rgba(255, 255, 255, .25);
}

[dir="rtl"] .homeBanner_Service ul li:nth-child(3) {
    border-left: 0;
}

/* ============================================================
   MENU REFINEMENTS — category strip, headings, empty state
   ============================================================ */

/* --- Category cards --- */
.categorySection .singleCatItem {
    position: relative;
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 14px 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.categorySection .singleCatItem:hover {
    transform: translateY(-5px);
    border-color: var(--primaryColor);
    box-shadow: 0 14px 26px rgba(0, 158, 247, .14);
}

.categorySection .singleCatItem .catTop {
    position: relative;
    border-radius: 50%;
    transition: transform .35s ease;
}

.categorySection .singleCatItem:hover .catTop {
    transform: scale(1.07);
}

.categorySection .singleCatItem .catTop::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed var(--primaryColor);
    opacity: 0;
    transform: scale(.9);
    transition: opacity .3s ease, transform .35s ease;
}

.categorySection .singleCatItem:hover .catTop::after {
    opacity: 1;
    transform: scale(1);
}

.categorySection .singleCatItem h4 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* --- "Menu" section heading accent bar --- */
.categorySection .defaultHeading h4 {
    position: relative;
    display: inline-block;
    padding-bottom: 9px;
    font-weight: 700;
    font-size: 20px;
}

.categorySection .defaultHeading h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 44px;
    height: 3px;
    border-radius: 3px;
    background: var(--primaryGradient, linear-gradient(90deg, #009ef7, #50cd89));
}

/* --- Item grid polish --- */
.singleHome_item .modern_item_card {
    margin-bottom: 0;
    height: 100%;
}

.item_thumb_inner.horizontal_card {
    gap: 12px;
}

/* --- Empty state --- */
.not-found {
    text-align: center;
    color: var(--color);
    padding: 50px 20px;
}

.not-found i {
    font-size: 46px;
    color: var(--primaryColor);
    opacity: .4;
    margin-bottom: 12px;
}

.not-found h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--color);
    opacity: .75;
}

/* --- Mobile: category cards fill the 2-per-row grid --- */
@media (max-width: 767px) {
    .categorySection .singleCatItem {
        width: 100%;
        min-height: 150px;
        margin: 0;
    }

    .categorySection .swiper-wrapper {
        padding: 4px 2px;
    }
}

/* ==========================================================================
   Spot-in Items Grid & Responsiveness Engine (Mobile, Tablet, Desktop)
   ========================================================================== */
.items_row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -8px !important;
    margin-left: -8px !important;
}

.items_row .col-custom {
    padding-right: 8px !important;
    padding-left: 8px !important;
    margin-bottom: 16px !important;
    width: 25% !important; /* 4 columns on desktop */
    max-width: 25% !important;
    flex: 0 0 25% !important;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .items_row .col-custom {
        width: 33.333333% !important;
        max-width: 33.333333% !important;
        flex: 0 0 33.333333% !important;
    }
}

@media (max-width: 991px) and (min-width: 576px) {
    .items_row .col-custom {
        width: 33.333333% !important; /* 3 columns on tablet */
        max-width: 33.333333% !important;
        flex: 0 0 33.333333% !important;
    }
}

@media (max-width: 575px) {
    .items_row {
        margin-right: -4px !important;
        margin-left: -4px !important;
    }
    .items_row .col-custom {
        width: 50% !important; /* exactly 2 clean columns on smartphones */
        max-width: 50% !important;
        flex: 0 0 50% !important;
        padding-right: 4px !important;
        padding-left: 4px !important;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 340px) {
    .items_row .col-custom {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* ==========================================================================
   Universal Icon Font Protection — FontAwesome & IcoFont Always Visible
========================================================================== */
i.fa, i.fas, i.far, i.fab, i.fal, i.fad, i.bi,
.fa, .fas, .far, .fab, .fal, .icofont,
[class^="fa-"], [class*=" fa-"], [class^="icofont-"], [class*=" icofont-"] {
    font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 5 Brands", "Font Awesome 6 Free", "icofont" !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
}


