/* style.css */


/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #e6e6e6;
  color: #eee;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #293133;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader-logo {
  width: 100px;
  animation: fadeInOut 1.8s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}
img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: #eee;
  font-weight: 400;
  transition: 0.3s;
}

/* Header */
.main-header {
  width: 100%;
  padding: 3rem 4rem;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  left: 0;
  z-index: 1000;
}



.logo-fade img {
  height: 60px;
  width: auto;
  transition: opacity 0.6s ease-in-out, transform 0.4s ease;
  opacity: 1;
}

.logo-fade img.fade-out {
  opacity: 0;
}

.logo-fade img.scale-up {
  transform: scale(1.5);
}

.logo-fade img.fade-out {
  opacity: 0;
}

.header-center {
  flex: 1;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #293133;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4.5rem;
  align-items: center;
}

.main-nav a {
  font-size: 1.3rem;
  text-transform: uppercase;
}

.main-nav a.active,
.main-nav a:hover {
  color: #f87e19;
  font-weight: 700;
}

.lang-selector {
  display: flex;
  gap: 0.5rem;
}

.lang-selector .lang {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #eee;
  font-weight: 400;
}

.lang-selector .lang.active {
  color: #f87e19;
  font-weight: 700;
}

/*HOME*/
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    z-index: -1;
    opacity: 1;
}

.sound-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: none;
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.3s;
}

.sound-toggle:hover {
    background: none;
}


/* ABOUT */
.about-section{
    display: flex;
    width: 100%;
    height: 90vh;
    align-items: center;
}
.about-content {
    margin-left: 7%;
    width: 60%;
}

.about-content h1 {
    font-size: 42px;
    font-weight: 100;/*  */
    margin-bottom: 55px;
}


.about-content p {
  margin: 15px 0;
  text-align: start;
  font-size: 18px;
}

.title {
  font-size: 42px !important;
}
.wrapper {
    margin: 0;
    padding: 0;
    background-image: url(../img/about.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

.wrapper-1 {
    margin: 0;
    padding: 0;
    background-image: url(../img/roadmap.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

.wrapper-2 {
    margin: 0;
    padding: 0;
    background-image: url(../img/media.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

.wrapper-3 {
    margin: 0;
    padding: 0;
    background-image: url(../img/videos.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

/*** MEDIA SECTION **/

.media-section {
    display: flex;
    align-items: center;
    height: 62vh;
    width: 100%;
}


.media-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9rem;
    align-self: center;
    width: 100%;
    margin-top: 260px;
    margin-left: 75px;
}

.media-content a {
  font-size: 3rem; 
  color: white;
}

.media-content a:hover {
  font-size: 3rem; 
  color: #f87e19;
}
/* Videos Section */


.videos-section {
    display: flex;
    width: 80%;
    margin-left: 3%;
    gap: 15rem;
    min-height: 80vh;
    align-items: start;
}

.sidebar {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: baseline;
    margin-top: 18%;
}

    .sidebar button {
      padding: 0.6rem;
      font-size: 1rem;
      border: none;
      background: none;
      cursor: pointer;
      text-align: left;
      font-weight: 600;
      color: #eee;
      transition: color 0.3s;
    }
    .sidebar button.active,
    .sidebar button:hover {
      color: #f87e19;
    }
.gallery {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4.2rem;
    margin-top: 110px;
}

.video-card {
    background: none;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
    width: 420px;
    height: 258px;
}
    .video-card:hover {
      transform: scale(1.02);
    }
.video-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 6px;
}

.button-top {
  margin-bottom: 60px;
}
    /* Modal */
    .modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      display: none;
    }
    .modal-content {
      background: #000;
      padding: 1rem;
      border-radius: 10px;
      position: relative;
      max-width: 90%;
      max-height: 80vh;
    }
    .modal-content iframe {
      width: 560px;
      height: 315px;
      max-width: 100%;
    }
    .modal-close {
      position: absolute;
      top: 10px;
      right: 10px;
      background: transparent;
      color: white;
      font-size: 1.5rem;
      border: none;
      cursor: pointer;
    }

.toggle-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: auto;
}

#logoText {
  display: none;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.roadmap-container {
    padding-top: 10%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10rem;
    max-width: 1600px;
    margin: 0 auto;
}
    .phase {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }
.phase-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 5px 10px 0 10px;
}
.phase-title {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
}
/*     .phase-title::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 100%;
      transform: translateY(-50%);
      width: 40px;
      height: 1px;
      background: repeating-linear-gradient(to right, #fff, #fff 5px, transparent 5px, transparent 10px);
    }
    .phase:last-child .phase-title::after {
      display: none;
    } */

    .align {
      align-self: center;
      gap: 0.5rem !important;
    }

.box {
  position: relative;
  color: transparent;
  border: 1px solid white;
}

.box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
}

.drops {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
    .drops li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 20px;
}
    .drops li.active {
      opacity: 1;
      color: #f87e19;
      font-weight: bold;
    }
    .drops img {
      width: 32px;
    }
    .phase-desc {
      margin-top: 1rem;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 1rem;
    }
    .phase-desc img {
      width: 20px;
    }
    .phase-desc-text {
      text-align: left;
    }
    .phase-desc-text strong {
      display: block;
      font-size: 1rem;
    }
    .phase-desc-text small {
      font-size: 0.85rem;
      color: #eee;
    }

    .roadmap-new {
        display: none;
    }

    .hamburger {
        display: none;
    }

.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  cursor: pointer;
}

.link-display {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  /*background: rgba(0, 0, 0, 0.9);*/
  color: #f87e19;
  padding: 6px 10px;
  margin-left: 50px;
  border-radius: 4px;
  font-size: 2.4rem;
  font-family: monospace;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
  z-index: 10;
}

    /* ========== MOBILE MENU (RESPONSIVE) ========== */
@media (max-width: 768px) {
  .main-header {
    background: #293133;
    justify-content: space-between;
    padding: 1rem;
    position: relative;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #1f282a;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .main-nav ul li {
    font-size: 2rem;
    font-weight: 300;
  }

  .main-nav ul li.lang-selector {
    margin-top: 3rem;
    font-size: 1.5rem;
  }

  .hamburger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
  }

  .hamburger span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #e6e6e6;
    border-radius: 3px;
    transition: 0.3s;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 8px; }
  .hamburger span:nth-child(3) { top: 16px; }

  .wrapper-2 {
    overflow-x: hidden;
    width: 100%;
  }

  .videos-section {
    width: 100%;
    margin-left: 0;
    gap: 2rem;
    min-height: auto;
    align-items: center;

}

.gallery {
    /* flex: 1; */
    display: grid;
    grid-template-columns: auto;
    gap: 3rem;
    margin-top: 50px;
}

.videos-section {
    flex-direction: column;
}

.logo {
  margin-top: 6px;
  margin-left: 7%;
}

.logo-fade img.scale-up {
  transform: scale(1.2);
}

.logo-fade img {
  height: 50px;

}

.video-card {
    width: 100%;
    height: 100%;
}

.sidebar {
    flex-direction: row;
    margin-top: 20px;
    margin-left: 6%;
    width: 100%;
}

.button-top {
    margin-bottom: 0;
    position: relative;
}

.about-section {
    width: 100%;
    height: unset; 
    align-items: unset; 
}

.about-content {
    margin-left: unset;
    width: auto;
    /* align-self: center; */
    padding: 10px 25px;
}


.about-content h1 {
    font-size: 28px;
    font-weight: 900;
}

.about-content p {
    font-size: 16px;
}


.roadmap-container {
  display: none;
}

    .roadmap-new {
        display: flex;
        flex-direction: column;
        height: 88vh;
        overflow: hidden;
    }

.slider-wrapper {
  flex: 1;
  overflow: hidden;
}

.slider {
  display: flex;
  flex-direction: column;
  height: 300vh; /* 3 slides */
  transition: transform 0.5s ease-in-out;
}

.slide {
  height: 100vh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slider-controls {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: rgba(0,0,0,0.6);
}

.slider-controls button {
  background: none;
  border: none;
  font-size: 2rem;
  color: #f87e19;
  cursor: pointer;
}
.media-content {

    align-items: center;
    margin-left: 0;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

}