*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0;
    font-family: 'BL MELODY', light;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 1000;
  transform: translateY(0); /* start fully visible */
  transition: transform 0.3s ease-in-out;
}

#loader.loaded {
  transform: translateY(100%); /* swipe down off screen */
}

#loader.exit {
  transform: translateY(0); /* swipe up onto screen */
}

.navbar {
    background: #fff;
    border: 1px solid #000000;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    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 50px;
}

#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: 20px;
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 60px;
    width: 100px;
}

.navbar__links {
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #000000;
    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: flex-start;
}

.main__container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin: 0px 7.5vw 0px 1vw;
  max-width: 100vw;
  padding: 2vw;
  flex-wrap: nowrap; /* <== important: keep children in a row */
}

.main__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    align-items: flex-start; /* ⬅️ previously centered the text weirdly */
    margin-top: 30px; /* 👈 Add this line */
    gap: 10px; /* ⬅️ optional: spacing between h1, p, and button */
}

.main__content h1 { 
    font-family: 'BL MELODY';
    font-size: 16px;
    font-weight: normal;
    padding: 0;
}

.main__content p {
    font-family: 'BL MELODY', light;
    margin: 0;
    max-width: 1200px;
    font-size: 14px;
    margin-top: 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: 30vw;
    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;
  width: calc(100% + 2vw); /* ⬅️ ensures content doesn't get cut off */
}

.carousel-track {
  display: flex;
  gap: 15px;
  padding: 10px 20px;
}

.carousel-item {
  flex: 0 0 auto;
  width: auto;
  max-height: 400px;
  overflow: hidden;
  background-color: #f8f8f8;
}

.carousel-item img {
  width: auto;
  height: 400px;
  object-fit: cover;
  display: block;
}

.carousel-item video {
  width: auto;
  height: 400px;
  object-fit: cover;
  display: block;
}

.carousel {
  overflow-x: auto;
  scrollbar-width: thin; /* for Firefox */
  scrollbar-color: #0000ff #eee; /* for Firefox: thumb, track */
}

.carousel::-webkit-scrollbar {
  height: 8px;
}

.carousel::-webkit-scrollbar-track {
  background: #eee;
}

.carousel::-webkit-scrollbar-thumb {
  background: #0000ff;
  border-radius: 4px;
}

.carousel::-webkit-scrollbar-thumb:hover {
  background: #0000ff;
}

#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 {
  transform: scale(1);
}

#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;
}

.right-column {
  flex: 1 1 48%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.left-column {
  flex: 1 1 48%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.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-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: 0px;
        width: 1px
    }

    .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);
    }
}