/* ─── Photo Gallery Page Styles ─── */
/* Standardized premium theme variables */
:root {
    --navy: #1a3a5c;
    --navy-dark: #0f172a;
    --accent: #f5a623;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --text: #334155;
    --muted: #64748b;
    --card-radius: 12px;
}

body {
    font-family: 'Mukta', 'Tiro Devanagari Marathi', sans-serif;
    color: var(--text);
    background-color: var(--light-bg);
}

/* ─── PAGE HEADING ─── */
.page-heading {
    text-align: center;
    padding: 48px 20px 24px;
    margin-bottom: 24px;
}
.page-heading h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--navy-dark);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.page-heading p {
    font-size: 19px;
    color: var(--muted);
    font-weight: 500;
}

/* ─── TAB NAVIGATION ─── */
.tabs-wrapper {
    margin-bottom: 48px;
}
.tab-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 4px;
}
.tab-pills::-webkit-scrollbar {
    display: none;
}
@media (min-width: 992px) {
    .tab-pills {
        justify-content: center;
        flex-wrap: wrap;
    }
}
.tab-pills .nav-item {
    margin: 0;
}
.tab-pill {
    padding: 12px 28px;
    border-radius: 40px;
    border: 2px solid #eef2f6;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.tab-pill:hover {
    border-color: var(--navy-dark);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.tab-pill.active, .nav-pills .nav-link.active {
    background: var(--navy-dark);
    color: #fff;
    border-color: var(--navy-dark);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

/* ─── SECTION TITLES ─── */
.gallery-section {
    margin-bottom: 60px;
}
.section-subtitle {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}
.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* ─── GALLERY CARDS ─── */
.gallery-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(26, 58, 92, 0.08);
    border-color: transparent;
}

.gallery-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #e2e8f0;
    margin-bottom: 16px;
    position: relative;
}
.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.05);
}
.gallery-caption {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-dark);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* ─── VIDEO OVERRIDES ─── */
.video-card .gallery-img-wrap {
    aspect-ratio: auto;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
