/* ESTILO GERAL */
body {
  background-color: black;
  color: rgb(18, 18, 18);
  font-family: 'Segoe UI', sans-serif;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* LOGO E NAVEGAÇÃO */
.logo-home {
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 3em;
  max-width: 100%;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.3em;
  font-family: monospace;
}

.nav-link:hover {
  background-color: #00ffff;
  color: black;
}

/*CONTEÚDO PRINCIPAL*/
.content-page {
  padding-top: 100px;
  max-width: 1200px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-section {
  background-image: url('../imagens/ga.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
}

.hero-overlay {
  background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
  width: 100%;
  height: 100%;
  padding-left: 5%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.hero-content h1 {
  font-size: 4em;
  font-family: 'Zen Dots', sans-serif;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.4em;
  line-height: 1.6;
  color: #ccc;
  font-family: monospace;
}

/* SEÇÕES DE TEXTO */
.info-sections {
  width: 100%;
  background-color: #f9f9f9;
  padding: 60px 40px;
  color: #111;
}

.info-sections section {
  margin-bottom: 50px;
  border-top: 1px solid #b5b2b2;
  padding-top: 40px;
}

.info-sections section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.info-sections h2 {
  font-family: 'Zen Dots', sans-serif;
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #000;
}

.info-sections p,
.info-sections ul {
  font-family: monospace;
  font-size: 1.4em;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

.info-sections ul {
  padding-left: 20px;
}

.info-sections li {
  margin-bottom: 10px;
}

/*EFEITOS COM JS*/
.fade-expand {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-expand.visible {
  opacity: 1;
  transform: translateY(0);
}

/* GALAXY RANDOM */
.galaxy-random-section {
  padding: 60px 20px;
  background: radial-gradient(circle, rgba(20,20,40,0.9), black);
  text-align: center;
  color: white;
}

.galaxy-random-section h2 {
  font-family: 'Zen Dots', sans-serif;
  font-size: 2em;
  margin-bottom: 30px;
  color: #bfa3ff;
  text-shadow: 0 0 10px #6e00ff;
}

#discoverBtn {
  background: linear-gradient(45deg, #6e00ff, #bfa3ff);
  border: none;
  padding: 15px 30px;
  color: white;
  font-size: 1.1em;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 15px #6e00ff;
  transition: transform 0.3s;
}

#discoverBtn:hover {
  transform: scale(1.05);
}

.galaxy-display {
  margin-top: 40px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(111, 0, 255, 0.4);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.galaxy-display img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.galaxy-display h3 {
  font-family: 'Zen Dots', sans-serif;
  font-size: 1.5em;
  color: #fff;
  margin-bottom: 15px;
}

.galaxy-display p {
  font-size: 1.2em;
  color: #ccc;
  line-height: 1.6;
  font-family: monospace;
}

.hidden {
  display: none;
}

#galaxyImage {
  width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: #9149ef;
  margin-top: 15px;
}

/*FOOTER */
.site-footer {
  background-color: #000;
  color: white;
  padding: 25px;
  text-align: center;
  font-size: 1em;
}
.site-footer .logo img {
  height: 3.5em;
  width: auto;
}

/* GALAXY PAGE*/

/* Celulares pequenos*/
@media (max-width: 480px) {
  .hero-section {
    height: 70vh;
    justify-content: center;
    text-align: center;
  }

  .hero-overlay {
   width: 100%;
   padding-left: 5%;
   padding-right: 5%;
   display: flex;
   justify-content: center;
   align-items: center;
  }

  .hero-content h1 {
    font-size: 2.2em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .galaxy-display {
    max-width: 100%;
    padding: 20px;
  }

  #galaxyImage {
    width: 100%;
    height: auto;
  }

  #discoverBtn {
    padding: 12px 20px;
    font-size: 1em;
  }

  .galaxy-random-section h2 {
    font-size: 1.5em;
  }

  .info-sections {
    padding: 40px 20px;
  }

  .info-sections h2 {
    font-size: 1.5em;
  }

  .info-sections p,
  .info-sections ul {
    font-size: 1.1em;
  }
}

/* Celulares médios*/
@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
    justify-content: center;
    text-align: center;
  }

  .hero-content h1 {
    text-align: center;
    font-size: 3em;
  }

  .hero-content p {
    font-size: 1.2em;
  }

  #galaxyImage {
    width: 100%;
    height: auto;
  }

  #discoverBtn {
    padding: 14px 25px;
    font-size: 1.05em;
  }

  .galaxy-random-section h2 {
    font-size: 1.8em;
  }
}

/* Ajustes gerais para telas verticais*/
@media (orientation: portrait) {
  .hero-section {
    justify-content: center;
    align-items: center;
  }

  .hero-content {
    max-width: 90%;
  }
}
