/* Premium Restaurant Details Redesign */
:root {
    --venyo-purple: #5f2265;
    --venyo-purple-light: #7a2d82;
    --venyo-gold: #d4af37;
    --venyo-gold-dark: #b8932d;
    --venyo-text: #2d333f;
    --venyo-text-light: #6c757d;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --premium-shadow: 0 20px 40px rgba(95, 34, 101, 0.08);
}

.restaurant-details-page {
    background: #fafafc;
    color: var(--venyo-text);
}

/* Floating Navigation */
.floating-jump-nav {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    margin-bottom: 40px;
    display: none;
    transition: all 0.3s ease;
}

.floating-jump-nav.visible {
    display: block;
    animation: slideDown 0.4s ease forwards;
}

.jump-nav-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.jump-nav-list a {
    color: var(--venyo-text-light);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.jump-nav-list a:hover,
.jump-nav-list a.active {
    color: var(--venyo-purple);
}

/* Cinematic Mosaic Hero */
.cinematic-mosaic-hero {
    position: relative;
    width: 100%;
    height: 550px;
    background: #f0f0f5; /* Changed from #f8f9fa to a slightly darker gray as default */
    margin-bottom: 2rem;
    overflow: hidden;
}

.mosaic-container {
    display: flex;
    height: 100%;
    gap: 15px;
    padding: 15px;
}

.mosaic-main {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    background: #f0f0f5 url('../assets/images/background/bg1.jpg') center/cover;
}

.mosaic-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 991px) {
    .mosaic-main {
        flex: 0 0 100%;
    }

    .mosaic-side {
        display: none;
    }
}

.mosaic-item {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f5; /* Fallback color */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mosaic-main img,
.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.mosaic-main:hover img,
.mosaic-item:hover img {
    transform: scale(1.05);
}

.hero-identity-card {
    position: absolute;
    bottom: 50px;
    left: 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 30px 40px;
    border-radius: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.restaurant-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--venyo-purple);
    line-height: 1.1;
}

.identity-meta {
    font-size: 1.1rem;
    color: var(--venyo-text-light);
    font-weight: 500;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--venyo-gold);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Premium Sections */
.premium-section {
    background: white;
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #f0f0f5;
    box-shadow: var(--premium-shadow);
    transition: transform 0.3s ease;
}

.premium-section:hover {
    transform: translateY(-5px);
}

.section-header-fancy {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.header-accent {
    width: 4px;
    height: 35px;
    background: var(--venyo-purple);
    border-radius: 4px;
}

.section-header-fancy h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--venyo-text);
    margin: 0;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.highlight-item {
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    background: #f8f8fb;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: #efeef5;
    transform: scale(1.05);
}

.highlight-item i {
    font-size: 24px;
    color: var(--venyo-purple);
    margin-bottom: 12px;
}

.highlight-item span {
    color: var(--venyo-text);
}

/* Full Gallery Grid */
.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.gallery-item-full {
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #f0f0f5;
    transition: all 0.3s ease;
}

.gallery-item-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-full:hover img {
    transform: scale(1.1);
}

.gallery-item-full::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(95, 34, 101, 0.4);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.gallery-item-full:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item-full:hover::before {
    opacity: 1;
}

@media (max-width: 575px) {
    .gallery-grid-full {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
}

/* Signature Dish Cards */
.dishes-slider {
    padding: 20px 0 50px 0;
}

.dish-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dish-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.dish-info {
    padding: 15px;
}

.dish-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.dish-info p {
    font-size: 13px;
    color: var(--venyo-text-light);
    margin: 0;
}

/* Professional Review Overhaul */
.reviews-stats-summary {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.border-end-md {
    border-right: 1px solid #f0f0f5;
}

@media (max-width: 767px) {
    .border-end-md {
        border-right: 0;
        border-bottom: 1px solid #f0f0f5;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
}

.score-bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.score-bar-label {
    width: 80px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.score-bar-progress {
    flex: 1;
    height: 8px;
    background: #f5f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: var(--venyo-purple);
    border-radius: 4px;
}

.score-bar-count {
    width: 50px;
    font-size: 13px;
    color: #999;
    text-align: right;
}

/* Minimalist Vertical Stream */
.reviews-vertical-stream {
    display: flex;
    flex-direction: column;
}

.professional-review-item {
    padding: 3rem 0;
    border-bottom: 1px solid #f0f0f5;
    transition: transform 0.3s ease;
}

.professional-review-item:last-child {
    border-bottom: 0;
}

.review-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #eee;
}

.review-user-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 2px;
}

.review-date {
    font-size: 12px;
    color: #aaa;
}

.professional-review-content {
    font-family: 'Merriweather', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    max-width: 90%;
}

/* Reservation Slots Grid Fix */
.time-slots-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 12px;
    max-width: 100%;
    box-sizing: border-box;
}

.time-slots-grid .btn {
    width: 100%;
    padding: 10px 5px !important;
    font-size: 13px !important;
    white-space: nowrap;
}

.review-user-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.user-avatar-fancy {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0e8f5;
}

.user-meta h5 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.user-meta time {
    font-size: 12px;
    color: var(--venyo-text-light);
}

.stars-row {
    color: var(--venyo-gold);
    font-size: 12px;
    margin-bottom: 10px;
}



/* Reservation Widget Glassmorphism */
.reservation-widget-premium {
    background: white;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #f0f0f5;
    box-shadow: 0 30px 60px rgba(95, 34, 101, 0.12);
    position: sticky;
    top: 100px;
    z-index: 50;
    /* Ensure it stays above content but below menus */
}

.widget-title {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--venyo-purple);
    margin-bottom: 25px;
    text-align: center;
}

/* Sidebar Quick Links */
.sidebar-quick-links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-link-premium {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: white;
    border-radius: 20px;
    text-decoration: none !important;
    color: var(--venyo-text);
    font-weight: 700;
    font-size: 15px;
    border: 1px solid #f0f0f5;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.quick-link-premium i:first-child {
    font-size: 20px;
    color: var(--venyo-purple);
    width: 25px;
    text-align: center;
}

.quick-link-premium .ms-auto {
    font-size: 12px;
    opacity: 0.3;
}

.quick-link-premium:hover {
    transform: translateX(10px);
    border-color: var(--venyo-purple);
    box-shadow: 0 15px 40px rgba(95, 34, 101, 0.08);
    color: var(--venyo-purple);
}

/* "Browse The Menu" tab — read-only menu, always available */
.browse-menu-tab-wrap {
    margin-top: 25px;
}

.browse-menu-tab {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--venyo-purple) 0%, var(--venyo-purple-light) 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    border: none;
    box-shadow: 0 12px 30px rgba(95, 34, 101, 0.22);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.browse-menu-tab i:first-child {
    font-size: 20px;
    width: 25px;
    text-align: center;
}

.browse-menu-tab .ms-auto {
    font-size: 12px;
    opacity: 0.7;
    margin-left: auto;
}

.browse-menu-tab:hover,
.browse-menu-tab:focus {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(95, 34, 101, 0.30);
    color: #fff !important;
}

/* Inline placement inside the "Dine & Dash" card */
.browse-menu-inline {
    margin-top: 28px;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .browse-menu-inline .browse-menu-tab {
        display: inline-flex;
        padding: 16px 28px;
    }

    .browse-menu-inline .browse-menu-tab .ms-auto {
        margin-left: 6px;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

.ken-burns {
    animation: kenBurns 10s ease-out forwards;
}

/* Fancy Find Us Redesign */
.location-identity-card {
    background: #fff;
    border: 1px solid rgba(135, 31, 120, 0.05);
    /* Venice purple tint */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.location-identity-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(135, 31, 120, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.location-icon-box {
    width: 60px;
    height: 60px;
    background: transparent;
    color: var(--venyo-purple);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 32px;
    margin-bottom: 1.5rem;
}

.contact-chip {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background: #fdfbff;
    border: 1px solid #f0e8f5;
    border-radius: 20px;
    color: var(--venyo-purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-chip i {
    font-size: 18px;
    opacity: 0.8;
}

.contact-chip:hover {
    background: var(--venyo-purple);
    color: white;
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(135, 31, 120, 0.15);
}

.hours-card {
    background: #fdfbff;
    border: 1px solid #f0e8f5;
    position: relative;
    overflow: hidden;
    color: var(--venyo-purple);
}

.hours-card h5 {
    color: var(--venyo-purple);
}

.hours-card ul li {
    border-color: rgba(135, 31, 120, 0.08) !important;
}

.shadow-v-sm {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.disabled-slot {
    opacity: 0.5;
    background: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #adb5bd !important;
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
}

.disabled-slot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 1px;
    background: rgba(173, 181, 189, 0.4);
    transform: rotate(-15deg);
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .premium-section {
        padding: 25px;
    }

    .restaurant-hero-swiper {
        height: 400px;
    }

    .reservation-widget-premium {
        position: static;
        margin-top: 40px;
    }
}

/* Pre-order Highlight Card */
.preorder-highlight-card {
    background: linear-gradient(135deg, #fff 0%, #faf8fb 100%);
    border: 1px solid #f0e6f2;
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(95, 34, 101, 0.05);
}

.preorder-highlight-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(95, 34, 101, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.badge-fancy {
    display: inline-block;
    background: #f0e8f5;
    color: var(--venyo-purple);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--venyo-text);
}

.benefit-list li i {
    color: #2ecc71;
    font-size: 18px;
}

.floating-dishes-icon {
    position: relative;
    display: inline-block;
}

.floating-dishes-icon i:first-child {
    font-size: 80px;
    color: var(--venyo-purple);
    opacity: 0.1;
}

.shadow-icon {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 40px;
    color: #d4af37;
}

/* Advanced Gallery Lightbox Modal - Premium UI Rescue */
.gallery-lightbox-modal {
    padding: 0 !important;
}

.gallery-lightbox-modal .modal-dialog {
    margin: 0;
    width: 100%;
    height: 100%;
}

.gallery-lightbox-modal .modal-content {
    background: #000;
    border: none;
    border-radius: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.gallery-lightbox-modal .modal-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 2.5rem 2rem !important;
    border: none;
}

.lightbox-info {
    color: #fff;
    font-weight: 800;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.lightbox-info .current-index {
    color: var(--venyo-gold);
    font-size: 2rem;
    line-height: 1;
}

.lightbox-info .total-count {
    opacity: 0.5;
    font-size: 1.1rem;
}

.gallery-lightbox-modal .btn-close {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding-bottom: 4px; /* Align X better */
}

.gallery-lightbox-modal .btn-close:hover {
    background: var(--venyo-purple);
    border-color: var(--venyo-gold);
    transform: rotate(90deg);
}

.galleryLightboxSwiper {
    width: 100vw;
    height: 100vh;
}

.galleryLightboxSwiper .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000;
    width: 100vw;
    height: 100vh;
    padding: 0;
    overflow: hidden;
}

.galleryLightboxSwiper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 100px rgba(0,0,0,0.8);
}

.galleryLightboxSwiper .swiper-slide-active img {
    animation: premiumEntrance 1s ease-out;
}

@keyframes premiumEntrance {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Navigation Buttons */
.custom-nav-btn {
    width: 70px !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: var(--venyo-gold) !important;
    top: 50% !important;
    margin-top: -35px !important;
    z-index: 1200 !important;
    transition: all 0.4s ease !important;
}

.custom-nav-btn:hover {
    background: var(--venyo-purple) !important;
    color: #fff !important;
    transform: scale(1.1);
}

.custom-nav-btn:after {
    font-size: 24px !important;
    font-weight: 900 !important;
}

.swiper-button-prev.custom-nav-btn { left: 30px !important; }
.swiper-button-next.custom-nav-btn { right: 30px !important; }

/* Pagination Bullets - Premium Pill */
.galleryLightboxSwiper .swiper-pagination {
    bottom: 40px !important;
    z-index: 1200 !important;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    width: auto !important;
    left: 50% !important;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.galleryLightboxSwiper .swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.2;
    width: 10px;
    height: 10px;
    margin: 0 !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.galleryLightboxSwiper .swiper-pagination-bullet-active {
    background: var(--venyo-gold) !important;
    opacity: 1;
    width: 32px;
    border-radius: 5px;
}

@media (max-width: 991px) {
    .custom-nav-btn {
        display: none !important; /* Touch/Swipe focused */
    }
}

@media (max-width: 767px) {
    .lightbox-info .current-index { font-size: 1.5rem; }
    .lightbox-info .total-count { font-size: 0.9rem; }
    .gallery-lightbox-modal .modal-header { padding: 1.5rem !important; }
}
