:root {
  --color-primary: #1E1E1C;
  --color-secondary: #ffd900;
  --color-accent: #FF5252;
  --color-accent-2: #00BCD4;
  --color-accent-3: #8BC34A;

  --color-light: #f8f9fa;
  --color-dark: #343a40;
  --color-bg-dark: #1a1a1a;
}

@font-face {
  font-family: 'RBNo Light';
  src: url('/fonts/RBNo3_1/RBNo3.1-Light.otf');
  font-weight: normal;
}

@font-face {
  font-family: 'RBNo Regular';
  src: url('/fonts/RBNo3_1/RBNo3.1-Regular.otf');
  font-weight: normal;
}

@font-face {
  font-family: 'RBNo Bold';
  src: url('/fonts/RBNo3_1/RBNo3.1-Bold.otf');
  font-weight: bold;
}

@font-face {
  font-family: 'RBNo ExtraBold';
  src: url('/fonts/RBNo3_1/RBNo3.1-Extrabold.otf'); 
  font-weight: bold;
}

@font-face {
  font-family: 'RBNo Black';
  src: url('/fonts/RBNo3_1/RBNo3.1-Black.otf');
  font-weight: bold;
}

@font-face {
  font-family: 'RBNo UltraBold';
  src: url('/fonts/RBNo3_1/RBNo3.1-Ultra.otf');
  font-weight: bold;
}

@keyframes wave-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

* {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Padrão */
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  height: 100%;
}
 
.section-container {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory; /* Faz o scroll "grudar" nas seções */
  position: relative;
  /* Remove a scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE e Edge */
  -webkit-overflow-scrolling: touch; /* Para melhor desempenho em dispositivos iOS */
}
 
.section-container::-webkit-scrollbar {
  display: none;
}
 
.section {
  height: 100vh; /* Altura total da viewport */
  width: 100%; 
  position: relative;
  scroll-snap-align: start; /* Alinha o snap ao início da seção */
  box-sizing: border-box;
  background-color: var(--color-bg-dark); /* Preto metálico */
  transition: all 0.5s ease;
  opacity: 0.8;
  overflow: hidden;
}

.section.section-active {
  opacity: 1; 
} 

/* Botões de navegação */
.nav-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: var(--color-secondary);
}

.nav-btn-prev::before,
.nav-btn-next::before {
  content: '';
  width: 12px;
  height: 12px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  display: block;
}

.nav-btn-prev::before {
  transform: rotate(135deg);
  margin-top: 5px;
}

.nav-btn-next::before {
  transform: rotate(-45deg);
  margin-bottom: 5px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
} 

.section-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* sections */
section {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  border-bottom: 1px solid var(--color-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
 
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Menu de navegação lateral */
.section-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background-color: var(--color-secondary);
  transform: scale(1.3);
}

.nav-dot:hover {
  background-color: var(--color-secondary);
}

@media screen and (max-width: 768px) {
  .section-nav {
    right: 10px;
    
    .nav-dot {
      width: 10px;
      height: 10px;
      margin: 8px 0;
    }
  }
} 

/* sections edit */
#home {
  background: rgba(0, 0, 0, 0.5) url('../img/home_background.png') no-repeat center center;
  background-size: cover;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "content image";
  overflow: hidden;
  
  > #home-container {
    grid-area: content;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2vw;
    max-width: 100%;
    height: 100vh;
    margin-top: 0;
    
    > #home-title {
      color: var(--color-light);
      font-size: min(8rem, 15vw);
      margin: 0 0 0 4vw;
      font-family: 'RBNo Black', sans-serif;
      display: block;
      line-height: 1;
    }

    > #home-subtitle {
      background: linear-gradient(90deg, var(--color-secondary), #ffc337, var(--color-secondary));
      background-size: 300% 100%;
      color: transparent;
      -webkit-background-clip: text;
      background-clip: text;
      font-size: min(4.5rem, 10vw);
      margin: 0 0 0 4vw;
      font-family: 'RBNo ExtraBold', sans-serif;
      display: block;
      line-height: 1;
      animation: wave-animation 1.5s linear infinite;
    }

    > #home-description {
      color: rgb(170, 168, 168);
      width: 100%;
      max-width: 50vw;
      font-size: clamp(0.8rem, 2vw, 1rem);
      margin: 2vh 0 2vh 4.5vw;
      font-family: 'RBNo Light', sans-serif;
      display: block;
      line-height: 1.4;
      border-left: 1px solid var(--color-secondary);
      padding-left: 1vw;
    }
    
    > #invite-button {
      background: linear-gradient(90deg, var(--color-secondary), #ffc337, var(--color-secondary));
      background-size: 300% 100%;
      color: var(--color-light);
      font-size: clamp(1rem, 2vw, 1.2rem);
      margin: 0 0 0 4.5vw;
      font-family: 'RBNo Bold', sans-serif;
      display: inline-block;
      padding: 1vh 3vw;
      border-radius: 5px;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 1px;
      animation: wave-animation 1.5s linear infinite;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      align-self: flex-start;
    }
    
    > #invite-button:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    }
  } 
}

#lab {
  border-top: 3px solid var(--color-accent);
}

#data {
  border-top: 3px solid var(--color-accent-2);
}

#media {
  border-top: 3px solid var(--color-secondary);
}

#wallpapers {
  border-top: 3px solid var(--color-accent-3);
}

#others {
  border-top: 3px solid var(--color-accent);
}

#features {
  border-top: 3px solid var(--color-accent-2);
}

#lab, #data, #media, #wallpapers, #others, #features {
  background: linear-gradient(135deg, var(--color-bg-dark), #1a2a1a);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  width: 100%;
  box-sizing: border-box;
}

#lab h2, #data h2, #media h2, #wallpapers h2, #others h2, #features h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
  animation: fadeInDown 0.8s ease-out;
}

#lab p, #data p, #media p, #wallpapers p, #others p, #features p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e0e0e0;
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 0 15px;
  box-sizing: border-box;
  animation: fadeInUp 0.8s ease-out 0.3s;
  animation-fill-mode: both;
}

/* Media queries para responsividade */
@media screen and (max-width: 1200px) {
  #home > #render {
    transform: scale(1.1);
  }
}

@media screen and (max-width: 992px) {
  #home {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "content"
      "image";
  }
  
  #home > #home-container {
    padding: 5vh 3vw;
    height: 60vh;
  }
  
  #home > #home-container > #home-description {
    max-width: 80vw;
  }
  
  #home > #render {
    height: 40vh;
    transform: scale(1);
    justify-self: center;
  }
}

@media screen and (max-width: 576px) {
  #home > #home-container {
    height: 65vh;
  }
  
  #home > #home-container > #home-title {
    margin-left: 5vw;
  }
  
  #home > #home-container > #home-subtitle {
    margin-left: 5vw;
  }
  
  #home > #home-container > #home-description {
    margin-left: 6vw;
    max-width: 85vw;
  }
  
  #home > #home-container > #invite-button {
    margin-left: 6vw;
    padding: 1.5vh 6vw;
  }
  
  #home > #render {
    height: 35vh;
  }
}