@font-face {
  font-family: "Moot";
  src: url("assets/Mootjunglefreeversion-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-feature-settings: "kern" 1, "ss01" 1, "salt" 1, "aalt" 1, "dlig" 1, "ss02" 1, "sups" 1;
}

@font-face {
  font-family: "EgyptianSlate";
  src: url("assets/EgyptianSlateLight.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Zaslia"; /* or any name you want */
  src: url("assets/Zaslia.otf") format("Opentype");
  font-weight: normal;
  font-style: normal;
  font-feature-settings: "kern" 1, "liga" 1;
}
:root {
  --color-accent: rgb(230, 170, 40);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "EgyptianSlate";
  overflow-y: auto;
  background: #000;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a,
p,
h5 {
  color: var(--color-accent);
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(0.7rem, 2vw, 1rem);
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5em 2em;
  display: flex;
  align-items: center;
  z-index: 999;
}

.dropdown {
  position: relative;
}

/* Universal fix: dropdown does not block clicks when hidden */
.dropdown-content {
  pointer-events: none;
  visibility: hidden;
}

.dropdown:hover .dropdown-content {
  pointer-events: auto;
  visibility: visible;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 10;
  width: 100vw;
  animation: curtainDrop 1s ease-out forwards;
  transform: translateY(-100vh);
  opacity: 0;
}

@keyframes curtainDrop {
  to {
    transform: translateY(0);
    border-bottom: 2px solid #d17900;
    opacity: 1;
  }
}

.dropdown-content a {
  display: block;
  padding: 8px 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-size: 4rem;
  color: #d17900;
  text-decoration: none;
  transition: background 4s ease-in;
  font-weight: bold;
}

.dropdown-content a:hover {
  background-color: #ffffff00;
}

.dropdown:hover .dropdown-content {
  display: block;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 1.5em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 1rem;
}

.scroll-indicator {
  display: flex;
  gap: 1vw;
  align-items: center;
}

.scroll-indicator-sym {
  height: 5vh;
}

nav > div {
  flex: 1;
}

.links-1,
.links-2 {
  display: flex;
  gap: 2em;
}

.links-2 {
  justify-content: flex-end;
}

.logo {
  display: flex;
  justify-content: center;
}

.logo a {
  font-size: 2rem;
  font-family: "Zaslia";
  font-feature-settings: "liga" 1, "kern" 1;
  z-index: 9999999;
  font-weight: bolder;
  letter-spacing: 0.2em;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7rem;
  margin-top: 100px;
  margin-bottom: 100px;
  overflow-x: hidden; /* no sideways scroll */
  overflow-y: visible; /* allow dropdown / slides to extend */
}

.slide {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  gap: 30px;
  align-items: center;
  height: 70vh;
  width: 65vw;
  opacity: 0;
  transform: translateX(0);
  transition: all 0.5s ease;
}

.slide.animate-left {
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.6s ease;
}

.slide.animate-right {
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.6s ease;
}

.slide.visible {
  transform: translateX(0);
  opacity: 1;
}

.video-section iframe {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 500px;
  height: 280px;
}

.content-section {
  max-width: 400px;
}

.date {
  background-color: #e8f0ff;
  color: #3366cc;
  padding: 8px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
}

.content-section h1 {
  font-size: 24px;
  margin: 10px 0;
  color: #0a0a23;
}

.content-section p {
  color: #555573;
  margin-bottom: 20px;
  font-size: 15px;
}

.btn {
  text-decoration: none;
  background: #b40000;
  color: white;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 10px 20px rgba(180, 0, 0, 0.3);
  transition: background 0.3s;
  display: inline-block;
}

.btn:hover {
  background: #990000;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .container {
    padding-top: 8vh;
  }
  .slide {
    flex-direction: column;
    text-align: center;
    height: min-content;
    z-index: 1;
  }
  .content-section {
    max-width: 100%;
  }
  .video-section iframe,
  .video-section .linked-image {
    width: 100%;
    height: auto;
    z-index: 2;
  }
}


@media (max-width: 1024px) {
  .panel {
    width: 300px;
    height: 40%;
  }
  .dropdown-content a {
    font-size: 3rem;
  }
  .logo a {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1em;
  }
  .links-1,
  .links-2 {
    justify-content: center;
  }
  footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
  }
  .logo a {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.4rem;
  }
  nav {
    padding: 1em;
  }
  .nav-button {
    font-size: 1.5rem;
    padding: 0.3rem 0.8rem;
  }
}

/* Mobile dropdown improved */
@media (max-width: 768px) {
  .dropdown-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 5em;
    animation: curtainDropMobile 1s ease-out forwards;
    transform: translateY(-100vh);
    opacity: 0;
    z-index: 9999999;

    pointer-events: none;
    visibility: hidden;
  }

  .dropdown:hover .dropdown-content {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .dropdown-content a {
    font-size: 2.5rem;
    margin-bottom: 1em;
    text-align: left;
  }

  @keyframes curtainDropMobile {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

.linked-image {
  width: 500px;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.linked-image:hover {
  transform: scale(1.02);
}

