/* Import Chakra Petch font */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;700&display=swap');

/* Global Styles & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 300vh;
  overflow-x: hidden;
  background: #000;
  font-family: 'Chakra Petch', sans-serif;
  transition: background 0.5s ease;
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-text {
  font-size: 50px;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: transparent;
  -webkit-text-stroke: 1px #eee;
  position: relative;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
}

.loader-text::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  font-size: inherit;
  letter-spacing: inherit;
  color: #0ff;
  -webkit-text-stroke: 1px #0ff;
  text-shadow: 0 0 10px #0ff;
  width: 0;
  overflow: hidden;
  border-right: 3px solid #0ff;
  animation: text-fill 4s linear forwards;
}

@keyframes text-fill {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Video Background */
.video-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, border-radius 0.5s ease-in-out;
  border-radius: 0px;
}

.shrinked-video {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Overlay Image */
.overlay-img {
  position: fixed;
  bottom: 0;
  left: 50%;
  width: 75vw;
  transform: translateX(-50%) scale(1);
  z-index: 1;
}



/* Video Navigation Buttons */
.video-buttons {
  position: fixed;
  top: 50%;
  left: 50%;
  display: flex;
  gap: 20px;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.video-btn {
  width: 150px;
  height: 40px;
  border: 1.4px solid white;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  font-family: 'Chakra Petch', sans-serif;
  color: white;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  position: relative;
  opacity: 0;
  pointer-events: none;
}

.buttons-visible .video-btn {
  opacity: 1;
  pointer-events: auto;
}

.video-btn:hover {
  box-shadow: 0 0 15px cyan;
  border-color: cyan;
  color: cyan;
}
@media (max-aspect-ratio: 1/1) { /* Portrait mode adjustments */
  
  /* Increase PNG size */
  .overlay-img {
    width: 180vw;
  }

  /* Resize loader text */
  .loader-text {
    font-size: 6vw; /* Scales with viewport width */
  }

  /* Resize buttons */
  .video-btn {
    width: 100px;  /* Slightly larger in portrait mode */
    height: 30px;
    font-size: 16px;
  }

  /* Resize button container */
  .video-buttons {
    gap: 5px; /* Reduce gap between buttons */
  }
}    

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

      .jb-core {
        max-width: 900px;
        margin: 0 auto;
        padding: 2rem;
      }
    </style>

    <!-- JB THEME -->
    <style>
      :root {
        --jb-accent: #00ffff;
        --jb-text: #ffffff;
        --jb-sub: #bbbbbb;
      }

      body {
        font-family: "Chakra Petch", sans-serif;
        color: var(--jb-text);
        background: #000;
      }


      .nav-links a {
        color: var(--jb-text);
        font-weight: 600;
        transition: color 0.2s;
      }
      .nav-links a:hover {
        color: var(--jb-accent);
      }

      /* SECTION HEADINGS */
      .jb-intro h2 {
        font-size: 2.1rem;
        color: var(--jb-accent);
        text-transform: uppercase;
        text-align: center;
        margin: 0 0 2rem;
      }

      /* CONTACT BLOCK */
      .jb-contact-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        margin-top: 2rem;
      }

      .jb-contact-item {
        text-align: center;
      }

      .jb-contact-header {
        font-size: 0.9rem;
        color: var(--jb-sub);
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 0.5rem;
      }

      .jb-contact-link {
        font-size: 1.2rem;
        color: var(--jb-accent);
        text-decoration: none;
        transition: color 0.2s;
      }
      .jb-contact-link:hover {
        color: #ffffff;
      }
