/* * { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-image: linear-gradient(to bottom, var(--white), var(--cream-light));
    min-height: 100vh;
} */

@import url(../styles/colorCode/code.css);

/* ── HEADER ── */
body {
    background-image: linear-gradient(to bottom, var(--white), var(--cream-light));
}

.gallery-header {
    text-align: center;
    padding: 48px 0 32px;
}

.gallery-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.gallery-header h1::after {
    content: '';
    display: block;
    margin: 8px auto 0;
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

#daysContainer .carousel-indicators button {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.55);
    border: none;
    transition: all 0.3s ease;
    opacity: 1;
}

#daysContainer .carousel-indicators button.active {
    background-color: var(--orange);
    width: 40px;
    height: 8px;
    border-radius: 4px;
    transform: none;
}

/* ── CARD ── */
.gallery-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(232, 104, 10, 0.10);
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(232, 104, 10, 0.22);
}

.gallery-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-card .img-wrap {
    overflow: hidden;
}

.card-body-custom {
    padding: 14px 14px 16px;
}

.card-date {
    font-size: 0.78rem;
    color: var(--gray);
    margin-bottom: 4px;
}

.card-title-bn {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.badge-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    letter-spacing: 0.3px;
}

/* ── PAGINATION ── */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 36px 0 48px;
}

.pg-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    transition: background .2s, color .2s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-btn:hover {
    background: var(--orange-pale);
    transform: scale(1.1);
}

.pg-btn.active {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(232, 104, 10, 0.35);
}

.pg-btn.arrow {
    font-size: 1rem;
}

.pg-btn:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 8, 0, 0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn .2s;
}

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

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.lightbox-inner {
    position: relative;
    max-width: 820px;
    width: 94%;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    animation: popIn .25s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes popIn {
    from {
        transform: scale(.88);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

.lightbox-inner img {
    width: 100%;
    display: block;
    max-height: 72vh;
    object-fit: cover;
}

.lightbox-info {
    padding: 16px 20px;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* fade-in for grid */
.gallery-grid {
    animation: fadeIn .35s;
}

.heading-badge {
    /* font-size: 0.6em; */
    /* background: var(--orange); */
    padding: 2px 10px;
    border-radius: 20px;
    vertical-align: middle;
    margin-left: 8px;
}

/* ── MOBILE 430x932: hide Back to Gallery button ── */
@media screen and (max-width: 430px) and (max-height: 932px) {
    .gallery-header a.btn {
        display: none !important;
    }
}