/* ==========================================================
   PAOREEL STUDIOS V3
   LAYOUT
   ========================================================== */



/* ==========================================================
   SITE HEADER
   ========================================================== */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: var(--z-header);

    padding: 2rem var(--content-padding);

}



/* ==========================================================
   NAVBAR
   ========================================================== */

.navbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



/* ==========================================================
   LOGO
   ========================================================== */

.logo {

    display: block;

}



.logo img {

    display: block;

    height: 42px;

    width: auto;

}



/* ==========================================================
   NAVIGATION
   ========================================================== */

.nav-links {

    display: flex;

    align-items: center;

    gap: 3rem;

    list-style: none;

}



.nav-links a {

    position: relative;

    font-size: 0.9rem;

    font-weight: 400;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #ffffff;

    transition: opacity .35s ease;

}



.nav-links a:hover {

    opacity: .65;

}



/* ==========================================================
   MOBILE TOGGLE
   ========================================================== */

.mobile-toggle {

    display: none;

    color: #ffffff;

    font-size: 1.6rem;

    cursor: pointer;

}


/* ==========================================================
   MAIN
   ========================================================== */

main {

    width: 100%;

}

/* ==========================================================
   GALLERY INTRO
   ========================================================== */

.gallery-intro {

    display: grid;

    grid-template-columns: 1.4fr 0.9fr;

    align-items: center;

    gap: 3rem;

    max-width: 1200px;

    margin: 0 auto 5rem;

    padding: 0 var(--content-padding);

}



/* ==========================================================
   LEFT COLUMN
   ========================================================== */

.gallery-intro-left {

    max-width: 620px;

}



/* ==========================================================
   MARKETING COPY
   ========================================================== */

.gallery-copy {

    font-size: 1.05rem;

    line-height: 2;

    letter-spacing: 0.01em;

    color: var(--color-light-text);

}



/* ==========================================================
   RIGHT COLUMN
   ========================================================== */

.gallery-intro-right {

    justify-self: end;

    text-align: left;

}



/* ==========================================================
   TITLE
   ========================================================== */

.gallery-title {

    font-size: clamp(2.8rem, 5vw, 5rem);

    font-weight: 300;

    line-height: 1.08;

    letter-spacing: -0.05em;

}



.gallery-title .word {

    display: inline-block;

    white-space: nowrap;

}



.gallery-title .word span {

    display: inline-block;

    will-change: transform;

}

/* ==========================================================
   GALLERY SECTION
   ========================================================== */
.gallery-section {

    position: relative;

    overflow: hidden;

    background: transparent;

    isolation: isolate;

}

.gallery-overlay {

    position: absolute;

    inset: 0;

    background: #fff;

    opacity: 0;

    pointer-events: none;

    z-index: 1;

}

.gallery-intro,
.gallery-track {

    position: relative;

    z-index: 2;

}


/* ==========================================================
   GALLERY TRACK
   ========================================================== */


.gallery-track {

    display: flex;

    align-items: flex-start;

    flex-wrap: nowrap;

    gap: 0;

    width: max-content;

    will-change: transform;

}

.gallery-intro,
.gallery-track {

    position: relative;

    z-index: 2;

}

/* ==========================================================
   GALLERY ITEM
   ========================================================== */

.gallery-item {

    display: flex;

    flex-direction: column;

    flex: 0 0 auto;

    width: var(--gallery-image-width);

    text-decoration: none;

    cursor: pointer;

}

.gallery-item:hover .gallery-image img {

    transform: scale(1.06);

}

/* ==========================================================
   GALLERY IMAGE CONTAINER
   ========================================================== */

.gallery-image {

    position: relative;

    width: 100%;

    height: var(--gallery-height);

    overflow: hidden;

    background: #f5f5f5;

}



/* ==========================================================
   GALLERY IMAGE
   ========================================================== */

.gallery-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: scale(1);

    will-change: transform;

}



/* ==========================================================
   CAPTION
   ========================================================== */

.gallery-item span {

    display: block;

    margin-top: var(--gallery-caption-gap);

    text-align: center;

    font-size: var(--fs-xs);

    letter-spacing: .18em;

    text-transform: uppercase;

    color: rgba(0,0,0,.45);

}


/* ==========================================================
   PAGE SPACING
   ========================================================== */

section {

    width: 100%;

}