*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0;
    font-family: 'BL Melody', sans-serif;
    font-weight: 300; /* Regular */
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-Book.woff2') format('woff2');
  font-weight: 350; /* between light and regular */
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'BL Melody';
  src: url('/fonts/BLMelody-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

/* Helvetica Pixelated */
@font-face {
  font-family: 'Helvetica Pixelated';
  src: url('/fonts/helvetica-pixelated.otf.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0); /* start fully visible */
  transition: transform 0.3s ease-in-out;
}


#loader video {
  width: 100%;
  max-width: 1080px;   /* 👈 stays this size until it doesn't fit */
  height: auto;
  object-fit: contain; /* prevents cropping */
  animation: fadeIn 0.2s forwards; /* fade in over 1s */
  z-index: 9999;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


#loader video.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

#loader.loaded {
  transform: translateY(100%); /* swipe down off screen */
}

#loader.exit {
  transform: translateY(0); /* swipe up onto screen */
}

body {
  cursor:
         url('images/icon/black cursor.png') 0 0, 
         auto;
  image-rendering: pixelated; /* Keep it sharp if it's pixel art */
}

/* Hover state for clickable elements */
a:hover, button:hover {
  cursor: 
         url('images/icon/black hover.png') 0 0,
         pointer; /* fallback if images fail */
  image-rendering: pixelated;
}

.navbar {
    background: #ffffff;
    border-bottom: 1px solid #000;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar_container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 10px;
}

#navbar_logo {
  text-decoration: none;
  color: inherit;
  display: flex;               /* <== this is key */
  align-items: center;
}

.logo_group {
  display: flex;               /* <== this makes image and text side by side */
  align-items: center;
}

.navbar__logo-img {
  height: 40px;
  width: auto;
  margin-right: 10px;          /* space between image and text */
}

.logo_text {
  font-size: 0.8rem;
    font-size: clamp(10px, 2vw, 15px); /* min: 14px, preferred: 2% of width, max: 20px */
    white-space: nowrap; /* keeps text in one line */
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 60px;
    width: 120px;
}

.navbar__links {
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__links:hover {
    background: #000000;
    color: #ffffff;
    transition: all 0.3s ease;

}

.main {
    width: 100%;
    padding: 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  margin: 0.5vw 1vw 0.5vw 1vw;
  max-width: 1500px;
  padding: 2vw 2vw;
  flex-wrap: nowrap; /* <== important: keep children in a row */
}

.main__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 15px; /* 👈 Add this line */
    gap: 10px; /* ⬅️ optional: spacing between h1, p, and button */
}

.main__content h1 { 
    font-family: 'BL MELODY';
    align-items: flex-start;
    font-size: 30px;
    font-weight: 300;
    padding: 0;
}

.main__content h2 { 
    font-family: 'BL MELODY';
    font-weight: 300;
    align-items: flex-start;
    font-size: 15px;
    margin-top: 0px;
    color: #5f5f5f;
    padding: 0 0 20px;
    border-bottom: 1px solid #000;
}

.main__content h3 {
    font-family: 'BL MELODY';
    font-weight: 400;
    align-items: flex-start;
    font-size: 20px;
    margin-top: 0px;
    padding: 20px 0px 0px;
    
}

.main__content p {
    font-family: 'BL MELODY';
    font-weight: 100;
    margin: 0;
    max-width: 800px;
    font-size: 14px;
    border-bottom: 1px solid #000;
    padding: 0 0 30px;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.hover-image-container {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: center;
}

.hover-image {
    width: auto;
    max-height: 85vh;
    transition: transform 0.3s ease-in-out;
}

.floating-text {
  position: absolute;
  background: #0000ff;
  color: #fff;
  border: 1px solid #000;
  padding: 6px 10px;
  font-family: 'Helvetica Pixelated';
  font-size: 14px;
  pointer-events: none; /* let mouse go through */
  display: none;
  z-index: 1000;
  white-space: nowrap;
}

.hover-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.carousel-container {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 20px 0;
  scroll-behavior: smooth;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;
  
  max-width: 1500px;  /* 👈 responsive instead of fixed width */
  margin: 0 auto;   /* 👈 center within parent */
}

.carousel-track {
  display: flex;
  gap: 15px;
  padding: 0px 0px;
}

.carousel-item {
  flex: 0 0 auto;
  width: auto;
  max-height: 600px;
  overflow: hidden;
  background-color: #f8f8f8;
}

.carousel-item img {
  width: auto;
  height: 600px;
  object-fit: cover;
  display: block;
}

.carousel-item video {
  width: auto;
  height: 600px;
  object-fit: cover;
  display: block;
}

.carousel {
  overflow-x: auto;
  scrollbar-width: thin; /* for Firefox */
  scrollbar-color: #ffffff #eee; /* for Firefox: thumb, track */
  border: 1px, #000000;
}

.carousel::-webkit-scrollbar {
  height: 8px;
  padding-bottom: 20px;
}

.carousel::-webkit-scrollbar-track {
  background: #ffffff;
  border: 1px, #000000;
}

.carousel::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 4px;
}

.carousel::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
  border: 2px, #000000;
}

.page__content {
  display: flex;
  padding: 40px 0;
}

.page__content2 {
  display: flex;
  padding: 0 0;
}

.page__item {
  padding: 10px 10px;
  justify-content: center;
  max-height: 1000px;
}

.page__item h1 {
  display: flex;
   font-family: 'BL MELODY';
    font-weight: 400;
    align-items: flex-start;
    font-size: 20px;
    margin-top: 0px;
    padding: 20px 0px 0px;
    
}
.page__item p {
  display: flex;
  font-family: 'BL MELODY';
    font-weight: 100;
    margin: 0;
    max-width: 700px;
    font-size: 14px;
    border-bottom: 1px solid #000;
    padding: 0 0 30px;
}

.page__item2 {
  display: block;
  padding: 10px 10px;
  justify-content: center;
  max-height: 1000px;
}

.page__item2 h1 {
  display: flex;
   font-family: 'BL MELODY';
    font-weight: 400;
    align-items: flex-start;
    font-size: 20px;
    margin-top: 0px;
    padding: 20px 0px 0px;
    
}
.page__item2 p {
  display: flex;
  font-family: 'BL MELODY';
    font-weight: 100;
    margin: 0;
    max-width: 700px;
    font-size: 14px;
    border-bottom: 1px solid #000;
    padding: 0 0 30px;
}

.page__item__full h1 {
   font-family: 'BL MELODY';
    font-weight: 400;
    align-items: flex-start;
    font-size: 20px;
    margin-top: 0px;
    padding: 20px 0px 0px;
    
}
.page__item__full p {
  font-family: 'BL MELODY';
    font-weight: 100;
    margin: 0;
    max-width: 700px;
    font-size: 14px;
    border-bottom: 1px solid #000;
    padding: 0 0 30px;
}

.page__item img {
  max-height: 800px;
  width: auto
}

.page__item__full img {
  max-width: 100%;
}
/* ---------- Chrome, Edge, Safari ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  padding-bottom: 20px;
}

::-webkit-scrollbar-track {
   margin: 20px 0; /* 👈 top & bottom margin (moves it closer or further) */
  background: transparent;
  
}

::-webkit-scrollbar-thumb {
  background: #ffffff;  /* thumb color */
  border-radius: 4px;
  border: 1px solid #000;
}

::-webkit-scrollbar-thumb:hover {
  background: #000000;     /* hover color */
  opacity: 0;
  transition: opacity 0.4s ease-in-out, visibility 0.3s ease;;  
}

/* ---------- Firefox ---------- */
@-moz-document url-prefix() {
  html {
    scrollbar-width: thin;
    scrollbar-color: #0000ff #ffffff; /* thumb | track */
  }
}

#lightbox-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85); /* Dim background */
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox-modal.show {
  opacity: 1;
  visibility: visible;
}

#lightbox-modal img {
   width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px #000;
  border: 2px solid #fff;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

#lightbox-modal.show img {
  max-height: 800px;
  transform: scale(1);
}

.lightbox-content {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start; /* 👈 align caption to left of image/video */
}


#lightbox-close {
  position: fixed; /* makes it relative to the viewport, not the modal */
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  z-index: 1002; /* make sure it sits above modal and overlay */
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 1001;
  user-select: none;
  transition: background 0.3s;
}

#lightbox-caption {
  margin-top: 8px; /* space between image/video and caption */
  color: #fff;
  font-size: 14px;
  font-family: 'BL Melody', sans-serif;
  opacity: 0.85;
  text-align: left; /* 👈 ensure text aligns left */
}

#lightbox-prev {
  left: 10px;
}

#lightbox-next {
  right: 10px;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.6);
}

#lightbox-img, #lightbox-video {
  opacity: 0;
  transition: opacity 0.4s ease;
}

#lightbox-img.show, #lightbox-video.show {
  opacity: 1;
}

#lightbox-img {
  transition: opacity 0.4s ease-in-out;
  opacity: 0;
}

#lightbox-img.show {
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
}

img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 960px) {
  
    .navbar_container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5 ease;
        height: 50vh;
        z-index: -1;
    }

    .navbar__menu.active {
        background: #f1f1f1;
        border: 1px solid #000;
        top: 100%;
        opacity: 1;
        transition: all 0.5 ease;
        z-index: 99;
        height: 50vh;
        font-weight: 1.6 rem;
    }

    #navbar_logo {
        padding-right: 220px;
    }

    .navbar__logo-img {
        padding-left: 20px;
    }

    .logo_text {
        font-size: clamp(14px, 2vw, 20px); /* min: 14px, preferred: 2% of width, max: 20px */
        white-space: nowrap; /* keeps text in one line */
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #000;
    }

    .navbar__item {
        height: 100%;
        width: 100%;
    }

    .navbar_links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%)
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}