/* ══════════════════════════════════
   bistro.css
   Insight Resort — Bistro Page
   ══════════════════════════════════ */

/* ── Section Spacing ── */
.bistro-section {
    padding: 2.5rem 0;
}

/* ── Banners (single full-width rows) ── */
.bistro-banner img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.bistro-banner-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ── Info Banner (opening hours + contact overlay) ── */
.bistro-info-overlay {
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    width: min(400px, 42%);
    padding: 1.75rem 1.5rem;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.97));
    border-radius: 10px;
    border-right: 4px solid #c8902d;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.45);
    color: #fff;
    margin-left: 3rem;
}

.bistro-info-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #f5d189;
}

.bistro-info-list {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.6;
}

.bistro-info-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 3px 0;
}

.bistro-info-list li span:first-child {
    font-weight: 600;
}

.bistro-info-name {
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 15px;
    color: #f5d189;
}

.bistro-info-address,
.bistro-info-contact {
    margin-bottom: 0.25rem;
    font-size: 13.5px;
    line-height: 1.55;
}

.bistro-info-contact {
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

/* ── Info Banner animations ── */
.bistro-info-overlay {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease, box-shadow 0.4s ease;
}

.bistro-info-banner:not(.is-visible) .bistro-info-overlay {
    opacity: 0;
    transform: translateY(-50%) translateX(-40px);
}

.bistro-info-banner.is-visible .bistro-info-overlay {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.bistro-info-overlay:hover {
    box-shadow: 0 0 22px rgba(200, 144, 45, 0.35), 5px 5px 15px rgba(0, 0, 0, 0.45);
}

.bistro-info-title {
    position: relative;
    overflow: hidden;
}

.bistro-info-title::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 60%;
    background: linear-gradient(90deg, transparent, rgba(255, 240, 200, 0.45), transparent);
    transform: skewX(-20deg);
    animation: bistro-title-shimmer 2.8s ease-in-out infinite;
}

.bistro-info-banner:not(.is-visible) .bistro-info-list li,
.bistro-info-banner:not(.is-visible) .bistro-info-name,
.bistro-info-banner:not(.is-visible) .bistro-info-address,
.bistro-info-banner:not(.is-visible) .bistro-info-contact {
    opacity: 0;
    transform: translateX(-14px);
}

.bistro-info-banner.is-visible .bistro-info-list li,
.bistro-info-banner.is-visible .bistro-info-name,
.bistro-info-banner.is-visible .bistro-info-address,
.bistro-info-banner.is-visible .bistro-info-contact {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.bistro-info-banner.is-visible .bistro-info-list li:nth-child(1) { transition-delay: 0.15s; }
.bistro-info-banner.is-visible .bistro-info-list li:nth-child(2) { transition-delay: 0.22s; }
.bistro-info-banner.is-visible .bistro-info-list li:nth-child(3) { transition-delay: 0.29s; }
.bistro-info-banner.is-visible .bistro-info-list li:nth-child(4) { transition-delay: 0.36s; }
.bistro-info-banner.is-visible .bistro-info-list li:nth-child(5) { transition-delay: 0.43s; }
.bistro-info-banner.is-visible .bistro-info-list li:nth-child(6) { transition-delay: 0.5s; }
.bistro-info-banner.is-visible .bistro-info-list li:nth-child(7) { transition-delay: 0.57s; }
.bistro-info-banner.is-visible .bistro-info-name { transition-delay: 0.66s; }
.bistro-info-banner.is-visible .bistro-info-address { transition-delay: 0.72s; }
.bistro-info-banner.is-visible .bistro-info-contact { transition-delay: 0.78s; }

/* ── Cards (three images with overlay content) ── */
.bistro-card {
    position: relative;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

.bistro-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.bistro-card:hover .bistro-card-img {
    transform: scale(1.05);
}

.bistro-card-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 75%;
    padding: 2.5rem 1.75rem 1.5rem;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.92) 40%, rgba(15, 15, 15, 0.45) 75%, transparent);
    color: #fff;
    font-size: 14px;
}

.bistro-card-title {
    position: relative;
    margin-bottom: 0.75rem;
    margin-left: -1.75rem;
    padding: 0.5rem 1.75rem;
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(200, 144, 45, 0.85) 0%, rgba(200, 144, 45, 0.55) 55%, rgba(200, 144, 45, 0) 100%);
}

.bistro-card-title::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 60%;
    background: linear-gradient(90deg, transparent, rgba(255, 240, 200, 0.45), transparent);
    transform: skewX(-20deg);
    animation: bistro-title-shimmer 2.8s ease-in-out infinite;
}

@keyframes bistro-title-shimmer {
    0% {
        left: -60%;
    }
    100% {
        left: 160%;
    }
}

.bistro-card-text {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.bistro-card-list {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.6;
}

.bistro-card-list li {
    padding: 2px 0;
}

/* ── Video ── */
.bistro-video {
    height: 350px;
    overflow: hidden;
}

.bistro-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Small Image Grid ── */
.bistro-small-img {
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

/* ── Carousel ── */
#bistroCarousel .carousel-indicators {
    position: relative;
    bottom: auto;
    margin-top: 18px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 0;
}

#bistroCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #c8c0a8;
    border: none;
    opacity: 1;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#bistroCarousel .carousel-indicators [data-bs-target]:hover {
    transform: scale(1.3);
    background-color: #b0a080;
}

#bistroCarousel .carousel-indicators .active {
    background-color: #c8902d;
    transform: scale(1.2);
}

.bistro-carousel-img {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.bistro-carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Split Banners ── */
.bistro-split-banners .row {
    min-height: 500px;
}

.bistro-split-banners .col-md-6 {
    display: flex;
}

.bistro-split-banners img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ── Responsive ── */
@media (prefers-reduced-motion: reduce) {
    .bistro-card-title::after,
    .bistro-info-title::after {
        animation: none;
    }

    .bistro-info-banner:not(.is-visible) .bistro-info-overlay,
    .bistro-info-banner:not(.is-visible) .bistro-info-list li,
    .bistro-info-banner:not(.is-visible) .bistro-info-name,
    .bistro-info-banner:not(.is-visible) .bistro-info-address,
    .bistro-info-banner:not(.is-visible) .bistro-info-contact {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .bistro-banner img {
        height: 300px;
    }

    .bistro-video {
        height: 250px;
    }

    .bistro-small-img,
    .bistro-carousel-img {
        height: 220px;
    }

    .bistro-card {
        min-height: 440px;
    }

    .bistro-info-overlay {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .bistro-info-overlay {
        left: 1.5rem;
        width: min(380px, calc(100% - 3rem));
        margin-left: 0;
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .bistro-info-banner .container {
        display: flex;
        flex-direction: column;
    }

    .bistro-info-banner img {
        height: clamp(220px, 68vw, 320px);
        border-radius: 8px 8px 0 0;
    }

    .bistro-info-overlay {
        margin: 0;
        padding: 1.35rem 1.25rem;
        border-right-width: 0;
        border-bottom: 4px solid #c8902d;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    }

    .bistro-info-banner:not(.is-visible) .bistro-info-overlay,
    .bistro-info-banner:not(.is-visible) .bistro-info-list li,
    .bistro-info-banner:not(.is-visible) .bistro-info-name,
    .bistro-info-banner:not(.is-visible) .bistro-info-address,
    .bistro-info-banner:not(.is-visible) .bistro-info-contact {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .bistro-info-title {
        margin-bottom: 0.6rem;
        font-size: 1.15rem;
    }

    .bistro-info-list {
        margin-bottom: 0.85rem;
        font-size: 0.875rem;
        line-height: 1.45;
    }

    .bistro-info-list li {
        gap: 0.75rem;
        padding: 0.2rem 0;
    }

    .bistro-info-list li span:last-child {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .bistro-info-name {
        font-size: 0.925rem;
    }

    .bistro-info-address,
    .bistro-info-contact {
        font-size: 0.825rem;
        line-height: 1.45;
    }
}

@media (max-width: 374.98px) {
    .bistro-info-overlay {
        padding: 1.2rem 1rem;
    }
}
