@import url("https://fonts.googleapis.com/css2?family=Euphoria+Script&display=swap");
@import url("https://fonts.cdnfonts.com/css/better-saturday");
@font-face {
  font-family: "Moot"; /* or any name you want */
  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"; /* or any name you want */
  src: url("assets/EgyptianSlateLight.TTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Romie"; /* or any name you want */
  src: url("assets/romie-regular.otf") format("opentype");
  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;
}


/* main.css */
:root {
  --color-accent: rgb(230, 170, 40);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "EgyptianSlate";
  overflow-y: auto; /* allow vertical scroll */
  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: 12px;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5em 2em;
  display: flex;
  align-items: center;
  z-index: 999;
}

.dropdown {
  position: relative;
}

.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;
  /* background: black; */

  z-index: 99999;
}

/* footer p.center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
} */

#watchBtn {
  position: relative; /* instead of absolute */
  background: none;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 1rem;
  padding: 0.5em 1em;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 9999999;
  left: -10%;
}

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-family: "Zaslia";
  font-feature-settings: "liga" 1, "kern" 1;
  font-size: 2rem;
  z-index: 9999999;
  font-weight: bolder;
  letter-spacing: 0.2em;
}

.container {
  width: 100%;
  height: 5000vh;
}

.active-slide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  opacity: 0.35;
  z-index: -1;
}

.active-slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.125);
  filter: blur(50px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.active-slide img.active {
  z-index: 1;
}

.slider {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  transform-style: preserve-3d;
  perspective: 750px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 400px;
  height: 500px;
  overflow: hidden;
}

.slide-copy p {
  text-transform: uppercase;
  text-align: center;
  font-family: "PP Monument Extended";
  font-size: 1.5rem;
  font-weight: bolder;
  line-height: 150%;
  color: var(--color-accent);
}

.slide-copy p#index {
  /* font-family: "Romie","Basis Grotesque Pro"; */
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.75em;
}

/* initial positions */
#slide-1 {
  transform: translate(-50%, -50%) translateZ(-37500px);
  opacity: 0;
  top: 50%;
  left: 70%;
}
#slide-2 {
  transform: translate(-50%, -50%) translateZ(-35000px);
  opacity: 0;
  top: 50%;
  left: 30%;
}
#slide-3 {
  transform: translate(-50%, -50%) translateZ(-32500px);
  opacity: 0;
  top: 50%;
  left: 70%;
}
#slide-4 {
  transform: translate(-50%, -50%) translateZ(-30000px);
  opacity: 0;
  top: 50%;
  left: 30%;
}
#slide-5 {
  transform: translate(-50%, -50%) translateZ(-27500px);
  opacity: 0;
  top: 50%;
  left: 70%;
}
#slide-6 {
  transform: translate(-50%, -50%) translateZ(-25000px);
  opacity: 0;
  top: 50%;
  left: 30%;
}
#slide-7 {
  transform: translate(-50%, -50%) translateZ(-22500px);
  opacity: 0;
  top: 50%;
  left: 70%;
}
#slide-8 {
  transform: translate(-50%, -50%) translateZ(-20000px);
  opacity: 0;
  top: 50%;
  left: 30%;
}
#slide-9 {
  transform: translate(-50%, -50%) translateZ(-17500px);
  opacity: 0;
  top: 50%;
  left: 70%;
}
#slide-10 {
  transform: translate(-50%, -50%) translateZ(-15000px);
  opacity: 0;
  top: 50%;
  left: 30%;
}
#slide-11 {
  transform: translate(-50%, -50%) translateZ(-12500px);
  opacity: 0;
  top: 50%;
  left: 70%;
}
#slide-12 {
  transform: translate(-50%, -50%) translateZ(-10000px);
  opacity: 0;
  top: 50%;
  left: 30%;
}
#slide-13 {
  transform: translate(-50%, -50%) translateZ(-7500px);
  opacity: 0;
  top: 50%;
  left: 70%;
}
#slide-14 {
  transform: translate(-50%, -50%) translateZ(-5000px);
  opacity: 0;
  top: 50%;
  left: 30%;
}
#slide-15 {
  transform: translate(-50%, -50%) translateZ(-2500px);
  opacity: 0.5;
  top: 50%;
  left: 70%;
}
#slide-16 {
  transform: translate(-50%, -50%) translateZ(0px);
  opacity: 1;
  top: 50%;
  left: 30%;
}

/*--------------------------------------------------
  TAGLINE SECTION
--------------------------------------------------*/
.tagline {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000; /* same as body for smooth cover */
  overflow: hidden;
}
.tagline img {
  width: auto;
  height: 50%;
}

.animate-scale {
  font-family: "Better Saturday", sans-serif;
  transform: scale(0.5);
  opacity: 0;
  padding: 0 1rem;
  color: var(--color-accent);
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: bold;
  letter-spacing: 0.2em;
  text-align: center;
  line-height: 1.8;
  animation: scaleIn 0.9s ease-out forwards;
  margin-bottom: 100px;
}

@keyframes scaleIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.dontgit {
  display: flex;
  z-index: 9999999999;
  width: 100vw;
  height: auto;
}

.dontgit video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-overlay {
  position: fixed;
  top: 10%;
  left: 15%;
  width: 100vw;
  height: 100vh;
  /* background-color: rgba(0, 0, 0, 0.7); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
}

.popup-content {
  position: relative;
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); */
}

.popup-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}

.close-btn {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ff4d4d;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* ============= Responsive adjustments ============= */

@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;
  }

  .panel {
    width: 250px;
    height: 60%;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5em;
  }

  footer p {
    font-size: 1rem;
  }

  #watchBtn {
    left: 0;
  }

  .logo a {
    font-size: 1.6rem;
  }

  img{
    width: 80%;
    height: 80%;
  }

  .popup-overlay {
  top: 30%;
  left: 5%;
  right: 5%;
}
}

@media (max-width: 480px) {
  .gallery-container {
    height: 80vh;
    padding: 0 10px;
  }

  .panel {
    width: 80%;
    height: 50%;
  }

  .panel.blurred {
    opacity: 0.1;
    filter: blur(4px);
    z-index: 1;
  }

  .logo a {
    font-size: 1.4rem;
  }

  nav {
    padding: 1em;
  }

  .nav-button {
    font-size: 1.5rem;
    padding: 0.3rem 0.8rem;
  }
}

/* Ensure text never gets too small */
a,
p,
h5 {
  font-size: clamp(0.7rem, 2vw, 1rem);
}

/* dropwown content css */

@media (max-width: 768px) {
  .dropdown-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    display: none; /* default hidden */
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 5em;
    /* padding-left: 2em; */
    animation: curtainDropMobile 1s ease-out forwards;
    transform: translateY(-100vh);
    opacity: 0;
    z-index: 9999;
  }

  .dropdown:hover .dropdown-content {
    display: flex;
  }

  .dropdown-content a {
    font-size: 2.5rem;
    margin-bottom: 1em;
    text-align: left;
  }

  @keyframes curtainDropMobile {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}
