﻿/* =========================================================
   TANYA SPECIALITY HOSPITAL
   PREMIUM 2026 GALLERY
   COMPLETELY ISOLATED CSS
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --tanya26-brown: #9d795d;
    --tanya26-white: #ffffff;
    --tanya26-yellow: #fff9c7;
    --tanya26-black: #000000;
    --tanya26-dark-brown: #765943;
    --tanya26-light-brown: #b79678;
    --tanya26-border: rgba(157, 121, 93, 0.18);
    --tanya26-shadow: 0 20px 55px rgba(0, 0, 0, 0.10);
    --tanya26-shadow-hover: 0 30px 75px rgba(0, 0, 0, 0.18);
    --tanya26-radius: 22px;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.tanya26-gallery-section {
    width: 100%;
    background: linear-gradient( 180deg, #ffffff 0%, #fffdf8 45%, #fff9c7 100% );
    padding: 50px 0 110px;
    overflow: hidden;
}


/* =========================================================
   90% WIDTH CONTAINER
========================================================= */

.tanya26-gallery-container {
    width: 90%;
    max-width: 1700px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.tanya26-gallery-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 55px;
}


.tanya26-gallery-header-content {
    position: relative;
}


.tanya26-gallery-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--tanya26-brown);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}


.tanya26-gallery-eyebrow-line {
    width: 35px;
    height: 2px;
    background: var(--tanya26-brown);
    display: inline-block;
}


.tanya26-gallery-title {
    margin: 0;
    color: var(--tanya26-black);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
}


    .tanya26-gallery-title span {
        color: var(--tanya26-brown);
    }


.tanya26-gallery-description {
    max-width: 720px;
    margin: 22px auto 0;
    color: #666;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   FILTER AREA
========================================================= */

.tanya26-gallery-filter-area {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--tanya26-border);
    border-radius: 25px;
    padding: 25px 30px;
    margin-bottom: 55px;
    box-shadow: 0 15px 45px rgba(157, 121, 93, 0.08);
    backdrop-filter: blur(10px);
}


.tanya26-gallery-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(157, 121, 93, 0.12);
}


.tanya26-gallery-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--tanya26-black);
    font-size: 18px;
    font-weight: 800;
}


    .tanya26-gallery-filter-label i {
        color: var(--tanya26-brown);
    }


.tanya26-gallery-filter-subtitle {
    color: #777;
    font-size: 14px;
}


/* =========================================================
   FILTER BUTTONS
========================================================= */

.tanya26-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}


.tanya26-gallery-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 11px 19px;
    border: 1px solid rgba(157, 121, 93, 0.25);
    border-radius: 50px;
    background: #ffffff;
    color: #444;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}


    .tanya26-gallery-filter i {
        color: var(--tanya26-brown);
        transition: transform 0.3s ease, color 0.3s ease;
    }


    .tanya26-gallery-filter:hover {
        background: var(--tanya26-yellow);
        border-color: var(--tanya26-brown);
        color: var(--tanya26-black);
        transform: translateY(-3px);
    }


        .tanya26-gallery-filter:hover i {
            transform: scale(1.15);
        }


    .tanya26-gallery-filter.active {
        background: var(--tanya26-brown);
        border-color: var(--tanya26-brown);
        color: #ffffff;
        box-shadow: 0 10px 25px rgba(157, 121, 93, 0.28);
    }


        .tanya26-gallery-filter.active i {
            color: #ffffff;
        }


/* =========================================================
   GALLERY GRID
========================================================= */

.tanya26-gallery-grid {
    position: relative;
}


/* =========================================================
   GALLERY COLUMN
========================================================= */

.tanya26-gallery-column {
    transition: opacity 0.35s ease, transform 0.35s ease;
}


/* =========================================================
   GALLERY CARD
========================================================= */

.tanya26-gallery-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--tanya26-radius);
    background: #ffffff;
    box-shadow: var(--tanya26-shadow);
    border: 1px solid rgba(157, 121, 93, 0.10);
    transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.45s ease;
}


    .tanya26-gallery-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--tanya26-shadow-hover);
    }


/* =========================================================
   IMAGE BOX
========================================================= */

.tanya26-gallery-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f4f1ed;
}


/* =========================================================
   IMAGE
========================================================= */

.tanya26-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}


.tanya26-gallery-card:hover
.tanya26-gallery-image {
    transform: scale(1.08);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.tanya26-gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 180deg, rgba(0, 0, 0, 0.02) 20%, rgba(0, 0, 0, 0.10) 45%, rgba(0, 0, 0, 0.82) 100% );
    transition: background 0.4s ease;
}


.tanya26-gallery-card:hover
.tanya26-gallery-overlay {
    background: linear-gradient( 180deg, rgba(157, 121, 93, 0.06) 10%, rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.88) 100% );
}


/* =========================================================
   CATEGORY BADGE
========================================================= */

.tanya26-gallery-category {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.93);
    color: var(--tanya26-brown);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}


    .tanya26-gallery-category i {
        font-size: 12px;
    }


/* =========================================================
   CARD CONTENT
========================================================= */

.tanya26-gallery-content {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 23px;
    z-index: 3;
}


    .tanya26-gallery-content span {
        display: block;
        margin-bottom: 7px;
        color: var(--tanya26-yellow);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }


    .tanya26-gallery-content h3 {
        margin: 0 0 16px;
        color: #ffffff;
        font-size: 22px;
        line-height: 1.25;
        font-weight: 800;
    }


/* =========================================================
   VIEW IMAGE BUTTON
========================================================= */

.tanya26-gallery-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}


    .tanya26-gallery-view:hover {
        background: var(--tanya26-yellow);
        border-color: var(--tanya26-yellow);
        color: var(--tanya26-black);
        transform: translateY(-2px);
    }


/* =========================================================
   NO RESULTS
========================================================= */

.tanya26-gallery-empty {
    display: none;
    text-align: center;
    padding: 70px 20px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 25px;
    border: 1px solid var(--tanya26-border);
}


.tanya26-gallery-empty-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tanya26-yellow);
    color: var(--tanya26-brown);
    font-size: 28px;
}


.tanya26-gallery-empty h3 {
    margin-bottom: 10px;
    color: var(--tanya26-black);
    font-weight: 800;
}


.tanya26-gallery-empty p {
    margin: 0;
    color: #777;
}


/* =========================================================
   HIDDEN FILTER ITEMS
========================================================= */

.tanya26-gallery-column.tanya26-gallery-hidden {
    display: none;
}


/* =========================================================
   BOOTSTRAP MODAL
========================================================= */

.tanya26-gallery-modal-content {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 22px;
    background: #000000;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}


.tanya26-gallery-modal-body {
    position: relative;
    padding: 0;
    background: #000000;
}


.tanya26-gallery-modal-image {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}


.tanya26-gallery-modal-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 35px;
    background: linear-gradient( transparent, rgba(0, 0, 0, 0.90) );
}


    .tanya26-gallery-modal-caption span {
        color: var(--tanya26-yellow);
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 700;
    }


    .tanya26-gallery-modal-caption h3 {
        margin: 7px 0 0;
        color: #ffffff;
        font-size: 24px;
        font-weight: 800;
    }


.tanya26-gallery-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 20;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}


    .tanya26-gallery-modal-close:hover {
        background: var(--tanya26-yellow);
        color: var(--tanya26-black);
        transform: rotate(90deg);
    }


/* =========================================================
   SCROLL REVEAL INITIAL STATE
========================================================= */

.tanya26-reveal-left,
.tanya26-reveal-right {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
}


.tanya26-reveal-left {
    transform: translateX(-70px);
}


.tanya26-reveal-right {
    transform: translateX(70px);
}


    .tanya26-reveal-left.tanya26-revealed,
    .tanya26-reveal-right.tanya26-revealed {
        opacity: 1;
        transform: translateX(0);
    }


/* =========================================================
   FILTER ANIMATION
========================================================= */

.tanya26-gallery-column.tanya26-filter-hide {
    opacity: 0;
    transform: scale(0.92);
}


.tanya26-gallery-column.tanya26-filter-show {
    animation: tanya26GalleryAppear 0.55s ease forwards;
}


@keyframes tanya26GalleryAppear {

    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .tanya26-gallery-section {
        padding: 80px 0 90px;
    }


    .tanya26-gallery-container {
        width: 90%;
    }


    .tanya26-gallery-filter-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }


    .tanya26-gallery-filter-subtitle {
        font-size: 13px;
    }


    .tanya26-gallery-content h3 {
        font-size: 20px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .tanya26-gallery-section {
        padding: 65px 0 75px;
    }


    .tanya26-gallery-container {
        width: 90%;
    }


    .tanya26-gallery-header {
        margin-bottom: 38px;
    }


    .tanya26-gallery-eyebrow {
        font-size: 11px;
        letter-spacing: 1.2px;
    }


    .tanya26-gallery-title {
        font-size: 40px;
        letter-spacing: -1.5px;
    }


    .tanya26-gallery-description {
        font-size: 15px;
        line-height: 1.7;
    }


    .tanya26-gallery-filter-area {
        padding: 20px;
        border-radius: 20px;
        margin-bottom: 40px;
    }


    .tanya26-gallery-filter-heading {
        margin-bottom: 18px;
    }


    .tanya26-gallery-filter-label {
        font-size: 16px;
    }


    .tanya26-gallery-filters {
        justify-content: flex-start;
        gap: 8px;
    }


    .tanya26-gallery-filter {
        min-height: 43px;
        padding: 9px 13px;
        font-size: 12px;
    }


    .tanya26-gallery-image-box {
        aspect-ratio: 4 / 3;
    }


    .tanya26-gallery-content {
        left: 20px;
        right: 20px;
        bottom: 19px;
    }


        .tanya26-gallery-content h3 {
            font-size: 19px;
            margin-bottom: 12px;
        }


    .tanya26-gallery-category {
        top: 15px;
        left: 15px;
        padding: 8px 11px;
        font-size: 10px;
    }


    .tanya26-gallery-modal-caption {
        padding: 25px 20px;
    }


        .tanya26-gallery-modal-caption h3 {
            font-size: 19px;
        }


    .tanya26-gallery-modal-close {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .tanya26-gallery-title {
        font-size: 34px;
    }


    .tanya26-gallery-filter {
        width: 100%;
    }


    .tanya26-gallery-filter-area {
        padding: 17px;
    }


    .tanya26-gallery-content h3 {
        font-size: 17px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tanya26-gallery-card,
    .tanya26-gallery-image,
    .tanya26-gallery-filter,
    .tanya26-gallery-view,
    .tanya26-gallery-modal-close {
        transition: none !important;
    }


    .tanya26-reveal-left,
    .tanya26-reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


.tanya26-kidneys-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    flex-shrink: 0;
    color: #9d795d;
}
/* ================= HERO ================= */
.tyx-gallery-hero{position:relative!important;width:100%!important;height:540px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:url('https://images.pexels.com/photos/263402/pexels-photo-263402.jpeg') center center/cover no-repeat fixed!important;}
.tyx-gallery-hero-overlay{position:absolute!important;inset:0!important;z-index:1!important;background:linear-gradient(135deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.72) 50%,rgba(157,121,93,.62) 100%)!important;}
.tyx-hero-content{position:relative;z-index:10;width:100%;max-width:850px;margin:0 auto;padding:0 15px;text-align:center;}
.tyx-hero-eyebrow{display:inline-flex;align-items:center;gap:9px;margin:0 0 20px;color:#fff9c7;font-size:11px;font-weight:700;letter-spacing:3px;text-transform:uppercase;}
.tyx-hero-title{margin:0 auto!important;color:#fff!important;font-size:clamp(48px,7vw,50px)!important;line-height:1.05!important;font-weight:500!important;letter-spacing:-2px!important;text-align:center!important;text-shadow:0 5px 25px rgba(0,0,0,.45)!important;}
.tyx-hero-title span{position:relative;display:inline-block;color:#fff9c7;font-weight:700;margin-left:5px;}
.tyx-hero-title span i{position:absolute;left:5%;right:5%;bottom:-8px;height:2px;display:block;}
.tyx-hero-divider{display:flex;align-items:center;justify-content:center;gap:12px;margin:28px auto 20px;}
.tyx-hero-divider b{display:block;width:60px;height:1px;background:rgba(255,249,199,.7);}
.tyx-hero-divider em{width:29px;height:29px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,249,199,.7);border-radius:50%;color:#fff9c7;font-size:17px;font-style:normal;line-height:1;}
.tyx-hero-text{max-width:720px;margin:0 auto;color:rgba(255,255,255,.9);font-size:16px;line-height:1.85;letter-spacing:.2px;text-align:center;}
.tyx-hero-crumb{display:flex;align-items:center;justify-content:center;margin-top:25px;font-size:13px;letter-spacing:.6px;}
.tyx-hero-crumb a{color:#fff;text-decoration:none;}
.tyx-hero-crumb .sep{margin:0 10px;color:#9d795d;font-weight:700;}
.tyx-hero-crumb .cur{color:#fff9c7;font-weight:600;}
.tyx-hero-shape{position:absolute!important;left:0;bottom:-1px;width:100%;height:45px;z-index:6;background:#fff;clip-path:polygon(0 100%,0 70%,25% 82%,50% 62%,75% 82%,100% 65%,100% 100%);}
.tyx-hero-scroll{position:absolute;left:50%;bottom:52px;z-index:7;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:7px;}
.tyx-hero-scroll span{color:#fff;font-size:8px;font-weight:600;letter-spacing:3px;}
.tyx-hero-scroll i{display:block;width:1px;height:28px;background:#fff9c7;}

/* ================= VIDEO PLAY BUTTON ================= */
.tyx-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:68px;height:68px;border-radius:50%;background:rgba(157,121,93,.92);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;z-index:3;transition:transform .3s ease;pointer-events:none;}
.tyx-video-card:hover .tyx-video-play{transform:translate(-50%,-50%) scale(1.12);}

/* ================= POPUP (photos + videos) ================= */
.tyx-lb{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.88);display:none;align-items:center;justify-content:center;padding:20px;}
.tyx-lb.open{display:flex;}
.tyx-lb-box{position:relative;width:100%;max-width:1100px;}
.tyx-lb-body{width:100%;background:#000;border-radius:10px;overflow:hidden;}
.tyx-lb-body.is-video{aspect-ratio:16/9;}
.tyx-lb-body iframe,.tyx-lb-body video{width:100%;height:100%;border:0;display:block;}
.tyx-lb-body img{width:100%;max-height:80vh;object-fit:contain;display:block;}
.tyx-lb-title{color:#fff;text-align:center;margin:14px 0 0;font-size:20px;}
.tyx-lb-close{position:absolute;top:-46px;right:0;width:38px;height:38px;border:0;border-radius:50%;background:#9d795d;color:#fff;font-size:18px;cursor:pointer;}

/* ================= EMPTY STATE ================= */
.tyx-empty{text-align:center;padding:50px 20px;color:#777;}
.tyx-empty .ico{font-size:46px;color:#9d795d;margin-bottom:14px;}
.tyx-empty h3{margin:0 0 8px;font-size:24px;color:#222;}
.tyx-empty p{margin:0;text-align: center;}