/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CORES */
:root {
  --bg: #0a0a0a;
  --text: #e4e4e7;
  --muted: #9ca3af;
}

/* BASE */
body {
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
.header {
  background: url("imagens/jpg/cenario.webp") center/cover no-repeat;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* LOGO */
.logo img {
  height: 120px;
}

/* MENU */
.menu a {
  position: relative;
  z-index: 11;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 130px;
  height: 42px;

  background-image: url("imagens/png/botao-menu.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
}
/* GALERIA */
.gallery-section {
  padding: 4rem 2rem;
  text-align: center;
}

.gallery-section h2 {
  margin-bottom: 2rem;
}

/* GRID */
.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ITEM */
.gallery-item img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

/* HOVER GERAL DA GALERIA */
.gallery-item img {
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .gallery-item:hover img {
    transform: scale(1.05);
  }
}
.gallery-item h3 {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* GIF HOVER */
.gif-container {
  position: relative;
}

.gif-container img {
  width: 100%;
  display: block;
}

.gif-container .animated {
  position: absolute;
  inset: 0;
  opacity: 0;
}

@media (hover: hover) {
  .gif-container:hover .static {
    opacity: 0;
  }
  .gif-container:hover .animated {
    opacity: 1;
  }
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 64px;
  }
}
footer {
  margin-top: 5rem;
  padding: 3rem 2rem;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(10, 10, 10, 0.95)
  );

  border-top: 1px solid rgba(0, 255, 209, 0.25);

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;

  font-size: 0.9rem;
}

/* texto */
footer span {
  color: var(--muted);
}

/* links */
footer nav {
  display: flex;
  gap: 1.2rem;
}

footer nav a {
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition: color 0.3s ease;
}

/* efeito neon no hover */
footer nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--neon);
  transition: width 0.3s ease;
}

footer nav a:hover {
  color: var(--neon);
}

footer nav a:hover::after {
  width: 100%;
}