/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   HTML
========================================================= */

html {
    margin: 0;
    padding: 0;

    width: 100%;

    scroll-behavior: smooth;
}


/* =========================================================
   BODY
========================================================= */

body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100vh;

    font-family: "Montserrat", sans-serif;

    color: #222;

    background: #fff;

    overflow-x: hidden;
}


/* =========================================================
   COMMON
========================================================= */

img {
    max-width: 100%;
    height: auto;

    display: block;
}


a {
    text-decoration: none;
}


ul,
ol {
    margin: 0;
    padding: 0;

    list-style: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   HEADINGS
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;
}


p {
    margin: 0;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 92%;

    max-width: 1400px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero-slider-section {

    position: relative;

    width: 100%;

    margin: 0;
    padding: 0;

    background: #000;

    overflow: hidden;
}


/* =========================================================
   HERO SLIDER
========================================================= */

.hero-slider {

    position: relative;

    width: 100%;

    height: calc(100vh - 90px);

    min-height: 520px;

    overflow: hidden;

    background: #000;

    cursor: grab;

    user-select: none;

    touch-action: pan-y;

}


/* =========================================================
   WHEN DRAGGING
========================================================= */

.hero-slider.is-dragging {

    cursor: grabbing;

}


/* =========================================================
   TRACK
========================================================= */

.hero-track {

    display: flex;

    flex-direction: row;

    width: 100%;

    height: 100%;

    margin: 0;
    padding: 0;

    transform: translateX(0);

    transition:
        transform 0.65s cubic-bezier(
            0.22,
            0.61,
            0.36,
            1
        );

    will-change: transform;

}


/* =========================================================
   SLIDE
========================================================= */

.hero-slide {

    position: relative;

    flex: 0 0 100%;

    width: 100%;

    min-width: 100%;

    max-width: 100%;

    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #000;

}


/* =========================================================
   SLIDE IMAGE
========================================================= */

.hero-slide img {

    display: block;

    width: 100%;

    height: 100%;

    max-width: none;

    margin: 0;
    padding: 0;

    object-fit: cover;

    object-position: center center;

    pointer-events: none;

    user-select: none;

    -webkit-user-drag: none;

}


/* =========================================================
   ARROWS
========================================================= */

.hero-arrow {

    position: absolute;

    top: 50%;

    z-index: 50;

    width: 55px;

    height: 65px;

    padding: 0;
    margin: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    transform: translateY(-50%);

    border: 0;

    outline: none;

    background: transparent;

    cursor: pointer;

    opacity: 0.95;

    transition:
        opacity 0.25s ease;

}


/* =========================================================
   PREVIOUS
========================================================= */

.hero-prev {

    left: 20px;

}


/* =========================================================
   NEXT
========================================================= */

.hero-next {

    right: 20px;

}


/* =========================================================
   ARROW ICON
========================================================= */

.hero-arrow span {

    display: block;

    width: 13px;

    height: 13px;

    border-top: 2px solid #fff;

    border-right: 2px solid #fff;

    filter:
        drop-shadow(
            0 1px 2px rgba(0, 0, 0, 0.7)
        );

}


/* =========================================================
   LEFT ARROW
========================================================= */

.hero-prev span {

    transform: rotate(-135deg);

}


/* =========================================================
   RIGHT ARROW
========================================================= */

.hero-next span {

    transform: rotate(45deg);

}


/* =========================================================
   ARROW HOVER
========================================================= */

.hero-arrow:hover {

    opacity: 0.7;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .hero-slider {

        height: calc(100vh - 80px);

        min-height: 480px;

    }


    .hero-prev {

        left: 15px;

    }


    .hero-next {

        right: 15px;

    }


    .hero-arrow {

        width: 45px;

        height: 55px;

    }


    .hero-arrow span {

        width: 11px;

        height: 11px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .hero-slider {

        height: auto;

        min-height: 0;

        aspect-ratio: 16 / 10;

    }


    .hero-slide {

        height: 100%;

    }


    .hero-slide img {

        width: 100%;

        height: 100%;

        object-fit: cover;

    }


    .hero-prev {

        left: 5px;

    }


    .hero-next {

        right: 5px;

    }


    .hero-arrow {

        width: 38px;

        height: 48px;

    }


    .hero-arrow span {

        width: 9px;

        height: 9px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hero-slider {

        aspect-ratio: 4 / 3;

    }


    .hero-arrow {

        width: 35px;

        height: 45px;

    }


    .hero-arrow span {

        width: 8px;

        height: 8px;

    }

}

/* =========================================================
   LEGACY OF BANARAS GHARANA
========================================================= */

.legacy-section {
    position: relative;
    width: 100%;
    padding: 70px 50px;
    background: #fbf6ec;
    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.legacy-container {
    width: min(1400px, calc(100% - 100px));
    margin: 0 auto;
}


/* =========================================================
   HEADING
========================================================= */

.legacy-heading {
    margin-bottom: 25px;
}

.legacy-eyebrow {
    display: block;
    margin-bottom: 10px;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: #b27a32;
}

.legacy-heading h2 {
    margin: 0;

    font-family: "Cormorant Garamond", serif;
    font-size: clamp(35px, 5vw, 60px);
    line-height: 0.95;
    font-weight: 600;

    color: #30465a;
}

.legacy-heading h2 span {
    color: #b27a32;
}

.legacy-heading-line {
    width: 70px;
    height: 3px;

    margin-top: 15px;

    background: #b27a32;
}


/* =========================================================
   TOP CONTENT
========================================================= */

.legacy-top-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 50px;

    align-items: start;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.legacy-left-content {
    padding-top: 5px;
}

.legacy-left-content p {
    margin: 0 0 15px;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 2;

    font-weight: 400;

    color: #35516d;
}

.legacy-left-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   GALLERY
========================================================= */

.legacy-gallery {
    width: 100%;
}

.legacy-image-box {
    position: relative;

    width: 100%;
    height: 500px;

    overflow: hidden;

    background: #20262b;
}


/* =========================================================
   MAIN IMAGE
========================================================= */

#legacyMainImage {
    display: block;

    width: 100%;
    height: 100%;

    /* POORI IMAGE SHOW HOGI */
    object-fit: contain;
    object-position: center center;

    /* Background */
    background: #FBF6EC;

    opacity: 1;

    transition: opacity 0.35s ease;
}


/* =========================================================
   IMAGE ARROWS
========================================================= */

.legacy-image-arrow {
    position: absolute;

    top: 50%;

    width: 45px;
    height: 45px;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;

    opacity: 0;

    transform: translateY(-50%);

    transition:
        opacity 0.25s ease,
        background 0.25s ease;
}

.legacy-image-box:hover .legacy-image-arrow {
    opacity: 1;
}

.legacy-image-arrow:hover {
    background: #ffffff;
}

.legacy-image-prev {
    left: 20px;
}

.legacy-image-next {
    right: 20px;
}


/* Arrow shape */

.legacy-image-arrow span {
    display: block;

    width: 10px;
    height: 10px;

    border-top: 2px solid #30465a;
    border-right: 2px solid #30465a;
}

.legacy-image-prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.legacy-image-next span {
    transform: rotate(45deg);
    margin-right: 4px;
}


/* =========================================================
   THUMBNAILS CONTAINER
========================================================= */

.legacy-image-thumbs {
    position: absolute;

    right: 50px;
    bottom: 32px;

    display: flex;
    align-items: center;

    max-width: calc(100% - 110px);

    padding: 7px;

    background: rgba(255, 255, 255, 0.96);

    border-radius: 50px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.15);

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;

    z-index: 20;
}

.legacy-image-thumbs::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   THUMBNAIL
========================================================= */

.legacy-thumb {
    flex: 0 0 54px;

    width: 54px;
    height: 54px;

    padding: 0;

    margin: 0 3px;

    border: 2px solid transparent;

    border-radius: 50%;

    background: transparent;

    overflow: hidden;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.legacy-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;
}

.legacy-thumb:hover {
    transform: scale(1.08);
}

.legacy-thumb.active {
    border-color: #b27a32;

    transform: scale(1.08);
}


/* =========================================================
   FULL CONTENT
========================================================= */

.legacy-full-content {
    width: 100%;

    margin-top: 40px;
}

.legacy-full-content p {
    margin: 0 0 15px;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 2;

    color: #35516d;
}

.legacy-full-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   IMAGE LOADING EFFECT
========================================================= */

.legacy-image-box.is-changing #legacyMainImage {
    opacity: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .legacy-section {
        padding: 60px 0;
    }

    .legacy-container {
        width: min(92%, 760px);
    }

    .legacy-heading {
        margin-bottom: 30px;
    }

    .legacy-heading h2 {
        font-size: clamp(48px, 7vw, 65px);
    }

    .legacy-top-content {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .legacy-image-box {
        height: 430px;
    }

    .legacy-left-content p,
    .legacy-full-content p {
        font-size: 15px;
        line-height: 1.9;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .legacy-section {
        padding: 36px 0 40px;
    }

    .legacy-container {
        width: calc(100% - 32px);
    }

    .legacy-eyebrow {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .legacy-heading {
        margin-bottom: 22px;
    }

    .legacy-heading h2 {
        font-size: clamp(32px, 10vw, 42px);
        line-height: 1;
    }

    .legacy-heading-line {
        width: 55px;
        height: 2px;
        margin-top: 14px;
    }

    .legacy-top-content {
        gap: 22px;
    }

    .legacy-left-content p,
    .legacy-full-content p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 14px;
    }

    .legacy-image-box {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    /* No hover on touch screens - keep arrows visible */
    .legacy-image-arrow {
        opacity: 1;
    }

    .legacy-image-arrow {
        width: 40px;
        height: 40px;
    }

    .legacy-image-prev {
        left: 12px;
    }

    .legacy-image-next {
        right: 12px;
    }

    .legacy-image-thumbs {
        right: 12px;
        bottom: 15px;

        max-width: calc(100% - 24px);

        padding: 5px;
    }

    .legacy-thumb {
        flex-basis: 44px;

        width: 44px;
        height: 44px;
    }

    .legacy-full-content {
        margin-top: 22px;
    }
}

/* =========================================================
   RISHAL MUSIC TRUST
   MASONRY PHOTO GALLERY
========================================================= */

.rmt-photo-gallery {
    width: 100%;

    padding: 30px;

    background: #101418;

    overflow: hidden;
}


/* =========================================================
   5 COLUMN LAYOUT
========================================================= */

.rmt-gallery-columns {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 8px;

    align-items: start;
}


/* =========================================================
   INDIVIDUAL COLUMN
========================================================= */

.rmt-gallery-column {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 8px;
}


/* =========================================================
   IMAGE BOX
========================================================= */

.rmt-gallery-image {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #181c20;

    border: 1px solid rgba(255, 255, 255, 0.8);

    line-height: 0;
}


/* =========================================================
   IMAGE
========================================================= */

.rmt-gallery-image img {
    display: block;

    width: 100%;
    height: auto;

    /*
       IMPORTANT:
       Image crop nahi hogi.
       Original ratio maintain rahega.
    */

    object-fit: contain;

    transition:
        transform 0.5s ease,
        opacity 0.3s ease;
}


/* =========================================================
   HOVER
========================================================= */

.rmt-gallery-image:hover img {
    transform: scale(1.03);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .rmt-photo-gallery {
        padding: 22px 18px;
    }

    /* Switch from fixed pre-filled columns to a balanced
       masonry flow so images redistribute evenly and no
       orphan column / side gap is left on smaller screens. */

    .rmt-gallery-columns {
        display: block;

        column-count: 3;

        column-gap: 7px;
    }

    .rmt-gallery-column {
        display: contents;
    }

    .rmt-gallery-image {
        margin-bottom: 7px;

        break-inside: avoid;

        -webkit-column-break-inside: avoid;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .rmt-photo-gallery {
        padding: 15px 12px;
    }

    .rmt-gallery-columns {
        column-count: 2;

        column-gap: 6px;
    }

    .rmt-gallery-image {
        margin-bottom: 6px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .rmt-photo-gallery {
        padding: 8px;
    }

    .rmt-gallery-columns {
        column-gap: 5px;
    }

    .rmt-gallery-image {
        margin-bottom: 5px;
    }

}