@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hahmlet:wght@200;300;400;500;600;700&family=Yeseva+One&display=swap');



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

html, body {
    background-image:
      linear-gradient(
        rgba(0,0,0,.5),
        rgba(0,0,0,.5)
      ),
      url('../assets/images/Whiteroom.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: "Poppins", sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    background-color: #000000;
    font-size: 16px;
    line-height: 1.6;
}


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

header{
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 200px;
  transition: 0.5s ease;
}

header .brand{
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

header .navigation{
  position: relative;
}

header .navigation .navigation-items a{
  position: relative;
  color: #fff;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  margin-left: 30px;
  transition: 0.3s ease;
}

header .navigation .navigation-items a:before{
  content: '';
  position: absolute;
  background: #fff;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;
}

header .navigation .navigation-items a:hover:before{
  width: 100%;
}

section{
  padding: 100px 200px;
}

.home{
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #000000;
  overflow: hidden; /* Ensure no overflow from the absolutely positioned GIF */
}

.home:before{
  z-index: 777;
  content: '';
  position: absolute;
  background: rgba(0, 0, 0, 0.63);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
/* ===== MAIN CATALOGUE ===== */

.catalogue{
    max-width:900px;
    margin:0 auto;
    padding:140px 20px;
}

/* ===== ARTWORK BLOCK ===== */
.artwork{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.artwork.in-view{
    opacity: 1;
    transform: translateY(0);
}



.artwork{
    width:100%;
    margin-bottom:140px;
}

.artwork img,
.artwork video{
    width:100%;
    border-radius:2px;
}

.artwork img:hover,
.artwork video:hover{
    opacity:0.9;
}

.art-info{
    margin-top:20px;
}

.art-info h2{
    font-size:1.8rem;
    font-weight:500;
    line-height:1.2;
    margin-bottom:8px;
}

.art-info p{
    font-size:1rem;
    color:#ddd;
    margin-bottom:15px;
}

.art-info a{
    text-decoration:none;
    color:#aaa;
    font-size:1rem;
    transition:0.3s ease;
}

.art-info a:hover{
    color:#fff;
}

.art-slider{
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    width: 100%;
    padding-top: 125%; /* 4:5 ratio */
}

.art-slide{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block !important;
}

.art-slide img,
.art-slide video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.art-slider-nav{
    display:flex;
    justify-content:center;
    gap:12px;
    margin:18px 0;
}

.art-slider-nav .dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#666;
    cursor:pointer;
}

.art-slider-nav .dot.active{
    background:#fff;
}



.video-wrapper{
    position:relative;
    width:100%;
    padding-top:56.25%;
}

.video-wrapper iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border:0;
}
/* ===== MEDIA ICONS ===== */

.media-icons{
    position:fixed;
    top:50%;
    right:30px;
    transform:translateY(-50%);
    display:flex;
    flex-direction:column;
    z-index:999;
}

.media-icons a{
    color:#fff;
    font-size:1.6em;
    margin-bottom:20px;
    transition:0.3s ease;
}

.media-icons a:hover{
    transform:scale(1.3);
}

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

@media (max-width:1040px){

    header{
        padding:12px 20px;
    }

    section{
        padding:100px 20px;
    }

    .catalogue{
        column-count:1;
        column-gap:0;
        padding:120px 20px 40px;
    }

    .artwork{
        margin-bottom:70px;
    }

    .art-info h2{
        font-size:2rem;
    }

    .art-info p{
        font-size:1.1rem;
    }

    .home .media-icons{
        right:15px;
    }

    header .navigation{
        display:none;
    }

    header .navigation.active{
        position:fixed;
        width:100%;
        height:100vh;
        top:0;
        left:0;
        display:flex;
        justify-content:center;
        align-items:center;
        background:rgba(1,1,1,.5);
    }

    header .navigation .navigation-items a{
        color:#222;
        font-size:1.2em;
        margin:20px;
    }

    header .navigation .navigation-items a:before{
        background:#222;
        height:5px;
    }

    header .navigation.active .navigation-items{
        background:#fff;
        width:600px;
        max-width:600px;
        margin:20px;
        padding:40px;
        display:flex;
        flex-direction:column;
        align-items:center;
        border-radius:5px;
        box-shadow:0 5px 25px rgb(1 1 1 / 20%);
    }

    .menu-btn{
        background:url(../assets/images/menu.png) no-repeat;
        background-size:30px;
        background-position:center;
        width:40px;
        height:40px;
        cursor:pointer;
        transition:.3s ease;
    }

    .menu-btn.active{
        z-index:999;
        background:url(../assets/images/close.png) no-repeat;
        background-size:25px;
        background-position:center;
    }
}

@media (max-width:768px){

    .catalogue{
        padding:110px 20px 30px;
    }

    .art-info h2{
        font-size:1.7rem;
    }

    .art-info p{
        font-size:1rem;
    }

    .home .content h1{
        font-size:3em;
        line-height:60px;
    }
}

  section{
    padding: 100px 20px;
  }

  .home .media-icons{
    right: 15px;
  }

  header .navigation{
    display: none;
  }

  header .navigation.active{
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(1, 1, 1, 0.5);
  }

  header .navigation .navigation-items a{
    color: #222;
    font-size: 1.2em;
    margin: 20px;
  }

  header .navigation .navigation-items a:before{
    background: #222;
    height: 5px;
  }

  header .navigation.active .navigation-items{
    background: #ffffff;
    width: 600px;
    max-width: 600px;
    margin: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
  }

  .menu-btn{
    background: url(../assets/images/menu.png)no-repeat;
    background-size: 30px;
    background-position: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .menu-btn.active{
    z-index: 999;
    background: url(../assets/images/close.png)no-repeat;
    background-size: 25px;
    background-position: center;
    transition: 0.3s ease;
  }


  @media (max-width: 560px){
    .home .content h1{
      font-size: 3em;
      line-height: 60px;
    }
  }

/* ===== Poster ===== */

.poster{
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('../assets/images/Cross.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.poster-overlay{
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.22);
    z-index: 1;
}

.poster-content{
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 900px;
}

.poster-content h1{
    font-family: "Hahmlet", serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 20px;
}

.poster-subtitle{
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 10px;
}

.poster-dates{
    font-size: 1rem;
    color: #aaa;
    letter-spacing: 1px;
}

@media (max-width: 768px){
    .poster-content h1{
        font-size: 2.2rem;
    }
}

/* ===== commentary ===== */

.commentary{
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 120px;
    color: #eee;
}

.commentary-label{
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 10px;
}

.commentary-dash{
    color: #666;
    margin-bottom: 60px;
}

.chapter-tag{
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #b33a2e;
    margin-bottom: 15px;
}

.chapter-title{
    font-family: "Hahmlet", serif;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 40px;
    max-width: 700px;
}

.chapter-body{
    font-size: 1.1rem;
    line-height: 1.9;
    color: #ccc;
    max-width: 650px;
}

.artwork + .commentary{
    margin-top: -80px;
}

.commentary-dash{
    color: #666;
    margin-bottom: 20px;
}


@media (max-width: 768px){
    .chapter-title{
        font-size: 1.8rem;
    }
}



.special-movie{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.special-movie-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


.special-movie-overlay{
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.special-movie-content{
    position: relative;
    z-index: 2;
    padding: 0 60px;
}

.special-movie-content h2{
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

.movie-links{
    display: flex;
    gap: 40px;
}

.movie-link{
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
}

.movie-link img{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.movie-link:hover img{
    transform: scale(1.1);
}

/* Modal */
.movie-modal{
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.movie-modal.active{
    display: flex;
}

.movie-modal-inner{
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
}

.movie-modal-inner iframe{
    width: 100%;
    height: 100%;
    border: 0;
}

.movie-modal-close{
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
}

@media (max-width: 768px){
    .special-movie-content h2{
        font-size: 2.2rem;
    }
    .movie-link{
        font-size: 1.2rem;
    }
    .movie-link img{
        width: 45px;
        height: 45px;
    }
}


.artwork-frame{
    border: 2px solid;
    border-image: linear-gradient(135deg, #e8e8e8, #888, #fff, #666, #ccc) 1;
    display: inline-block;
    width: 100%;
    padding: 3%;
    box-sizing: border-box;
}

.artwork-frame img,
.artwork-frame video{
    display: block;
    width: 100%;
}

.artwork-frame .video-wrapper{
    padding-top: 56.25%;
}

/* ===== SCROLL ICON ===== */

.scroll-toggle{
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    -webkit-transform: translateX(-50%) translateZ(0);
    will-change: transform;
    z-index: 998;
}


.scroll-icon{
    width: 50px;
    height: auto;
    cursor: pointer;
}


.scroll-icon:hover{
    transform: translateY(-4px);
    opacity: 0.7;
}






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

.site-footer {
  text-align: center;
  padding: 80px 20px 40px 20px;
  font-size: 0.85rem;
  color: #777;
  letter-spacing: 1px;
}


/* ===== PAGE TRANSITION ===== */
.page-transition{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.page-transition.fade-in{
    opacity: 0;
}

.page-transition.fade-out{
    opacity: 1;
    pointer-events: all;
}


/* ===== LIGHTBOX ===== */
.lightbox{
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 100000;
    overflow: hidden;
    touch-action: pan-y;
}

.lightbox.active{
    display: block;
}

.lightbox-close{
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 100001;
}

.lightbox-track{
    position: relative;
    width: 100%;
    height: 100%;
}

.lightbox-slide{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-slide img,
.lightbox-slide video{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
