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

.logo img {
  height: 3em;
  width: auto;
}

.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;
}

/* HERO - BLACK HOLE */
.blackhole-hero {
  background-image: url('../imagens/blk.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  overflow: hidden;
}

.blackhole-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 70px;
}

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

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

/* INFO SECTION */
.info-section {
  width: 100%;
  background-color: #f9f9f9;
  padding: 60px 40px;
  color: #111;
}

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

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

.info-content ul {
  margin-top: 10px;
  padding-left: 20px;
}

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

.info-section ul {
  list-style: none;
  padding: 0;
}

.info-section li::before {
  margin-right: 8px;
}

/*GALLERY GRID*/
.gallery-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 20px;
  background-color: #f9f9f9;
}

.gallery-grid img {
  width: 270px;
  height: 270px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 20px rgb(0, 0, 0);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: translateY(-10px);
}

/* VIDEO SWITCH */
.video-switch {
  position: absolute;
  top: 80px;
  right: 20px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: Arial, sans-serif;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 0 8px rgba(0, 191, 255, 0.5);
}

.video-switch input {
  height: 0;
  width: 0;
  visibility: hidden;
}

.video-switch label {
  cursor: pointer;
  text-indent: -9999px;
  width: 40px;
  height: 20px;
  background: #555;
  display: block;
  border-radius: 100px;
  position: relative;
}

.video-switch label:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

.video-switch input:checked + label {
  background: #00bfff;
}

.video-switch input:checked + label:after {
  left: calc(100% - 2px);
  transform: translateX(-100%);
}

/*VIDEO OVERLAY */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 1000;
}

.video-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* 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;
}


/*RESPONSIVE*/
@media (max-width: 1200px) {
  .hero-text {
    padding: 50px;
    max-width: 700px;
  }

  .hero-text h1 {
    font-size: 3.5em;
  }

  .hero-text p {
    font-size: 1.3em;
  }

  .gallery-grid {
    gap: 40px;
  }

  .gallery-grid img {
    width: 220px;
    height: 220px;
  }
}
@media (max-width: 992px) {
  .hero-text {
    padding: 40px;
    max-width: 600px;
  }

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

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

  .info-section {
    padding: 50px 30px;
  }

  .gallery-grid {
    gap: 30px;
    flex-wrap: wrap;
  }

  .gallery-grid img {
    width: 200px;
    height: 200px;
  }
}
@media (max-width: 768px) {
  .hero-text {
    padding: 30px;
    max-width: 90%;
  }

  .hero-text h1 {
    font-size: 2.5em;
  }

  .hero-text p {
    font-size: 1.1em;
  }

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

  .gallery-grid {
    gap: 20px;
    justify-content: center;
  }

  .gallery-grid img {
    width: 160px;
    height: 160px;
  }

  .video-switch {
    top: 80px;
    right: 10px;
    padding: 5px 10px;
  }


/* Telas muito pequenas */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2em;
  }

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

  .gallery-grid img {
    width: 140px;
    height: 140px;
  }

  .nav-link {
    font-size: 1em;
    padding: 2px 6px;
  }

  .video-switch {
    top: 80px;
    right: 5px;
    gap: 4px;
  }

}
}

@media (max-width: 768px) {
  #bgVideo {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;      
    height: auto;   
    transform: translate(-50%, -50%);
    object-fit: cover; 
    z-index: -1;
  }
}

@media (max-width: 480px) {
  #bgVideo {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
  }
}
