/* =========================================================
   PREMIER EVENTS — GALLERY
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #17171b;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 13px;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================================
   NAVBAR
========================================================= */

.nav {
    height: 74px;

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    display: flex;
    align-items: center;

    padding: 0 6.2%;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;

    gap: 11px;

    white-space: nowrap;
}

.brand-mark {
    width: 42px;
    height: 42px;

    border: 1.4px solid #17171b;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family:
        "Playfair Display",
        serif;

    font-size: 23px;

    font-weight: 500;
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-main {
    font-size: 17px;

    font-weight: 600;

    letter-spacing: 3.2px;
}

.brand-sub {
    margin-top: 5px;

    font-size: 8px;

    letter-spacing: 4px;
}


/* =========================================================
   DESKTOP NAV LINKS
========================================================= */

.links {
    position: absolute;

    left: 6.2%;
    top: 50%;

    transform: translateY(-50%);

    display: flex;

    gap: 30px;

    font-size: 11px;
}

.links a {
    transition:
        opacity .2s ease;
}

.links a:hover {
    opacity: .5;
}

.links .active {
    position: relative;
}

.links .active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -7px;

    height: 1px;

    background: #bd8fae;
}


/* =========================================================
   NAV RIGHT
========================================================= */

.nav-actions {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 10px;
}

.top-cta {
    background: #ffffff;

    padding:
        10px 24px;

    border-radius: 30px;

    font-size: 11px;
}


/* =========================================================
   THREE LINE MENU
========================================================= */

.menu {
    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    background: #dce8f0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    cursor: pointer;

    z-index: 10001;
}

.menu span {
    display: block;

    width: 12px;
    height: 1.5px;

    background: #718291;

    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* =========================================================
   GENERAL
========================================================= */

.eyebrow {
    font-size: 9px;

    letter-spacing: 1.5px;

    color: #bd8fae;

    margin-bottom: 18px;
}


/* =========================================================
   GALLERY HERO
========================================================= */

.gallery-hero {
    min-height: 535px;

    background: #f6f1eb;

    position: relative;

    display: flex;

    align-items: center;

    padding:
        100px 6.5% 65px;

    overflow: hidden;
}

.gallery-hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: 8%;
    top: 110px;

    border-radius: 50%;

    background: #faeef2;

    opacity: .65;

    z-index: 0;
}

.gallery-hero-inner {
    position: relative;

    z-index: 2;

    max-width: 700px;
}

.gallery-hero h1 {
    margin: 0 0 24px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 58px;

    line-height: 1.02;

    font-weight: 400;

    letter-spacing: -2.5px;
}

.gallery-hero p {
    max-width: 450px;

    margin: 0;

    color: #5d575d;

    font-size: 12px;

    line-height: 1.75;
}

.hero-small-note {
    position: absolute;

    right: 6.5%;
    bottom: 48px;

    z-index: 5;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    color: #77717a;

    font-size: 8px;

    letter-spacing: 1.5px;
}

.hero-small-note .arrow {
    font-size: 18px;

    color: #bd8fae;
}


/* =========================================================
   GALLERY SECTION
========================================================= */

.gallery-section {
    background: #faf8f4;

    padding:
        80px 6.5% 100px;
}


/* =========================================================
   GALLERY HEADER
========================================================= */

.gallery-top {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 45px;
}

.gallery-label {
    display: flex;

    flex-direction: column;
}

.gallery-label .eyebrow {
    margin-bottom: 5px;
}

.gallery-count {
    font-size: 9px;

    color: #8b858b;

    letter-spacing: 1px;
}


/* =========================================================
   FILTERS
========================================================= */

.filters {
    display: flex;

    align-items: center;

    gap: 8px;
}

.filter {
    border: none;

    background: transparent;

    color: #777177;

    font-size: 10px;

    padding:
        8px 15px;

    border-radius: 20px;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease;
}

.filter:hover {
    color: #17171b;
}

.filter.active {
    background: #faeef2;

    color: #17171b;
}


/* =========================================================
   GALLERY GRID
========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(12, 1fr);

    grid-auto-rows: 85px;

    gap: 18px;
}


/* =========================================================
   ITEMS
========================================================= */

.gallery-item {
    overflow: hidden;

    min-width: 0;

    transition:
        opacity .3s ease,
        transform .3s ease;
}

.gallery-item.hidden {
    opacity: 0;

    transform:
        scale(.97);

    pointer-events: none;
}

.item-large {
    grid-column: span 7;

    grid-row: span 6;
}

.item-small {
    grid-column: span 5;

    grid-row: span 3;
}

.item-wide {
    grid-column: span 8;

    grid-row: span 4;
}

.item-tall {
    grid-column: span 4;

    grid-row: span 6;
}

.item-medium {
    grid-column: span 4;

    grid-row: span 4;
}


/* =========================================================
   IMAGE
========================================================= */

.image-wrap {
    width: 100%;
    height: 100%;

    position: relative;

    overflow: hidden;

    border-radius: 7px;

    background: #e9e5e1;
}

.image-wrap img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2,.7,.2,1);
}

.gallery-item:hover .image-wrap img {
    transform:
        scale(1.045);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.image-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding:
        35px 20px 18px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0),
            rgba(0,0,0,.48)
        );

    opacity: 0;

    transition:
        opacity .3s ease;
}

.gallery-item:hover .image-overlay {
    opacity: 1;
}

.image-overlay span {
    font-size: 10px;

    letter-spacing: .5px;
}

.image-overlay strong {
    font-size: 9px;

    font-weight: 400;

    opacity: .8;
}


/* =========================================================
   GALLERY END
========================================================= */

.gallery-end {
    text-align: center;

    padding:
        110px 20px 20px;
}

.gallery-end h2 {
    margin: 0 0 20px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 43px;

    line-height: 1.06;

    font-weight: 400;

    letter-spacing: -1.7px;
}

.gallery-end p {
    max-width: 470px;

    margin:
        0 auto 27px;

    color: #68626a;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   GALLERY BUTTON
========================================================= */

.gallery-button {
    display: inline-flex;

    align-items: center;

    gap: 17px;

    padding:
        12px 22px;

    border-radius: 25px;

    background: #c391b0;

    color: #ffffff;

    font-size: 10px;
}

.gallery-button span {
    font-size: 17px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #ffffff;

    padding:
        75px 6.5% 25px;
}

.footer-main {
    display: grid;

    grid-template-columns:
        31%
        18%
        18%
        18%
        15%;

    min-height: 270px;

    align-items: start;
}

.footer-intro .eyebrow {
    margin-bottom: 20px;
}

.footer-intro h2 {
    margin:
        0 0 28px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 40px;

    line-height: 1.06;

    font-weight: 400;

    letter-spacing: -1.4px;
}

.footer-button {
    display: inline-flex;

    align-items: center;

    gap: 17px;

    padding:
        14px 24px;

    border-radius: 28px;

    background: #8f77aa;

    color: #ffffff;

    font-size: 12px;
}

.footer-button span {
    font-size: 18px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-item {
    padding-top: 12px;
}

.contact-item span {
    display: block;

    font-size: 11px;

    color: #777181;

    margin-bottom: 12px;
}

.contact-item strong {
    display: block;

    font-size: 13px;

    line-height: 1.75;

    font-weight: 400;

    color: #4e4a55;
}


/* =========================================================
   LOCATION
========================================================= */

.footer-location {
    width: 245px;
    height: 64px;

    border-radius: 15px;

    background: #f5f3f6;

    border:
        1px solid
        rgba(120,110,130,.12);

    transition:
        transform .25s ease;
}

.footer-location:hover {
    transform:
        translateY(-2px);
}

.footer-location a {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;

    gap: 14px;

    padding:
        0 18px;
}

.map-icon {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;

    color: #8f77aa;
}

.map-text {
    font-size: 13px;

    color: #686474;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    border-top:
        1px solid #eeeeee;

    padding-top: 18px;

    margin-top: 42px;

    display: flex;

    justify-content: space-between;

    font-size: 10px;

    color: #777181;
}

.footer-bottom div {
    display: flex;

    gap: 32px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .gallery-grid {
        grid-auto-rows: 70px;
    }

    .footer-main {
        grid-template-columns:
            1fr 1fr;

        gap: 35px;
    }
}


/* =========================================================
   MOBILE — RIGHT SIDE MENU
========================================================= */

@media (max-width: 760px) {

    /* ---------------------------------------------
       NAVBAR
    --------------------------------------------- */

    .nav {
        height: 64px;

        padding:
            0 6%;

        z-index: 10000;
    }


    /* ---------------------------------------------
       BRAND
    --------------------------------------------- */

    .brand {
        left: 6%;

        transform:
            translateY(-50%);

        gap: 8px;
    }

    .brand-mark {
        width: 37px;
        height: 37px;

        font-size: 20px;
    }

    .brand-main {
        font-size: 14px;

        letter-spacing: 2.7px;
    }

    .brand-sub {
        font-size: 7px;

        letter-spacing: 3px;
    }


    /* ---------------------------------------------
       HIDE DESKTOP CTA
    --------------------------------------------- */

    .top-cta {
        display: none;
    }


    /* ---------------------------------------------
       THREE LINE BUTTON
    --------------------------------------------- */

    .menu {
        position: fixed;

        top: 14px;
        right: 18px;

        width: 42px;
        height: 42px;

        z-index: 10002;

        background: #dce8f0;
    }

    .menu span {
        width: 13px;
        height: 1.5px;
    }


    /* ---------------------------------------------
       DARK OVERLAY
    --------------------------------------------- */

    .nav::after {
        content: "";

        position: fixed;

        inset: 0;

        background:
            rgba(30, 27, 32, .16);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transition:
            opacity .3s ease,
            visibility .3s ease;

        z-index: -1;
    }


    /* ---------------------------------------------
       RIGHT SIDE PANEL
    --------------------------------------------- */

    .links {

        position: fixed !important;

        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;

        width: 300px !important;
        height: 100vh !important;

        padding:
            105px 32px 40px !important;

        margin: 0 !important;

        background: #f6f1eb !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: flex-start !important;

        justify-content: flex-start !important;

        gap: 0 !important;

        transform:
            translateX(100%) !important;

        opacity: 1 !important;

        visibility: hidden !important;

        pointer-events: none !important;

        box-shadow:
            -15px 0 40px
            rgba(0, 0, 0, .10);

        transition:
            transform .35s
            cubic-bezier(.22,.61,.36,1),
            visibility .35s ease;

        z-index: 10001 !important;
    }


    /* ---------------------------------------------
       OPEN PANEL
    --------------------------------------------- */

    .links.open {

        transform:
            translateX(0) !important;

        opacity: 1 !important;

        visibility: visible !important;

        pointer-events: auto !important;
    }


    /* ---------------------------------------------
       MENU LINKS
    --------------------------------------------- */

    .links a {

        display: flex !important;

        align-items: center !important;

        width: 100% !important;

        min-height: 58px;

        padding:
            0 !important;

        border-bottom:
            1px solid
            rgba(80, 70, 80, .12);

        font-size: 16px !important;

        font-weight: 400;

        color: #29252b !important;

        opacity: 1 !important;

        transform: none !important;

        text-decoration: none !important;

        transition:
            color .2s ease,
            padding-left .2s ease;
    }


    .links a:hover {
        opacity: 1 !important;

        color: #bd8fae !important;

        padding-left: 7px !important;
    }


    /* ---------------------------------------------
       ACTIVE LINK
    --------------------------------------------- */

    .links .active {
        color: #bd8fae !important;
    }

    .links .active::after {
        display: none !important;
    }


    /* ---------------------------------------------
       HERO
    --------------------------------------------- */

    .gallery-hero {
        min-height: 550px;

        padding:
            120px 7% 60px;
    }

    .gallery-hero::after {
        width: 280px;
        height: 280px;

        right: -50px;

        top: 170px;
    }

    .gallery-hero h1 {
        font-size: 42px;

        letter-spacing: -1.8px;
    }

    .hero-small-note {
        right: 7%;

        bottom: 30px;
    }


    /* ---------------------------------------------
       GALLERY
    --------------------------------------------- */

    .gallery-section {
        padding:
            60px 7% 75px;
    }

    .gallery-top {
        display: block;

        margin-bottom: 30px;
    }

    .filters {
        margin-top: 20px;

        flex-wrap: wrap;

        gap: 5px;
    }

    .filter {
        padding:
            7px 12px;
    }


    /* ---------------------------------------------
       GRID
    --------------------------------------------- */

    .gallery-grid {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        grid-auto-rows:
            190px;

        gap: 10px;
    }

    .item-large,
    .item-small,
    .item-wide,
    .item-tall,
    .item-medium {
        grid-column: span 1;

        grid-row: span 1;
    }

    .item-large {
        grid-column: span 2;

        grid-row: span 2;
    }

    .item-wide {
        grid-column: span 2;

        grid-row: span 1;
    }

    .item-tall {
        grid-row: span 2;
    }

    .image-overlay {
        opacity: 1;

        padding:
            30px 12px 12px;
    }

    .image-overlay span {
        font-size: 9px;
    }


    /* ---------------------------------------------
       END
    --------------------------------------------- */

    .gallery-end {
        padding:
            80px 10px 10px;
    }

    .gallery-end h2 {
        font-size: 34px;
    }


    /* ---------------------------------------------
       FOOTER
    --------------------------------------------- */

    footer {
        padding:
            60px 7% 22px;
    }

    .footer-main {
        display: flex;

        flex-direction: column;

        gap: 30px;
    }

    .footer-location {
        width: 100%;

        max-width: 320px;
    }

    .footer-bottom {
        display: block;

        line-height: 1.7;

        margin-top: 35px;
    }

    .footer-bottom div {
        margin-top: 10px;

        flex-wrap: wrap;

        gap: 18px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .links {
        width: 285px !important;

        padding:
            100px 28px 35px !important;
    }

    .links a {
        font-size: 15px !important;

        min-height: 55px;
    }

    .gallery-hero h1 {
        font-size: 36px;
    }

    .gallery-grid {
        grid-auto-rows:
            155px;
    }

    .gallery-end h2 {
        font-size: 30px;
    }
}


/* =========================================================
   PREMIER EVENTS — SIDE MENU
   WORKS ON DESKTOP + TABLET + MOBILE
========================================================= */

/* MENU BUTTON */
/* =========================================================
   PREMIER EVENTS NAVIGATION
========================================================= */


/* =========================================================
   LEFT DESKTOP NAVIGATION
========================================================= */

.links {
    position: absolute;

    left: 6.2%;
    top: 50%;

    transform: translateY(-50%);

    display: flex;

    align-items: center;

    gap: 30px;

    font-size: 11px;

    z-index: 100;
}

.links a {
    color: #17171b;

    text-decoration: none;

    transition: opacity .2s ease;
}

.links a:hover {
    opacity: .5;
}


/* ACTIVE PAGE */

.links a.active {
    position: relative;

    color: #17171b;
}

.links a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -7px;

    height: 1px;

    background: #bd8fae;
}


/* =========================================================
   THREE LINE BUTTON
========================================================= */

.menu {
    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    background: #dce8f0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 4px;

    cursor: pointer;

    z-index: 10004;
}

.menu span {
    display: block;

    width: 12px;
    height: 1.5px;

    background: #718291;

    transition: all .25s ease;
}


/* =========================================================
   RIGHT SIDE MENU
========================================================= */

.side-menu {
    position: fixed;

    top: 0;
    right: 0;

    width: 330px;
    height: 100vh;

    padding:
        110px 38px 40px;

    background: #f6f1eb;

    box-shadow:
        -18px 0 45px
        rgba(30, 25, 35, .12);

    transform:
        translateX(100%);

    visibility: hidden;

    pointer-events: none;

    transition:
        transform .35s
        cubic-bezier(.22,.61,.36,1),
        visibility .35s ease;

    z-index: 10003;
}


/* OPEN */

.side-menu.open {
    transform:
        translateX(0);

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   SIDE MENU LINKS
========================================================= */

.side-menu a {
    width: 100%;

    min-height: 62px;

    display: flex;

    align-items: center;

    border-bottom:
        1px solid
        rgba(80,70,80,.13);

    font-size: 17px;

    font-weight: 400;

    color: #29252b;

    text-decoration: none;

    transition:
        color .2s ease,
        padding-left .2s ease;
}

.side-menu a:hover {
    color: #bd8fae;

    padding-left: 8px;
}


/* =========================================================
   DARK BACKGROUND OVERLAY
========================================================= */

.menu-overlay {
    position: fixed;

    inset: 0;

    background:
        rgba(30,27,32,.15);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;

    z-index: 10002;
}

.menu-overlay.show {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   RIGHT SIDE BUTTON
========================================================= */

.nav-actions {
    position: relative;

    z-index: 10005;

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    /* LEFT NAVIGATION HIDDEN */

    .links {
        display: none;
    }


    /* MENU BUTTON */

    .menu {
        position: fixed;

        top: 14px;
        right: 18px;

        width: 42px;
        height: 42px;
    }


    /* SIDE PANEL */

    .side-menu {
        width: 290px;

        padding:
            100px 30px 35px;
    }


    /* SIDE LINKS */

    .side-menu a {
        min-height: 58px;

        font-size: 16px;
    }


    /* HIDE PLAN YOUR EVENT */

    .top-cta {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .side-menu {
        width: 280px;

        padding:
            95px 27px 30px;
    }

    .side-menu a {
        min-height: 55px;

        font-size: 15px;
    }

}