/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================
   FULL-SCREEN HERO
========================= */

.hero {
    position: relative;

    width: 100%;

    /* THIS IS WHAT MAKES THE FIRST IMAGE
       TAKE UP THE ENTIRE SCREEN */
    height: 100vh;
    height: 100svh;

    overflow: hidden;
    background: #111;
}


/* Hero photograph */

.hero-image,
.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}


/* Slight dark overlay so white navigation
   remains visible over bright photographs */

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.28) 0%,
            rgba(0, 0, 0, 0.05) 25%,
            rgba(0, 0, 0, 0.00) 55%,
            rgba(0, 0, 0, 0.25) 100%
        );

    pointer-events: none;
}


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

.navbar {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 10;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    padding:
        max(28px, env(safe-area-inset-top))
        28px
        0;
}


.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;

    justify-self: start;
}


.nav-right {
    display: flex;
    align-items: center;

    justify-self: end;
}


/* ZIZOU DESIGN */

.logo {
    color: white;

    text-decoration: none;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 30px;

    font-weight: 400;

    letter-spacing: 1px;

    white-space: nowrap;

    justify-self: center;
}


/* Navigation buttons */

.icon-button,
.bag-button {
    appearance: none;

    border: none;
    background: transparent;

    color: white;

    cursor: pointer;

    padding: 0;

    line-height: 1;
}


.menu-button {
    font-size: 32px;
    font-weight: 200;
}


.search-button {
    font-size: 34px;
}


.bag-button {
    font-size: 35px;
}


/* =========================
   VIEW COLLECTION BUTTON
========================= */

.collection-button {
    position: absolute;

    z-index: 10;

    left: 50%;
    bottom: calc(6% + env(safe-area-inset-bottom));

    transform: translateX(-50%);

    width: min(76%, 550px);

    padding: 20px;

    border: 1px solid rgba(255, 255, 255, 0.9);

    color: white;

    text-align: center;
    text-decoration: none;

    font-size: 14px;

    letter-spacing: 4px;

    background: rgba(0, 0, 0, 0.08);

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.collection-button:hover {
    background: white;
    color: black;
}


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

.collection {
    width: 100%;

    background: white;

    padding:
        70px
        5%
        100px;
}


.collection-brand {
    font-size: 13px;

    letter-spacing: 5px;

    margin-bottom: 20px;
}


.collection h1 {
    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: clamp(42px, 7vw, 72px);

    font-weight: 400;

    margin-bottom: 50px;
}


/* Artwork grid */

.collection-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        40px
        22px;
}


.artwork img {
    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    display: block;
}


.artwork h2 {
    font-size: 17px;

    font-weight: 400;

    margin-top: 14px;
}


.artwork p {
    font-size: 16px;

    margin-top: 8px;
}


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

@media (max-width: 600px) {

    .navbar {
        padding-left: 18px;
        padding-right: 18px;
    }


    .nav-left {
        gap: 12px;
    }


    .logo {
        font-size: 24px;
    }


    .menu-button {
        font-size: 28px;
    }


    .search-button {
        font-size: 29px;
    }


    .bag-button {
        font-size: 30px;
    }


    .collection-button {
        width: 77%;

        padding: 18px 10px;

        font-size: 12px;

        letter-spacing: 3px;
    }


    .collection {
        padding:
            55px
            6%
            80px;
    }


    .collection h1 {
        font-size: 43px;

        margin-bottom: 40px;
    }


    .collection-grid {
        gap:
            32px
            14px;
    }


    .artwork h2 {
        font-size: 16px;
    }

}


/* =========================
   SIDE MENU
========================= */

.side-menu {
    position: fixed;

    top: 0;
    left: -100%;

    width: min(420px, 88%);
    height: 100%;

    background: #111111;

    color: white;

    padding: 35px;

    z-index: 1000;

    transition: left 0.35s ease;
}


.side-menu.open {
    left: 0;
}


.close-menu {
    border: none;
    background: transparent;

    color: white;

    font-size: 40px;

    cursor: pointer;
}


.menu-nav {
    display: flex;
    flex-direction: column;

    gap: 28px;

    margin-top: 70px;
}


.menu-nav > a,
.dropdown-button {

    color: white;

    text-decoration: none;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;

    font-weight: 400;
}


.dropdown-button {
    border: none;
    background: transparent;

    width: 100%;

    padding: 0;

    display: flex;

    justify-content: space-between;
    align-items: center;

    cursor: pointer;

    text-align: left;
}


.dropdown-content {

    display: none;

    flex-direction: column;

    padding:
        18px
        0
        0
        20px;
}


.dropdown-content.open {
    display: flex;
}


.dropdown-content a {

    color: rgba(255,255,255,0.7);

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    letter-spacing: 1px;
}



/* =========================
   VIEW FULL COLLECTION
========================= */

.view-more {

    text-align: center;

    margin-top: 55px;
}


.view-more a {

    display: inline-block;

    padding:
        17px
        34px;

    border: 1px solid #111111;

    color: #111111;

    text-decoration: none;

    font-size: 12px;

    letter-spacing: 3px;

    transition: 0.25s;
}


.view-more a:hover {

    background: #111111;

    color: white;
}


/* =========================
   HOMEPAGE ARTWORK PREVIEWS
========================= */

.artwork-link {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.artwork-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================
   SUMMERTIDE COLLECTION PAGE
========================= */

.collection-page-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 28px 6%;

    background: white;
}


.back-link {
    color: #111;
    text-decoration: none;

    font-size: 30px;

    justify-self: start;
}


.collection-page-logo {
    color: #111;
    text-decoration: none;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 26px;

    letter-spacing: 1px;

    justify-self: center;

    white-space: nowrap;
}


.collection-page-spacer {
    justify-self: end;
}



.collection-page {
    padding:
        60px
        6%
        100px;
}


.collection-page-label {
    font-size: 12px;

    letter-spacing: 5px;

    margin-bottom: 18px;
}


.collection-page h1 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 9vw, 84px);

    font-weight: 400;

    margin-bottom: 55px;
}



/* =========================
   FULL COLLECTION GRID
========================= */

.full-collection-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        42px
        18px;
}


.collection-item {
    border: none;
    background: none;

    padding: 0;

    text-align: left;

    cursor: pointer;
}


.collection-item img {
    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    display: block;
}


.collection-item span {
    display: block;

    margin-top: 12px;

    color: #111;

    font-size: 16px;

    font-family: Arial, Helvetica, sans-serif;
}



/* =========================
   LIGHTBOX
========================= */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.96);

    color: white;
}


.lightbox.open {
    display: flex;
}


.lightbox-content {
    width: min(82%, 900px);

    text-align: center;
}


.lightbox-content img {
    max-width: 100%;

    max-height: 75vh;

    object-fit: contain;
}


.lightbox-title {
    margin-top: 18px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 22px;
}


.lightbox-counter {
    margin-top: 8px;

    font-size: 12px;

    letter-spacing: 2px;

    opacity: 0.65;
}


.lightbox-close {
    position: absolute;

    top: 22px;
    right: 24px;

    border: none;
    background: none;

    color: white;

    font-size: 42px;

    cursor: pointer;
}


.lightbox-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    border: none;
    background: none;

    color: white;

    font-size: 55px;

    cursor: pointer;

    padding: 10px;
}


.lightbox-prev {
    left: 10px;
}


.lightbox-next {
    right: 10px;
}



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

@media (max-width: 600px) {

    .collection-page-nav {
        padding:
            22px
            18px;
    }


    .collection-page-logo {
        font-size: 22px;
    }


    .collection-page {
        padding:
            45px
            6%
            80px;
    }


    .collection-page h1 {
        font-size: 50px;

        margin-bottom: 40px;
    }


    .full-collection-grid {
        gap:
            35px
            12px;
    }


    .collection-item span {
        font-size: 15px;
    }


    .lightbox-content {
        width: 88%;
    }


    .lightbox-content img {
        max-height: 70vh;
    }

}


/* ==========================================
   ZIZOU CINEMATIC ARTWORK TRANSITION
========================================== */


/*
   Temporary copy of the thumbnail.

   It begins exactly where the artwork was
   tapped and smoothly travels toward the
   gallery.
*/

.transition-artwork {

    position: fixed;

    z-index: 10000;

    object-fit: cover;

    margin: 0;

    pointer-events: none;

    transform-origin: center center;

    transition:

        top 2.2s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        ),

        left 2.2s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        ),

        width 2.2s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        ),

        height 2.2s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        ),

        transform 2.2s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        ),

        opacity 1.1s ease;

}


/*
   Preview dissolves while room appears.
*/

.transition-artwork-fade {

    opacity: 0;

    transform:
        scale(0.96);

}



/* ==========================================
   LIGHTBOX DURING OPENING
========================================== */

.lightbox.transition-opening {

    background:
        rgba(
            0,
            0,
            0,
            0
        );

    animation:
        galleryBackground
        1s
        forwards;

}


@keyframes galleryBackground {

    from {

        background:
            rgba(
                0,
                0,
                0,
                0
            );

    }


    to {

        background:
            rgba(
                0,
                0,
                0,
                0.96
            );

    }

}



/* ==========================================
   MOCK ROOM REVEAL
========================================== */

.lightbox-content img {

    transform: scale(1);

    transform-origin: center;

    transition:
        opacity 0.8s ease,
        transform 1.25s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        );

}


.lightbox-content img.room-image-reveal {

    animation:
        roomRevealSmooth
        1.8s
        cubic-bezier(
            0.16,
            1,
            0.3,
            1
        );

}


@keyframes roomRevealSmooth {

    0% {

        opacity: 0;

        transform:
            scale(1.12);

        filter:
            blur(5px);

    }


    50% {

        opacity: 0.65;

        filter:
            blur(2px);

    }


    100% {

        opacity: 1;

        transform:
            scale(1);

        filter:
            blur(0);

    }

}



/* ==========================================
   CONTROLS FADE IN
========================================== */

.lightbox-title,
.lightbox-counter,
.lightbox-arrow,
.lightbox-close {

    transition:
        opacity 0.55s ease;

}



/* ==========================================
   NORMAL GALLERY SLIDES
========================================== */

.lightbox-content img.gallery-fade-out {

    opacity: 0;

    transform:
        scale(0.985);

}


.lightbox-content img.gallery-fade-in {

    animation:
        normalGalleryFade
        0.55s
        ease;

}


@keyframes normalGalleryFade {

    from {

        opacity: 0;

        transform:
            scale(1.015);

    }


    to {

        opacity: 1;

        transform:
            scale(1);

    }

}



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

@media (max-width: 600px) {

    .lightbox-content {

        width: 90%;

    }


    .lightbox-content img {

        max-height: 72vh;

    }

}



/* ==========================================
   REDUCED MOTION
========================================== */

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

    .transition-artwork,
    .lightbox-content img,
    .lightbox-title,
    .lightbox-counter,
    .lightbox-arrow,
    .lightbox-close {

        transition: none !important;

        animation: none !important;

    }

}


/* =========================================
   SUMMERTIDE PERMANENT BACKGROUND
========================================= */

html,
body {
    margin: 0;
    min-height: 100%;
    background: #f3f3ed;
}


/* REAL BACKGROUND LAYER */

.summertide-background {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    background:
        linear-gradient(
            rgba(255, 255, 255, 0.76),
            rgba(255, 255, 255, 0.76)
        ),
        url("images/IMG_2322.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 0;

    pointer-events: none;
}


/* EVERYTHING ELSE SITS ABOVE THE BACKGROUND */

.collection-page-nav,
.collection-page {
    position: relative;
    z-index: 1;
}


/* Don't let the gallery paint white over it */

.collection-page {
    background: transparent;
}


/* Keep your navigation slightly translucent */

.collection-page-nav {
    background: rgba(255, 255, 255, 0.82);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* Lightbox still has to sit above everything */

.lightbox {
    z-index: 5000;
}


/* =========================================
   ZIZOU DESIGN — ABOUT PAGE
========================================= */

.about-body {
    margin: 0;
    background: #f7f6f3;
    color: #111111;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


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

.about-nav {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;

    width: 100%;

    padding:
        max(22px, env(safe-area-inset-top))
        28px
        22px;

    border-bottom:
        1px solid
        rgba(0, 0, 0, 0.75);

    background: #f7f6f3;
}


.about-back {
    justify-self: start;

    color: #111111;

    text-decoration: none;

    font-size: 34px;

    font-weight: 200;
}


.about-logo {
    justify-self: center;

    color: #111111;

    text-decoration: none;

    font-family:
        "Times New Roman",
        Times,
        serif;

    font-size: 25px;

    letter-spacing: 1px;

    white-space: nowrap;
}


.about-nav-space {
    justify-self: end;
}



/* =========================
   ABOUT HEADING
========================= */

.about-heading {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 125px;

    padding: 25px;
}


.about-heading p {
    font-size: 15px;

    letter-spacing: 3px;

    text-transform: uppercase;
}



/* =========================
   FOUNDER IMAGE
========================= */

.about-image-section {
    width: 100%;
}


.about-founder-image {
    display: block;

    width: 100%;

    height: auto;

    max-height: 760px;

    object-fit: cover;

    object-position: center;
}



/* =========================
   ABOUT STORY
========================= */

.about-story {
    padding:
        70px
        5%
        110px;

    max-width: 1100px;

    margin: 0 auto;
}


.about-role {
    margin-bottom: 35px !important;

    font-size: 14px !important;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.about-story p {
    max-width: 900px;

    margin-bottom: 28px;

    font-size: clamp(
        17px,
        2.4vw,
        24px
    );

    line-height: 1.3;

    letter-spacing: 0.7px;

    text-transform: uppercase;
}



/* =========================
   MOBILE ABOUT PAGE
========================= */

@media (max-width: 600px) {

    .about-nav {
        padding-left: 18px;
        padding-right: 18px;
    }


    .about-logo {
        font-size: 21px;
    }


    .about-back {
        font-size: 30px;
    }


    .about-heading {
        min-height: 120px;
    }


    .about-founder-image {
        max-height: none;
    }


    .about-story {
        padding:
            55px
            4.5%
            90px;
    }


    .about-story p {
        font-size: 17px;

        line-height: 1.3;
    }

}


/* =========================================
   ZIZOU DESIGN — LEGAL & CONTACT PAGES
========================================= */

.legal-body {
    margin: 0;
    background: #f7f6f3;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
}

.legal-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding:
        max(22px, env(safe-area-inset-top))
        22px
        20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

.legal-back {
    justify-self: start;
    color: #111111;
    text-decoration: none;
    font-size: 30px;
}

.legal-logo {
    justify-self: center;
    color: #111111;
    text-decoration: none;
    font-family: "Times New Roman", Times, serif;
    font-size: 22px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.legal-nav-space {
    justify-self: end;
}

.legal-page,
.contact-page {
    width: min(92%, 900px);
    margin: 0 auto;
    padding: 70px 0 100px;
}

.legal-label {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 4px;
}

.legal-page h1,
.contact-page h1 {
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 8vw, 70px);
    font-weight: 400;
}

.legal-updated {
    margin-bottom: 60px;
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.65;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0.2px;
}

/* CONTACT */

.contact-heading {
    margin-bottom: 55px;
}

.contact-intro {
    max-width: 620px;
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 1.5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-field label {
    font-size: 11px;
    letter-spacing: 2px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #111111;
    border-radius: 0;
    background: transparent;
    padding: 10px 0;
    color: #111111;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.contact-field textarea {
    resize: vertical;
}

.contact-submit {
    margin-top: 10px;
    width: 100%;
    padding: 17px;
    border: 1px solid #111111;
    background: transparent;
    color: #111111;
    font-size: 11px;
    letter-spacing: 3px;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.contact-submit:hover {
    background: #111111;
    color: #ffffff;
}

.contact-direct {
    margin-top: 65px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.contact-direct > p:first-child {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 2px;
}

.contact-email {
    font-size: 13px;
}

/* FOOTER */

.site-footer {
    padding:
        35px
        5%
        max(35px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    text-align: center;
}

.site-footer > p {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-links a,
.footer-links span {
    color: #111111;
    text-decoration: none;
    font-size: 11px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* MOBILE */

@media (max-width: 600px) {

    .legal-page,
    .contact-page {
        width: 90%;
        padding: 55px 0 80px;
    }

    .legal-page h1,
    .contact-page h1 {
        font-size: 44px;
    }

    .legal-section {
        margin-bottom: 40px;
    }

    .legal-section p {
        font-size: 13px;
        line-height: 1.65;
    }

    .footer-links {
        gap: 7px;
    }

    .footer-links a,
    .footer-links span {
        font-size: 10px;
    }
}