/* ============================================================
   Carton Castle - Gallery Page Styles
============================================================ */

/* ---- Page Banner (duplicated so this file is standalone) ---- */
.page-banner {
    min-height: 45vh;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
    background:
        linear-gradient(rgba(26, 18, 13, 0.75), rgba(26, 18, 13, 0.75)),
        url('../images/wallpaper.png') center center / cover no-repeat;
}

.page-banner .breadcrumb {
    display: flex;
    gap: .5rem;
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: var(--gold-light);
}

.page-banner .breadcrumb-item a {
    color: var(--gold-light);
    text-decoration: none;
}

.page-banner .breadcrumb-item a:hover {
    color: #fff;
}

.page-banner .breadcrumb-item.active {
    color: #fff;
}

/* ---- Tabs ---- */
.gtab-btn {
    border: 2px solid var(--main);
    background: transparent;
    color: var(--main);
    padding: .6rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background .3s ease, color .3s ease;
}

.gtab-btn:hover {
    background: rgba(205, 161, 100, 0.12);
}

.gtab-btn.active {
    background: var(--main);
    color: #fff;
}

/* ---- Video Cards ---- */
.video-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: .85;
    transition: opacity .3s ease, transform .5s ease;
}

.video-card:hover video {
    opacity: .65;
    transform: scale(1.03);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-play-overlay i {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(205, 161, 100, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: transform .3s ease;
}

.video-card:hover .video-play-overlay i {
    transform: scale(1.1);
}

/* ---- Lightbox / Video Modal ---- */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 7, 5, 0.94);
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-img {
    max-width: 88vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-video {
    max-width: 88vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    inset-inline-end: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    transition: background .3s ease;
}

.lightbox-nav:hover {
    background: var(--main);
}

.lightbox-prev {
    inset-inline-start: 24px;
}

.lightbox-next {
    inset-inline-end: 24px;
}

/* ---- CTA (reused shared name from products.css) ---- */
.products-cta {
    background: linear-gradient(135deg, var(--dark) 0%, #2a1c12 100%);
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .page-banner {
        min-height: 35vh;
    }

    .video-card {
        height: 200px;
    }

    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .lightbox-close {
        top: 14px;
        font-size: 2rem;
    }
}
