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

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

/* =====================================================
   TYPOGRAPHY
===================================================== */

body {
    font-family: "Inter", Arial, sans-serif;
    font-weight: 300;
}

.logo,
.contact-title,
.thank-you-text,
.bio-right h1,
.bio-bottom h2 {
    font-family: "Syne", sans-serif;
}

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

header {
    width: 100%;
    height: 60px;
    padding: 0 50px;

    display: flex;
    align-items: center;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: white;
    border-bottom: 1px solid rgba(255, 155, 207, 0.5);
}

.logo {
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 40px;
    margin-left: auto;
}

nav a {
    font-size: 18px;
    color: black;
    text-decoration: none;
    transition: color 0.2s ease;
}

.logo:hover,
nav a:hover {
    color: rgb(255, 155, 207);
}

/* =====================================================
   SOCIAL ICONS
===================================================== */

.socials {
    display: flex;
    gap: 30px;
    margin-left: 30px;
    align-items: center;
}

.icon {
    width: 18px;
    height: 18px;
    display: block;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.socials a:hover .icon {
    filter: brightness(0) saturate(100%) invert(73%) sepia(43%) saturate(749%) hue-rotate(292deg) brightness(105%) contrast(101%);
}

.icon:hover {
    opacity: 0.7;
}

/* =====================================================
   HOMEPAGE HERO
===================================================== */

.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;

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

    opacity: 0;
    transition: opacity 1s ease;
}

.hero-img.active {
    opacity: 1;
}

/* =====================================================
   DROPDOWN OVERLAY
===================================================== */

.menu-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 999;

    width: 100%;
    height: calc(100vh - 60px);
    padding-top: 60px;

    background: rgb(255, 155, 207);

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: opacity 0.08s ease, transform 0.08s ease;
}

.menu-overlay.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-section {
    position: absolute;

    width: 180px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.dropdown-section a {
    display: block;
    width: 70%;

    text-align: center;
    white-space: normal;

    color: white;
    text-decoration: none;

    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
}

.dropdown-section a:hover {
    opacity: 0.6;
}

.coming-soon {
    color: white;
    cursor: default;
}

.coming-soon:hover {
    color: white;
}

/* =====================================================
   PROJECT PAGE LAYOUT
===================================================== */

.project-page {
    height: 100vh;

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

    position: relative;
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-container {
    width: 80vw;
    height: 80vh;
    min-height: 400px;

    position: relative;
    overflow: hidden;
}



/* =====================================================
   PROJECT CAPTIONS
===================================================== */

.gallery-caption {
    margin-bottom: 30px;

    text-align: center;
    font-size: 14px;
    letter-spacing: 0.5px;

    color: rgb(255, 155, 207);
}

.gallery-caption-bar {
    width: 100%;
    height: 55px;          /* fixed caption space */
    margin-bottom: 30px;

    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.caption-left {
    text-align: left;
}

.caption-center {
    text-align: center;

    color: black;

    font-family: "Inter", Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 1px;
}

.caption-right {
    text-align: right;
}

.work-title {
    margin-bottom: 8px;

    font-family: "Inter", Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 1px;
}

.work-note {
    margin-bottom: 4px;
    font-size: 10px;
}

.work-material {
    font-size: 10px;
    letter-spacing: 0.5px;
}

/* =====================================================
   SLIDES
===================================================== */

.slide {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: flex-start;   /* was center */

    opacity: 0;
    pointer-events: none;
    transition: opacity 0s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

/* =====================================================
   MEDIA: IMAGES + VIDEOS
===================================================== */

.slide img,
.slide video {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;
    display: block;
}

.slide video {
    width: 100%;
    height: 100%;

    transform: translateZ(0);
    backface-visibility: hidden;
}

video {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.slide img:hover,
.slide video:hover {
    opacity: 0.8;
    cursor: zoom-in;
}

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

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

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

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.25s ease;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 92vw;
    max-height: 92vh;

    object-fit: contain;
    cursor: zoom-out;
}

.lightbox video {
    max-width: 80vw;
    max-height: 80vh;

    width: auto;
    height: auto;

    object-fit: contain;
    display: block;
}

.lightbox-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 10000;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 15px;
}

#muteBtn {
    background: none;
    border: none;

    font-size: 18px;
    cursor: pointer;
}

#progressBar {
    width: 200px;
}

/* =====================================================
   GALLERY ARROWS
===================================================== */

.gallery-nav {
    position: fixed;
    top: 50%;
    left: 0;
    z-index: 10002;

    width: 100%;
    padding: 0 40px;

    transform: translateY(-50%);

    display: flex;
    justify-content: space-between;

    pointer-events: none;
}

.gallery-nav button {
    pointer-events: auto;

    background: none;
    border: none;

    font-size: 20px;
    cursor: pointer;

    color: rgb(255, 155, 207);
}

.gallery-nav button:hover {
    opacity: 0.5;
}

/* =====================================================
   CONTACT PAGE
===================================================== */

.contact-page {
    min-height: 90vh;
    padding-top: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* CONTACT FORM */

.contact-form {
    width: 420px;

    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;

    border: 1px solid black;
    background: transparent;

    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
}

.contact-form button,
.back-button {
    padding: 14px;

    border: 1px solid black;
    background: transparent;

    cursor: pointer;

    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;

    transition: all 0.2s ease;
}

.contact-form button:hover,
.back-button:hover {
    background: rgb(255, 155, 207);
    color: white;
}

.contact-title {
    margin-bottom: 35px;
    font-size: 26px;
}

/* THANK YOU STATE */

.thank-you {
    width: 100%;

    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    text-align: center;
}

.thank-you-text {
    max-width: 500px;

    text-align: center;
    font-size: 26px;
}

.back-button {
    width: 100%;
    max-width: 420px;
}

/* =====================================================
   BIO PAGE
===================================================== */

.bio-page {
    width: 85%;
    max-width: 1400px;
    margin: 140px auto 80px;
}

.bio-top {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.bio-left {
    width: 25%;
}

.bio-left img {
    width: 100%;
    display: block;
}

.bio-right {
    width: 75%;
}

.bio-right h1 {
    margin: 0 0 25px;

    font-size: 20px;
    font-weight: 500;
}

.bio-text {
    font-size: 15px;
    line-height: 1.8;
}

.bio-divider {
    width: 100%;
    height: 0.5px;
    margin: 60px 0;

    border: none;
    background: rgb(255, 155, 207);
}

.bio-bottom h2 {
    margin-bottom: 25px;

    font-size: 20px;
    font-weight: 500;
}

.exhibition {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;

    padding: 6px 0;

    font-size: 15px;
}

.year {
    opacity: 0.6;
}


.bio-text p {
    margin-bottom: 32px;   /* Space between paragraphs */
}

.bio-text p:last-child {
    margin-bottom: 0;      /* No extra space after the last paragraph */
}
/* =====================================================
   IMAGE DRAG PROTECTION
===================================================== */

img,
.slide img,
.bio-left img,
.icon {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    text-align: center;
    padding: 10px 0 10px;
    font-size: 10px;
    color: #888;
    letter-spacing: 0.03em;
}

/* =====================================================
   YIKO YIKO
===================================================== */

.yiko-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
    width: 100%;
    margin: 10px auto 100px;
    padding: 0 40px;
    box-sizing: border-box;
}


/* =====================================================
   YIKO YIKO
===================================================== */

.yiko-grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 1100px) {
    .yiko-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 850px) {
    .yiko-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .yiko-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        padding: 0 20px;
    }
}

/* =====================================================
   YIKO YIKO PAGE
===================================================== */

.yiko-page.project-page {
    display: block !important;
    min-height: 100vh;
    height: auto;
}

.yiko-page .gallery-wrapper {
    width: 94%;
    max-width: 1650px;

    position: relative;
    top: 30px;

    margin: 0 auto 100px;
}

/* =====================================================
   GRID
===================================================== */

.yiko-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 24px;

    width: 100%;

    margin: 30px 0 30px;
}

.yiko-grid img,
.yiko-menu img {
    width: 100%;
    height: auto;

    display: block;
    object-fit: contain;

    cursor: zoom-in;
    transition: opacity .2s ease;
}

.yiko-grid img:hover,
.yiko-menu img:hover {
    opacity: .8;
}

/* =====================================================
   CAKE MENU
===================================================== */

.yiko-section-title {
    position: relative;
    top: 0px;

    margin: 0 0 20px;

    text-align: center;

    font-family: "Inter", Arial, sans-serif;
    font-weight: 300;
    font-size: 10px;
    letter-spacing: 1px;
}

.yiko-menu {
    position: relative;
    top: 10px;

    width: 100%;

    display: flex;
    justify-content: center;

    margin-bottom: 40px;
}

.yiko-menu img {
    width: 100%;
    max-width: 500px;
}

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

#yiko-lightbox {
    position: fixed;
    inset: 0;

    z-index: 9999;

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

    background: rgba(255,255,255,.96);

    opacity: 0;
    visibility: hidden;

    transition: opacity .25s ease;
}

#yiko-lightbox.show {
    opacity: 1;
    visibility: visible;
}

#yiko-lightbox-img {
    max-width: 92vw;
    max-height: 92vh;

    object-fit: contain;

    cursor: zoom-out;
}

.menu-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;

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

    background: rgba(255,255,255,.96);
}

.menu-lightbox.show {
    display: flex;
}

#menu-lightbox-img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    cursor: zoom-out;
}

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

.lightbox-arrow {
    position: fixed;
    top: 50%;

    transform: translateY(-50%);

    background: none;
    border: none;

    color: rgb(255,155,207);
    font-size: 20px;

    cursor: pointer;

    z-index: 10000;

    transition: opacity .2s ease;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-arrow:hover {
    opacity: .5;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:1100px){

    .yiko-grid{
        grid-template-columns:repeat(4,1fr);
        gap:18px;
    }

}

@media (max-width:850px){

    .yiko-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media (max-width:600px){

    .yiko-page .gallery-wrapper{
        width:92%;
    }

    .yiko-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

}

/* =====================================================
   YIKO SLIDESHOW SECTION
===================================================== */

.yiko-slideshow {
    position: relative;

    width: 80vw;
    height: 80vh;
    min-height: 400px;

    margin: -70px auto 100px;

    overflow: hidden;
}

.yiko-slide {
    position: absolute;
    inset: 0;

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

    opacity: 0;
    pointer-events: none;
}

.yiko-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.yiko-slide img {
    max-width: 70%;
    max-height: 70%;

    width: auto;
    height: auto;

    object-fit: contain;
    display: block;

    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.yiko-slide img:hover {
    opacity: 0.8;
}

/* =====================================================
   SLIDESHOW ARROWS
===================================================== */

.yiko-slideshow-nav {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.yiko-slide-prev,
.yiko-slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: none;
    border: none;

    font-size: 20px;
    color: rgb(255, 155, 207);

    cursor: pointer;
    pointer-events: auto;

    transition: opacity 0.2s ease;
}

.yiko-slide-prev {
    left: 20px;
}

.yiko-slide-next {
    right: 20px;
}

.yiko-slide-prev:hover,
.yiko-slide-next:hover {
    opacity: 0.5;
}

.merch-prev {
    left: 40px;
}

.merch-next {
    right: 40px;
}

#merch-lightbox-img {
    max-width: 65vw;
    max-height: 65vh;

    width: auto;
    height: auto;

    object-fit: contain;
}