
/* ================================================
   GARAWANI V2.14A
   LUXURY EDITORIAL PHOTOGRAPHY EXPERIENCE
================================================ */

.gl-main {
    --gl-forest: #10241c;
    --gl-dark: #0b1b13;
    --gl-gold: #ad8037;
    --gl-light: #f1cb8c;
    --gl-ivory: #f8f3ec;
    --gl-paper: #fffdf9;
    --gl-muted: #746d62;
    --gl-border: #e7dccb;

    background: var(--gl-ivory);
    color: var(--gl-forest);
}

.gl-main img {
    display: block;
    max-width: 100%;
}

.gl-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--gl-gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.4px;
}

.gl-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.gl-light {
    color: var(--gl-light);
}

.gl-heading {
    font-family: var(--ct-serif);
    font-size: clamp(37px,4.5vw,65px);
    line-height: 1.12;
    letter-spacing: -1.7px;
    font-weight: 600;
    margin: 18px 0 21px;
}

.gl-heading em {
    font-weight: 500;
    color: var(--gl-gold);
}

/* ================================
   CINEMATIC HERO
================================ */

.gl-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 540px;
    padding: 70px 0 100px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background: var(--gl-forest);
}

.gl-hero > img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    z-index: -3;
}

.gl-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        90deg,
        #07190fc7,
        #07190f66 50%,
        #07190fc7
    );
}

.gl-hero .gl-kicker {
    justify-content: center;
}

.gl-hero h1 {
    font-family: var(--ct-serif);
    font-size: clamp(53px,7.5vw,105px);
    line-height: 1.04;
    letter-spacing: -2.8px;
    font-weight: 600;
    margin: 24px 0;
}

.gl-hero h1 em {
    display: block;
    color: var(--gl-light);
    font-weight: 500;
}

.gl-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.9;
    color: #edf3e9;
}

.gl-hero .ct-button {
    margin-top: 26px;
}

.gl-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 25px;
    font-size: 11px;
}

.gl-breadcrumb a {
    color: var(--gl-light);
}

.gl-hero-caption {
    position: absolute;
    right: 38px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 9px;
    letter-spacing: 1.9px;
    color: #f5d59f;
}

/* ================================
   COLLECTION INTRO
================================ */

.gl-collection {
    padding: 70px 0 85px;
}

.gl-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 30px;
}

.gl-intro > div:first-child {
    max-width: 750px;
}

.gl-intro p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--gl-muted);
    margin: 0;
}

.gl-collection-total {
    text-align: right;
    flex-shrink: 0;
}

.gl-collection-total strong {
    display: block;
    font-family: var(--ct-serif);
    color: var(--gl-gold);
    font-size: 52px;
    font-weight: 500;
    line-height: 1;
}

.gl-collection-total span {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--gl-muted);
    margin-top: 10px;
}

/* ================================
   FILTERS AND VIEW OPTIONS
================================ */

.gl-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px;
    border: 1px solid var(--gl-border);
    border-radius: 13px;
    background: var(--gl-paper);
    margin-bottom: 18px;
}

.gl-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.gl-filter {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 17px;
    border: 1px solid var(--gl-border);
    border-radius: 100px;
    background: transparent;
    color: var(--gl-forest);
    font-size: 11px;
    font-weight: 700;
    transition: background .2s,color .2s;
}

.gl-filter > small {
    font-size: 9px;
    opacity: .7;
}

.gl-filter[aria-pressed="true"] {
    background: var(--gl-forest);
    border-color: var(--gl-forest);
    color: #fff;
}

.gl-filter:hover:not([aria-pressed="true"]) {
    background: #f0e4d1;
}

.gl-view-switch {
    display: flex;
    flex-shrink: 0;
    gap: 5px;
    border: 1px solid var(--gl-border);
    border-radius: 10px;
    padding: 4px;
}

.gl-view-switch button {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 7px;
    color: var(--gl-muted);
    background: transparent;
}

.gl-view-switch button[aria-pressed="true"] {
    background: #eee3d0;
    color: var(--gl-forest);
}

.gl-view-switch svg {
    width: 19px;
    height: 19px;
}

.gl-results-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    color: var(--gl-muted);
    margin-bottom: 20px;
}

/* ================================
   EDITORIAL PHOTO GRID
================================ */

.gl-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-auto-rows: clamp(180px,19vw,275px);
    grid-auto-flow: row dense;
    gap: 13px;
}

.gl-photo {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 13px;
    overflow: hidden;
    background: #e8dfd0;
    color: #fff;
    text-align: left;
}

.gl-photo.gl-wide {
    grid-column: span 2;
}

.gl-photo.gl-tall {
    grid-row: span 2;
}

.gl-photo.gl-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gl-photo[hidden] {
    display: none !important;
}

.gl-photo img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    transition: transform .6s ease;
    z-index: -3;
}

.gl-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        180deg,
        #07190f10,
        transparent 45%,
        #07190fc7
    );
    pointer-events: none;
}

.gl-photo:hover img {
    transform: scale(1.045);
}

.gl-photo-top {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gl-photo-category {
    padding: 8px 12px;
    background: #10241cbf;
    color: #fff;
    border: 1px solid #ffffff35;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 700;
    backdrop-filter: blur(7px);
}

.gl-photo-expand {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ffffff55;
    background: #10241c55;
    border-radius: 50%;
    color: #fff;
    backdrop-filter: blur(7px);
}

.gl-photo-expand svg {
    width: 17px;
    height: 17px;
}

.gl-photo-caption {
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 18px;
}

.gl-photo-caption small {
    display: block;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.7px;
    color: #f0cd93;
    margin-bottom: 7px;
}

.gl-photo-caption strong {
    display: block;
    font-family: var(--ct-serif);
    font-size: clamp(17px,2vw,28px);
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0 2px 10px #0006;
}

.gl-grid.gl-uniform {
    grid-auto-flow: row;
    grid-auto-rows: clamp(190px,20vw,280px);
}

.gl-grid.gl-uniform .gl-photo {
    grid-column: span 1;
    grid-row: span 1;
}

.gl-empty {
    padding: 45px;
    text-align: center;
    font-size: 14px;
    color: var(--gl-muted);
}

.gl-bottom-note {
    text-align: center;
    margin-top: 25px;
    color: var(--gl-muted);
    font-size: 11px;
    line-height: 1.7;
}

/* ================================
   PHOTO VIEWER
================================ */

.gl-viewer {
    width: min(1380px,96vw);
    max-width: 96vw;
    max-height: 96dvh;
    padding: 15px;
    border: 1px solid #ffffff25;
    border-radius: 17px;
    color: #fff;
    background: #091810;
    overflow: auto;
}

.gl-viewer::backdrop {
    background: #020705ed;
    backdrop-filter: blur(10px);
}

.gl-viewer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 3px 3px 13px;
}

.gl-viewer-head strong {
    display: block;
    font-size: 13px;
}

.gl-viewer-head small {
    display: block;
    margin-top: 5px;
    color: #cbb58e;
    font-size: 10px;
}

.gl-viewer-actions {
    display: flex;
    gap: 8px;
}

.gl-viewer-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #ffffff3b;
    border-radius: 50%;
    background: #ffffff08;
    color: #fff;
    flex-shrink: 0;
}

.gl-viewer-button:hover {
    background: #ffffff20;
}

.gl-viewer-button svg {
    width: 20px;
    height: 20px;
}

.gl-viewer-stage {
    position: relative;
    width: 100%;
    height: min(61dvh,640px);
    border-radius: 10px;
    overflow: hidden;
    background: #040b07;
    touch-action: pan-y;
}

.gl-viewer-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform-origin: center;
    transition: transform .25s ease;
}

.gl-viewer-stage.gl-zoomed {
    overflow: auto;
    touch-action: auto;
}

.gl-zoomed .gl-viewer-image {
    width: 180% !important;
    height: 180% !important;
    max-width: none;
    object-fit: contain !important;
    cursor: zoom-out;
}

.gl-stage-prev,
.gl-stage-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: #07170dc9;
}

.gl-stage-prev {
    left: 13px;
}

.gl-stage-next {
    right: 13px;
}

.gl-viewer-description {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    padding: 13px 5px;
}

.gl-viewer-description strong {
    font-family: var(--ct-serif);
    font-size: 22px;
    font-weight: 500;
}

.gl-viewer-description p {
    font-size: 11px;
    color: #c4cec4;
    line-height: 1.65;
    margin: 5px 0 0;
}

.gl-viewer-count {
    color: #f0cd93;
    font-size: 12px;
    white-space: nowrap;
}

.gl-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 5px 2px 8px;
    scrollbar-width: thin;
}

.gl-thumb {
    flex: 0 0 85px;
    height: 61px;
    padding: 2px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
    opacity: .65;
}

.gl-thumb[aria-pressed="true"] {
    opacity: 1;
    border-color: #e7bd79;
}

.gl-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px;
}

/* ================================
   FINAL RESERVATION CTA
================================ */

.gl-final {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 380px;
    padding: 65px 0;
    display: grid;
    place-items: center;
    color: #fff;
    text-align: center;
    background: var(--gl-forest);
}

.gl-final > img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: -3;
}

.gl-final::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #07190ed1;
    z-index: -2;
}

.gl-final .gl-kicker {
    justify-content: center;
}

.gl-final .gl-heading em {
    color: var(--gl-light);
}

.gl-final p {
    max-width: 570px;
    margin: 0 auto 25px;
    color: #dfe8dc;
    font-size: 14px;
    line-height: 1.9;
}

.gl-final-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.gl-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid #ffffff90;
    color: #fff;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

/* ================================
   TABLET
================================ */

@media (max-width:1100px) {

    .gl-hero {
        min-height: 460px;
    }

    .gl-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
        grid-auto-rows: 220px;
    }

    .gl-toolbar {
        align-items: flex-start;
    }

}

/* ================================
   MOBILE — PREMIUM PHOTO APP FEEL
================================ */

@media (max-width:767px) {

    .gl-hero {
        min-height: 390px;
        padding: 45px 0 65px;
    }

    .gl-hero h1 {
        font-size: clamp(43px,10.5vw,64px);
        letter-spacing: -1.2px;
    }

    .gl-hero p {
        font-size: 13px;
    }

    .gl-hero-caption {
        display: none;
    }

    .gl-kicker {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .gl-heading {
        font-size: clamp(33px,8.5vw,46px);
        letter-spacing: -.8px;
    }

    .gl-collection {
        padding: 38px 0 50px;
    }

    .gl-intro {
        gap: 13px;
        align-items: center;
        margin-bottom: 24px;
    }

    .gl-intro p {
        font-size: 12px;
    }

    .gl-collection-total strong {
        font-size: 37px;
    }

    .gl-collection-total span {
        font-size: 8px;
    }

    .gl-toolbar {
        padding: 10px;
        gap: 10px;
        display: block;
    }

    .gl-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 2px 2px 9px;
        scrollbar-width: thin;
    }

    .gl-filter {
        font-size: 10px;
        min-height: 38px;
        padding: 9px 13px;
    }

    .gl-view-switch {
        width: fit-content;
        margin-left: auto;
        margin-top: 7px;
    }

    .gl-results-row {
        font-size: 10px;
    }

    .gl-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        grid-auto-rows: clamp(145px,43vw,240px);
        gap: 9px;
    }

    .gl-photo {
        border-radius: 10px;
    }

    .gl-photo.gl-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gl-photo.gl-wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gl-photo.gl-tall {
        grid-row: span 1;
    }

    .gl-grid.gl-uniform {
        grid-auto-rows: clamp(145px,43vw,240px);
    }

    .gl-grid.gl-uniform .gl-photo {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gl-photo-top {
        top: 9px;
        left: 9px;
        right: 9px;
    }

    .gl-photo-category {
        font-size: 8px;
        padding: 6px 9px;
    }

    .gl-photo-expand {
        width: 28px;
        height: 28px;
    }

    .gl-photo-expand svg {
        width: 14px;
        height: 14px;
    }

    .gl-photo-caption {
        left: 11px;
        right: 11px;
        bottom: 12px;
    }

    .gl-photo-caption small {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .gl-photo-caption strong {
        font-size: 18px;
    }

    .gl-viewer {
        width: 98vw;
        max-width: 98vw;
        padding: 10px;
        border-radius: 12px;
    }

    .gl-viewer-stage {
        height: min(53dvh,460px);
    }

    .gl-viewer-button {
        width: 36px;
        height: 36px;
    }

    .gl-viewer-head strong {
        font-size: 11px;
    }

    .gl-viewer-description strong {
        font-size: 19px;
    }

    .gl-thumb {
        flex-basis: 65px;
        height: 50px;
    }

    .gl-stage-prev {
        left: 6px;
    }

    .gl-stage-next {
        right: 6px;
    }

    .gl-final {
        min-height: 330px;
        padding: 45px 0;
    }

    .gl-final p {
        font-size: 13px;
    }

}

@media (prefers-reduced-motion:reduce) {

    .gl-main *,
    .gl-viewer * {
        transition: none !important;
        animation: none !important;
    }

    .gl-photo:hover img {
        transform: none;
    }

}

