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

html {
    scroll-behavior: auto !important; /* Prevents conflicts with custom scroll */
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
}

body {
    min-height: 100vh;
    background-color: #fff;
}

::selection {
    background: black;
    color: white;
}

::-moz-selection {
    background: black;
    color: white;
}

.divider-container {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Optional: add background or border */
    background-color: #fff;
}

.divider-container img {
    max-height: 80px;
    max-width: 80px;
    object-fit: contain;
}


/* Header Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: center; /* Horizontally center items */
    z-index: 10;
    padding: 0 20px;
}
.navbar h1 {
margin: 0;
font-size: 36px;
font-family: 'Rockwell Nova', sans-serif;
}



.mobile-nav, .mobile-nav__hamburger {
    display: none;
}


.artist-statement-logo {
    transform: translate(-50%, 100%);
    opacity: 0;
}

.social-icons {
    font-size: 30px;
    position: absolute;
    right: 50px;
    transition: all 0.4s ease;
}

.social-icons a {
    color: black;
    text-decoration: none;
    margin-left: 5px;
}

/* Video Background */




/* Video styles */
.video-container {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.video-preloader {
    background-color: #ffffff;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(0);
    will-change: transform;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

.preloader {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.preloader-animation {
    width: 200px;
    height: 200px;
    position: absolute;
    background-image: url('../img/preloader/preloader-sprite.svg');
    background-repeat: no-repeat;
    background-size: 700% 100%;
    animation: animate-sprite 2.1s steps(1) infinite;
}

@keyframes animate-sprite {
    0% { background-position: 0 0; }
    14.28% { background-position: 16.66% 0; }
    28.57% { background-position: 33.33% 0; }
    42.85% { background-position: 50% 0; }
    57.14% { background-position: 66.66% 0; }
    71.42% { background-position: 83.33% 0; }
    85.71% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

@keyframes frameAnimation {
    0% { background-image: url('../img/frame1.svg'); }
    16.66% { background-image: url('../img/preloader/frame2.svg'); }
    33.32% { background-image: url('../img/preloader/frame3.svg'); }
    49.98% { background-image: url('../img/preloader/frame4.svg'); }
    66.64% { background-image: url('../img/preloader/frame5.svg'); }
    83.3% { background-image: url('../img/preloader/frame6.svg'); }
    83.31%, 100% { background-image: url('../img/preloader/frame1.svg'); }
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.8s ease;
}


.mobile-sprite {
  display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 94%;
    background-image: url('../img/mobile-sprite/spritesheet-mobile.png');
    background-position: 0 0;
      background-size: 700% 100%; /* 700% because we have 7 frames */
    z-index: -1;
    opacity: 0;
    transition: opacity 0.8s ease;
}

@keyframes mobile-sprite-animation {
    from { background-position: 0 0; }
    to { background-position: -700% 0; }  /* Changed from -600% to -700% */
}




.exhibition-image-preloader {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.exhibition-image-preloader-animation {
    width: 200px;
    height: 200px;
    background-image: url('../img/preloader/frame1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: frameAnimation 2s steps(1) infinite;
}

/* Preloader frame animation */
@keyframes frameAnimation {
    0% { background-image: url('../img/frame1.svg'); }
    12.5% { background-image: url('../img/preloader/frame2.svg'); }
    25% { background-image: url('../img/preloader/frame3.svg'); }
    37.5% { background-image: url('../img/preloader/frame4.svg'); }
    50% { background-image: url('../img/preloader/frame5.svg'); }
    62.5% { background-image: url('../img/preloader/frame6.svg'); }
    75% { background-image: url('../img/preloader/frame7.svg'); }
    87.5% { background-image: url('../img/preloader/frame8.svg'); }
    100% { background-image: url('../img/preloader/frame1.svg'); }
}









/* Bottom Navigation */
.bottom-navbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 50px;
    padding: 0 5px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 25px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    z-index: 1000;
    transition: bottom 0.3s ease-in-out;
}

.bottom-navbar a,
.mobile-nav a {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100%;
}

.menu li {
    display: flex;
    margin: 0;
    height: 100%;
}

.menu a {
    font-family: 'Rockwell Nova', sans-serif;
    font-weight: 700;
    color: black;
    padding: 0 30px;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.menu > li > a:hover {
    background-color: rgba(255, 255, 0, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.menu img {
    height: 36px;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

/* Button Order and Hover States */
.menu li:nth-last-child(2) {
    order: 1;
}

.menu li:last-child {
    order: 2;
}

.menu li:nth-last-child(2) a:hover,
.menu li:last-child a:hover {
    background-color: rgba(255, 255, 0, 0.8);
}

/* Border Radius and Padding for Edge Items */
.menu li:first-child a {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    margin-left: -5px;
    padding-left: 20px;
}

.menu li:last-child a {
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    margin-right: -5px;
    padding-right: 20px;
}

.menu li:nth-last-child(2) a,
.menu li:last-child a {
    padding: 0 10px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    z-index: 1000; /* Add this */
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 0;
    min-width: 200px;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);

    z-index: 1001;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.dropdown-content a {
    display: block;
    width: 100%;
    font-size: 18px;
    padding: 10px 20px;
    color: black;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-content a:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.dropdown-content a:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


/* Modified hover effect for dropdown items */
.dropdown-content a:hover {
    background-color: rgba(255, 255, 0, 0.8);
}

/* Add this to ensure dropdown items don't inherit main menu hover styles */


.menu .dropdown .dropdown-content a:hover {
    background-color: rgba(255, 255, 0, 0.8);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
@media (hover: hover) and (pointer: fine) {
    /* Desktop hover behavior */
    .dropdown:hover .dropdown-content {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        display: block;
    }
}

@media (hover: none) or (pointer: coarse) {
    /* Touch device behavior */
    .dropdown-content {
        display: none;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .dropdown.touch-open .dropdown-content {
        display: block;
    }
}





/* Hamburger Menu */

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin: center center;
    transition: transform 0.3s ease;
    visibility: hidden;
    z-index: 2000;
}

.mobile-nav.active {
    transform: scale(1);
    visibility: visible;
}

.mobile-nav__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.mobile-nav__dropdown {
    position: relative;
}

.mobile-nav__dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    font-size: 24px;
    font-family: 'Rockwell Nova', sans-serif;
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.mobile-nav__dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-nav__dropdown-trigger i {
    transition: transform 0.3s ease;
}

.mobile-nav__item {
    font-family: 'Rockwell Nova', sans-serif;
    font-size: 24px;
    padding: 20px;
    color: black;
    font-weight: bold;
    text-decoration: none;
}









.busan-portraits,
.hongkong-portraits,
.iceland-portraits,
.myanmar-portraits,
.peru-portraits,
.manila-portraits,
.seoul-portraits,
.singapore-portraits,
.tibet-portraits {
    scroll-margin-top: 150px;  /* Adjust this value based on your needs */
}

.statement-container {
    width: calc(100% - 200px);
    margin: 100px auto 0;
    padding: 50px 100px;
}

.statement-text {
    width: 100%;
    max-width: 1400px;
    margin: 15px auto 0; /* Changed from 30px to 15px */
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
}

.statement-text p {
    font-family: 'Raleway', sans-serif;
}

.statement-container h2 {
    font-family: 'Rockwell Nova', serif;
    font-weight: 700;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 0; /* Changed from 15px to 0 */
    font-size: clamp(30px, 5vw, 36px);
}

.statement-container h2:nth-of-type(2) {  /* Targets the "ABOUT" heading */
    margin-top: 100px;  /* Adjust this value to increase/decrease space */
}

.statement-text p {
    margin-bottom: 30px;
}

.artist-statement-info {
    margin-top: 50px;
    font-family: 'Rockwell', sans-serif;
}

.artist-statement-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.artist-statement-info a {
    color: black;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.artist-statement-info a:hover {
    opacity: 0.7;
}

.artist-statement-links p {
    margin-bottom: 30px; /* Increase this value for more space between links */
}

.artist-statement-info h3 {
  margin-bottom:20px;
}
.artist-statement-links {
    margin-bottom: 100px; /* Increase this value for more white space at the bottom */
}

.main-logo,
.artist-statement-logo,
.busan-logo,
.hongkong-logo,
.iceland-logo,
.myanmar-logo,
.peru-logo,
.manila-logo,
.seoul-logo,
.singapore-logo,
.tibet-logo {
    opacity: 0;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}






/*PORTRAITS*/
.portrait-placeholder {
    background-color: lightgrey; /* Placeholder color */
    position: relative;
    width: 100%; /* Full width of the wrapper */
    display: block;
    /* Initial height will be set dynamically via JavaScript */
}

.image-flex {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.image-wrapper {
    position: relative;
    width: calc(100% / 5);
}

.image-wrapper img {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.loading-spinner::after,
.loading-spinner::before {
    content: '';
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: yellow;
    position: absolute;
    left: 0;
    top: 0;
    animation: animloader 2s linear infinite;
}

.loading-spinner::after {
    animation-delay: 1s;
}

.image-wrapper img.loaded {
    opacity: 1;
}

.portraits h2 {
    font-family: 'Rockwell Nova', sans-serif;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 2rem;
    font-size: 3em;
    transition: opacity 0.1s ease;
    opacity: 1;
}

@keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.flag-image {
    display: flex;
    margin-top:50px;
    justify-content: center;
    align-items: center;
    height: 200px;  /* You can adjust the height of the container */
}

.flag-image img {
  margin-top:30px;
    width: 100px;
    height: auto;  /* Optional: keeps the aspect ratio of the image */
}



/*OTHER WORKS*/

#otherworks-section {
    padding: 0 50px 0 50px; /* Added 100px top padding */
    box-sizing: border-box;
}

.other-works-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 3px;
}

.other-works-gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 100px;
    justify-content: center;
}

.other-works-gallery-item {
    width: 300px;
    margin: 0;
}

.other-works-gallery-item img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 3px;
    border: 3px solid transparent;
    transition: border 0.2s ease;
}

.other-works-gallery-item img:hover {
    border: 15px solid #000;
}

.other-works-gallery-item figcaption {
    font-family: 'Rockwell Nova', bold;
    font-weight:bold;
    margin-top: 4px;
    text-align: left;
    font-size: .8em;
}

.other-works-description {
    font-family: 'Rockwell Nova', sans-serif;
    font-size: 1.8em;
    text-align: left;
    margin-bottom: 100px; /* Add some space between text and image */
}




/* Modal Styles */
.other-works-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0);
    transition: visibility 0s linear 0.3s, background-color 0.3s ease-out;
}

.other-works-modal-inner {
    height: 100%;
    overflow-y: auto;
    padding: 60px 20px 20px;
}

.other-works-modal.active {
    visibility: visible;
    transition-delay: 0s;
    background-color: rgba(0, 0, 0, 0.1);
}

.other-works-modal-content {
   position: fixed;
   left: 5px;
   right: 5px;
   bottom: 0;
   height: calc(100% - 80px);
   background: white;
   transform: translateY(100%);
   opacity: 0;
   transition: transform 0.3s ease-out, opacity 0.3s ease-out;
   border-radius: 30px 30px 0 0;
   box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.other-works-modal.active .other-works-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.other-works-modal.closing .other-works-modal-content {
    transform: translateY(100%);
    opacity: 0;
}

.other-works-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #000;
    z-index: 1001;
}

.other-works-modal.closing {
    background-color: rgba(0, 0, 0, 0);
    visibility: visible; /* Keep visible during closing animation */
}


/*MODAL CONTENT WRAPPER*/
.other-works-modal-content-wrapper {
    display: flex;
    gap: 40px;
    height: 100%;
    padding: 20px 20px 20px 10px;
    align-items: flex-start;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}


.other-works-modal-image {
    flex: 2;
    max-width: 65%;
}

.other-works-modal-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.other-works-modal-info {
    flex: 1;
    padding: 0;
}

.other-works-modal-info h2 {
    font-family: 'Rockwell Nova', bold;
    margin-bottom: 20px;
    font-size: 14px; /* Reduced from default */

}

.other-works-modal-info p {
  font-family: 'Rockwell Nova';
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: 12px; /* Reduced from default */
}

.other-works-modal-info .label {
    font-weight: bold;
}

.other-works-modal-info h2,
.other-works-modal-info p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.other-works-modal-info span {
    display: inline-block; /* Add this to ensure spans show up */
}



/*EXHIBITIONS*/
.exhibition-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    padding: 20px 40px;
    justify-content: center;
}

.exhibition-item {
    width: 350px;
    margin: 0;
}

.exhibition-item .image-container {
    padding: 15px;
    background-color: black;
    height: 500px;
}

.exhibition-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.exhibition-item figcaption {
    font-family: 'Rockwell Nova', sans-serif;
    margin-top: 8px;
    line-height: 1.4;
}

.exhibition-item .image-container,
.exhibition-item figcaption {
    cursor: pointer;
}

.exhibition-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0);
    transition: visibility 0s linear 0.3s, background-color 0.3s ease-out;
}

.exhibition-modal-inner {
    height: 100%;
    overflow-y: auto;
    padding: 60px 5px 0px; /* Adjusted padding */
}

.exhibition-modal.active {
    visibility: visible;
    transition-delay: 0s;
    background-color: rgba(0, 0, 0, 0.1);
}

.exhibition-modal-content {
    position: fixed;
    left: 5px;
    right: 5px;
    bottom: 0;
    height: calc(100vh - 20px); /* Changed from 80px to 20px */
    max-height: 100vh;
    background: white;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-sizing: border-box;
}

.exhibition-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 20px solid white;
    pointer-events: none;
    z-index: 1002;
    border-radius: 30px 30px 0 0;
}

.exhibition-modal.active .exhibition-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.exhibition-modal.closing .exhibition-modal-content {
    transform: translateY(100%);
    opacity: 0;
}

.exhibition-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #000;
    z-index: 1003;
}

.exhibition-modal.closing {
    background-color: rgba(0, 0, 0, 0);
    visibility: visible;
}

.exhibition-modal-content-wrapper {
    display: flex;
    gap: 40px;
    height: 100%;
    padding: 40px 60px 20px 60px;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.exhibition-modal-image {
    flex: 2;
    max-width: 65%;
}

.exhibition-modal-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.exhibition-modal-info {
    flex: 1;
    padding: 0;
}

.exhibition-modal-info h2 {
    font-family: 'Rockwell Nova', bold;
    margin-bottom: 20px;
    font-size: 14px;
}

.exhibition-modal-info p {
    font-family: 'Rockwell Nova';
    margin-bottom: 12px;
    line-height: 1.4;
    font-size: 12px;
}

.exhibition-modal-info .label {
    font-weight: bold;
}

.exhibition-modal-info h2,
.exhibition-modal-info p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.exhibition-modal-info span {
    display: inline-block;
}

.pull-down-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin-top: 12px;
    z-index: 1004;
    opacity: 1;
    transition: opacity 0.3s ease;
}




/*EXHIBITION PWK*/
.pwk-content-text {
    flex: 1;
    max-width: 30%;
    position: sticky;
    top: 20px;
}

.pwk-content-text h2 {
  font-family: 'Rockwell Nova', sans-serif;
  font-weight:bold;
    margin-bottom: 15px;
    font-size: 24px;
}

.pwk-content-text p {
  font-family: 'Raleway', sans-serif;
    line-height: 1.5;
    margin-bottom: 20px;
}



.pwk-content-images {
  flex: 2;
  max-width: 70%;
  height: 100%;
  overflow-y: auto;
  padding-right: 10px;
}

.pwk-content-images > img {
  width: calc(100% + 10px); /* Stretch to cover the padding */
  height: auto;
  margin-bottom: 10px;
  display: block;
  margin-left: -10px; /* Pull back by the full padding amount */
}

.pwk-image-pair {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  width: calc(100% + 10px); /* Match the width of single images */
  margin-left: -10px; /* Align with the left edge */
}

.pwk-image-pair img {
  width: calc(50% - 5px); /* Account for the gap */
  height: auto;
}

.pwk-image-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pwk-image-stack img {
  width:
}









/*CONTACT*/

.contact-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    margin-top:200px;
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.contact-section {
    position: relative;
    width: 100%;
    z-index: 1;
}

.contact-fields-wrapper {
    background-color: white;
    padding: 40px;
    padding-bottom: 90px;
    width: 380px;
    margin-left: 10%;
}

.contact-title {
    font-family: 'Rockwell Nova', serif;
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-container {
    position: relative;
    height: 40px;
    margin-bottom: 20px;
}

.contact-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 40px;
    background-color: black;
    transition: width 0.3s ease;
}

.contact-container:hover .contact-indicator {
    width: 4px;
}

.contact-input-box {
    width: 300px;
    height: 40px;
    border: none;
    background-color: transparent;
    color: black;
    font-size: 20px;
    font-family: 'Rockwell Nova', serif;
    padding-left: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.contact-input-box::placeholder {
    color: black;
    font-family: 'Rockwell Nova', serif;
    text-transform: uppercase;
    font-size: 18px;
}

.contact-input-box.focused + .contact-indicator {
    width: 300px;
}

.contact-input-box.focused {
    outline: none;
    color: white;
}

.contact-input-box.focused::placeholder {
    color: white;
}

.contact-message-container {
    position: relative;
    height: 250px;
    margin-bottom: 20px;
}

.contact-message-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 250px;
    background-color: black;
    transition: width 0.3s ease;
}

.contact-message-container:hover .contact-message-indicator {
    width: 4px;
}

.contact-message-box {
    width: 300px;
    height: 250px;
    border: none;
    background-color: transparent;
    color: black;
    font-size: 20px;
    font-family: 'Rockwell Nova', serif;
    padding-left: 10px;
    padding-top: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    resize: none;
}

.contact-message-box::placeholder {
    color: black;
    font-family: 'Rockwell Nova', serif;
    text-transform: uppercase;
    font-size: 18px;
}

.contact-message-box.focused + .contact-message-indicator {
    width: 300px;
}

.contact-message-box.focused {
    outline: none;
    color: white;
}

.contact-message-box.focused::placeholder {
    color: white;
}

.contact-send-button {
    float: right;
    width: 100px;
    height: 40px;
    background-color: black;
    color: white;
    border: none;
    font-family: 'Rockwell Nova', serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-send-button:hover {
    background-color: #333;
}

.contact-send-button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}






/*FOOTER*/
.site-footer {
    background-color: #fff;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-copyright {
    font-family: 'Rockwell Nova', serif;
    font-size: 12px;
    color: #666;
    text-align: center;
}









@media screen and (max-width: 900px) {
  /*
    :root {
        overscroll-behavior: none;
    }*/

    .main-logo,
    .artist-statement-logo,
    .busan-logo,
    .hongkong-logo,
    .iceland-logo,
    .myanmar-logo,
    .peru-logo,
    .manila-logo,
    .seoul-logo,
    .singapore-logo,
    .tibet-logo {
        left: 20px;
        top: 10%; /* Changed from 30% to 20% to raise it higher */
        transform: translateY(-50%);
        text-align: left;
    }

    .hamburger {
        display: flex;

    }

    .bottom-navbar {
        display: none;
    }

    .navbar {
        height: 50px;
        justify-content: flex-start;
        padding-left: 20px;
        transition: all 0.3s ease;
    }







    .social-icons {
        font-size: 30px;
        position: absolute;
        right: 20px;
    }








    /* Mobile Menu Styles */

        .bottom-navbar {
            display: none;
        }

        .mobile-nav__hamburger {
    display: flex;
    position: fixed;
    bottom: env(safe-area-inset-bottom, 30px);
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid black;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 2001;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.mobile-nav__hamburger i {
    font-size: 24px;
    color: #000;
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

.mobile-nav__hamburger .menu-icon,
.mobile-nav__hamburger .close-icon {
    position: absolute;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-nav__hamburger .menu-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    visibility: visible;
    position: absolute;
}

.mobile-nav__hamburger .close-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
    visibility: hidden;
    position: absolute;
}

.mobile-nav__hamburger.active .menu-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
    visibility: hidden;
    position: absolute;
}

.mobile-nav__hamburger.active .close-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    visibility: visible;
    position: absolute;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: block;
    transition: all 0.3s ease-in-out;
    z-index: 2000;
    transform: scale(0);
    transform-origin: center center;
}

.mobile-nav.active {
    transform: scale(1);
    visibility: visible;
}

.mobile-nav__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 2rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    gap: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100dvh - env(safe-area-inset-bottom));
}

.mobile-nav__dropdown {
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-nav__dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    font-family: 'Rockwell Nova', sans-serif;
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.mobile-nav__dropdown-content {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    opacity: 0;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav__dropdown.active .mobile-nav__dropdown-content {
    max-height: 500px;
    opacity: 1;
    transition: all 0.3s ease-in;
    margin-top:30px;
}

.mobile-nav__dropdown-content a {
    padding: 8px 0;
    width: 100%;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease-out;
    font-size: 20px;
    font-family: 'Rockwell Nova', sans-serif;
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.mobile-nav__dropdown.active .mobile-nav__dropdown-content a {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.mobile-nav__dropdown-trigger i {
    transition: transform 0.3s ease;
}

.mobile-nav__dropdown.active .mobile-nav__dropdown-trigger i {
    transform: rotate(180deg);
}

.mobile-nav__item {
    font-family: 'Rockwell Nova', sans-serif;
    font-size: 24px;
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.mobile-nav__bottom-buttons ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
}

.mobile-nav__bottom-buttons li {
    display: inline-block;
}

.mobile-nav__bottom-buttons img {
    width: 60px;
    height: 60px;
}











    /*ARTIST STATEMENT*/
    .statement-container {
        width: calc(100% - 40px);
        padding: 50px 20px;
    }









    /*PORTRAITS*/
    .image-flex img {
       width: calc(100% / 3);
   }
   .image-wrapper {
       width: calc(100% / 3);
       background: #ededed;
       position: relative;
   }
   .image-wrapper img {
       width: 100%;
       height: auto;
   }
   .loading-spinner {
       position: absolute;
       left: 50%;
       top: 50%;
       transform: translate(-50%, -50%);
   }

   .portrait-placeholder {
         width: 100%;
         position: relative;
     }





    /*OTHER WORKS*/

    .other-works-gallery-item {
        width: 250px;
    }

    .other-works-gallery-item img {
        width: 250px;
        height: 167px;
    }




    /*EXHIBITIONS*/

    .exhibition-item {
        flex: 0 1 calc(33.333% - 14px);
    }

}









@media screen and (max-width: 576px) {
    .navbar h1 {
        font-size: 20px;
        margin-top:5px;
    }


    .social-icons {
        font-size: 30px;
    }

    .social-icons a {
        margin-left: 2px;
    }




/*ARTIST STATEMENT*/

.artist-statement-links {
  margin-bottom:0;
}
    .statement-container {
        width: calc(100% - 40px);
        padding: 30px 20px;
    }

    .statement-text {
        font-size: 16px;
        margin: 20px auto 0;
    }

    .statement-container h1 {
        font-size: 32px;
        margin: 0 auto 20px;
    }




/*PORTRAITS*/
.image-flex img {
    width: calc(100% / 2);
}
.image-wrapper {
    width: calc(100% / 2);
    background: #ededed;
    position: relative;
}
.image-wrapper img {
    width: 100%;
    height: auto;
}
        .loading-spinner {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }
        .portrait-placeholder {
        width: 100%;
        position: relative;
    }




/*Mobile Menu*/
    .mobile-nav__wrapper {
        padding: 1rem;
    }

    .mobile-nav__hamburger {
        bottom: 40px;
        right: 40px;
    }

    .mobile-nav__item,
    .mobile-nav__dropdown-trigger {
        padding: 0.75rem 0;
    }

    .mobile-nav__dropdown-content a {
        padding: 0.4rem 0.75rem;
    }






/*OTHER WORKS*/
.other-works-description {
  text-align: center;
font-size: 1.4em;
margin-bottom:60px;
    }

    /*OTHER WORKS*/
    .other-works-image {
      padding-bottom: 20px;
    }

    .other-works-gallery-container {
        gap: 30px;
        padding: 0;
    }

    .other-works-gallery-item {
        width: 100%;
    }

    .other-works-gallery-item img {
        width: 100%;
        height: 250px;
    }

    .other-works-modal-content-wrapper {
        display: block; /* Change to block instead of flex */
        overscroll-behavior-y: contain;
    }

    .other-works-modal-info {
       display: block; /* Ensure block display */
       width: 100%;
   }


    .other-works-modal-image {
        max-width: 100%;
        margin-bottom: 10px; /* Add space below image */
    }

    #otherworks-section {
        padding: 0 20px 0 20px; /* Added 100px top padding */
        box-sizing: border-box;
    }

    .other-works-pull-indicator {
        height: 4px;
        width: 50px;
        background-color: #e0e0e0;
        position: absolute;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 2px;
        z-index: 1004;
    }

    .other-works-pull-indicator::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -50%;
        right: -50%;
        height: 40px;
        z-index: 1003;
    }




  /*EXHIBITIONS*/
  .exhibition-item {
        flex: 0 1 100%;
        padding: 0; /* Remove padding in mobile view */
    }

    .exhibition-gallery {
        padding: 0 20px; /* Adjusted padding for mobile */
    }


    .exhibition-modal-content {
      overflow-y: auto;
      position: relative;
      overscroll-behavior-y: contain;
      height: calc(100vh - 20px); /* Added to maintain consistency */
  }

   .exhibition-modal-content-wrapper {
       display: block;
       padding: 60px 20px 50px 20px;
       overscroll-behavior-y: contain;
   }

   .exhibition-modal-inner {
    padding: 60px 5px 0px; /* Adjusted padding */
}

   .pwk-content-text {
       position: relative; /* Override sticky positioning */
       max-width: 100%;
   }

   .pwk-content-images {
       max-width: 100%;
       overflow-y: visible; /* Remove separate scroll */
       height: auto;
       padding: 0;
       padding-bottom: 100px;
   }

   .pwk-content-text h2 {
     margin-top: 50px;
   }

   .pwk-content-text p {
       margin-bottom: 60px;
   }








    /* CONTACT*/

    .contact-wrapper img{
      display:none;
    }

    .contact-fields-wrapper {
      margin-left:0;
    }

    .contact-fields-wrapper {
      padding-top:0;
    }

/*MOBILE SPRITE*/
.background-video {
        display: none;
    }

    .mobile-sprite {
        display: block;
        animation: mobile-sprite-animation 3s steps(7) infinite;
    }

}
