/* Reset e estilos globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Cabeçalho e Navegação */
header {
  background-color: #000;
  padding: 20px 0;
  border-bottom: 1px solid #FFD700;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 300px;
  height: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  font-weight: 700;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #FFD700;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #FFD700;
}

/* Seção Hero */
.hero {
  background: url('https://via.placeholder.com/1200x600') no-repeat center/cover;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero h2 {
  position: relative;
  font-size: 3rem;
  color: #FFD700;
  text-align: center;
  z-index: 1;
}

/* Carrossel de Imagens - 3 em 3 fotos */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
}

.carousel-groups {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-group {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
}

.carousel-slide {
  flex: 0 0 33.3333%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
  color: #FFD700;
  font-size: 1rem;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.carousel-nav button {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #FFD700;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-nav button:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Seção Sobre */
.about {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.about-photo {
  margin: 20px auto;
}

.about-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #FFD700;
}

/* Seção Galeria */
.gallery {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.gallery-grid {
  display: grid;
  /* cada card ficará no mínimo com 200px de largura e crescerá até preencher a linha */
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 20px;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: translateY(-5px);
}

/* Responsividade da Galeria */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    display: none;
  }
  nav ul.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  padding-top: 60px;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
}

/* Botão Flutuante do WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.whatsapp-button svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
