*{
    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;

}

.gallery {
    width: 100%;
    padding: 0px 0;
    display: flex;
    justify-content: center;
}

.gallery__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-auto-rows: 400px; /* Set consistent row height */
  gap: 15px;
  width: 90%;
  max-width: 1500px;
  margin: 30px auto;
 
}

.image__gallery {
  grid-row: span 1;
  grid-column: span 1;
  overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.image__gallery.landscape {
  height: auto;
  grid-column: span 2;
  position: relative;
  display: inline-block;
}

.image__gallery.portrait {
  height: auto;
    grid-row: span 2;
}

.image__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: smooth;
  transition: transform 0.3s ease-in-out;
}

.image__gallery img:hover {
  transform: scale(1.02);
}

.image__gallery:hover {
  transform: scale(1.02);
}

.image__gallery video {
    width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: smooth;
  transition: transform 0.3s ease-in-out;
}

/* ---------- 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 */
  }
}

.footer {
    background: transparent;
    border: 1px solid #000000;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    position: sticky;
    margin: 100px 0 0 0px;
    z-index: 999;
}

.footer_container {
    padding: 100px 0 200px 0;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer__links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.footer__link--wrapper {
    display:flex;
}

.gallery__image {
    height: 100%;
}

.gallery__image5 img {
    height: 100%;
}
.footer_link--items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 16px;
    text-align: left;
    width: 160px;
    box-sizing: border-box;
}

    
.floating-tooltip {
  position: fixed;
  background: rgba(0, 0, 255, 0.9); /* Blue tooltip */
  color: #fff;
  padding: 3px 6px;
  padding-right: 15px;
  font-size: 12px;
  font-family: 'Helvetica Pixelated', monospace;
  border: 1px solid #000;
  pointer-events: none;
  display: none;
  z-index: 9999;
  white-space: nowrap;
}

.tooltip-line1 {
  font-family: 'Helvetica Pixelated', monospace;
  font-style: italic;
  font-size: 14px;
}

.tooltip-line2 {
  color: #aaa;
  font-family: 'Helvetica Pixelated', monospace;
  font-style: italic;
  font-size: 10px;
}


@media screen and (max-width: 1060px) { 
    .navbar_container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        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: 0px;
        width: 1px
    }

    .navbar__logo-img {
        padding-left: 20px;
    }

    .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;
    }

    .gallery {
    width: 100%;
    padding: 0px 0;
    display: flex;
    justify-content: center;
    }

    .gallery__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    width: 90%;
    max-width: 600px;
    }

    .image__gallery {
      height: 100%;
    display: block;
    justify-content: center;
    align-items: center;
    }

    .image__gallery.landscape {
      height: 100%;
    display: block;
    justify-content: center;
    align-items: center;
    }

    .image__gallery.portrait {
      width: 100%;
      grid-row: span 1;
      display: block;
      justify-content: center;
      align-items: center;
    }

    .image__gallery.portrait img {
      max-height: 70vh; /* Or adjust to taste like 60vh, 80vh */
      width: 100%;
      height: 100%;
      object-fit: cover;
    }


    .image__gallery img {
    
    height: 100%;
    max-width: 100%;
    border: 1px solid #ccc;
    transition: transform 0.3s ease-in-out;
    
    }

    #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);
    }
}