/* =============================
   RESET E ESTILOS GERAIS
   ============================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #eef2f3, #d9e2ec);
  background-attachment: fixed;
  color: #333;
}

header {
  text-align: center;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  font-size: 1.6rem;
  font-weight: 600;
  padding: 20px 10px;
}

main h2 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 600;
  color: #264b63;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  padding: 12px 16px;
  letter-spacing: 0.2px;
}



/* =============================
   GALERIA (ANTES DO LIGHTBOX)
   ============================= */

.galeria {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  background-color: rgba(255, 255, 255, 0.55);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.galeria a {
  display: block;
  overflow: hidden;
  border-radius: inherit;
}

.galeria img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  filter: grayscale(50%);
}

.galeria a:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
}



/* ============================================================
   CSS PERSONALIZADO PARA O SIMPLELIGHTBOX  ★ ★ ★
   ============================================================ */

/* Destaque no contador ao trocar de imagem */
.sl-counter.flash {
  animation: flashCounter 0.35s ease;
}

@keyframes flashCounter {
  0%   { transform: scale(1);   color: #fff; }
  50%  { transform: scale(1.25); color: #4ea3ff; }
  100% { transform: scale(1);   color: #fff; }
}

/* Fundo escurecido + blur */
.sl-overlay {
  background: rgba(0, 0, 0, 0.788) !important;
  backdrop-filter: blur(4px);
}

/* Área da imagem dentro do Lightbox */
.sl-image {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Legenda */
.sl-caption {
  font-size: 1rem;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  text-align: center;
  backdrop-filter: blur(2px);
}

/* Cor dos ícones (fechar, contador, navegação) */
.sl-counter,
.sl-close,
.sl-navigation button {
  color: #fff !important;
  font-weight: bold !important;
}

/* Botão / link de download */
.sl-download a {
  font-size: 0.9rem !important;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  display: inline-block;
}

.sl-download a:hover {
  transform: scale(1.05);
}
