/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 20/08/2025, 11:58:13
    Author     : Adriano
*/

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #333;
}

.galeria-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.foto-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.foto-card:hover {
    transform: translateY(-5px);
}

.foto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.descricao-card {
    padding: 15px;
}

.descricao-card h3 {
    margin: 0 0 10px;
    color: #555;
}

.descricao-card p {
    margin: 0;
    color: #777;
    font-size: 0.9em;
}
/* Estilos para a página de detalhes */
.galeria-detalhes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.galeria-detalhes img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer; /* Adiciona o cursor de mão para indicar que é clicável */
}

/* Estilos do Modal (janela de ampliação) */
.modal {
  display: none; /* Escondido por padrão */
  position: fixed; /* Fica na mesma posição ao rolar a página */
  z-index: 1; /* Fica em cima de tudo */
  padding-top: 60px; /* Distância do topo da tela */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Permite rolar se a imagem for grande */
  background-color: rgba(0,0,0,0.9); /* Fundo preto semi-transparente */
}

/* Conteúdo do Modal (a imagem ampliada) */
.modal-conteudo {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Botão de fechar */
.fechar {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.fechar:hover,
.fechar:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* ... estilos para .galeria-detalhes e .modal já existentes ... */

/* Estilos dos botões de navegação */
.anterior, .proxima {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.proxima {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.anterior:hover, .proxima:hover {
  background-color: rgba(0,0,0,0.8);
}