body {
  opacity: 0;
  animation: fadeInBody 0.5s ease forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
  }
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  background-image: url('../assets/img/marmore.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  color: #111;
}

/* Aplica sombra só na home */
body.sombra {
  background-image: url('../assets/img/sombra.png');
}

/* TOPO */
.topo {
  background-image: url('../assets/img/marmore.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  text-align: center;
}

.topo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  letter-spacing: 10px;
  color: #111;
}

/* SEÇÃO DE BOAS-VINDAS */
.sombra-fundo {
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background-color: rgba(30, 30, 30, 0.9);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
  color: white;
  animation: fadeIn 1.2s ease-in-out forwards;
}

.card h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.card p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.card button {
  padding: 10px 20px;
  background-color: #888;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.card button:hover {
  background-color: #aaa;
}

/* Animação */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WHATSAPP */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 55px;
  height: 55px;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 28px;
  height: 28px;
}

/* TOPO UNQ */
.topo-unq {
  background-image: url('../assets/img/marmore.jpg');
  background-size: cover;
  background-position: center;
  padding: 30px 20px;
  text-align: center;
}

.topo-unq h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  letter-spacing: 10px;
  margin-bottom: 10px;
}

/* MENU */
.menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.menu a::after {
  content: '';
  width: 100%;
  height: 2px;
  background-color: #ccc;
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 0.4;
}

.menu a.active::after {
  background-color: #111;
  opacity: 1;
}

/* GALERIA */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

.galeria img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.galeria img:hover {
  transform: scale(1.02);
}

/* Transição suave entre páginas */
body.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.sobre-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-texto {
  flex: 1 1 500px;
  max-width: 600px;
  font-family: 'Raleway', sans-serif;
}

.sobre-texto h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.sobre-texto p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #222;
}

.sobre-foto img {
  width: 280px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* RESPONSIVIDADE GERAL */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }

  .topo-unq h1,
  .topo h1 {
    font-size: 2rem;
    letter-spacing: 6px;
  }

  .sobre-container {
    flex-direction: column;
    text-align: center;
  }

  .sobre-foto img {
    width: 200px;
  }

  .galeria {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    padding: 30px 15px;
  }

  .card {
    padding: 25px;
  }
}
/* AJUSTE PARA TABLET */
@media (min-width: 768px) and (max-width: 1024px) {
  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
    max-width: 90%;
    margin: 20px auto 0;
    row-gap: 10px;
  }

  .menu a {
  border-radius: 6px;
  transition: background 0.3s;
}

.menu a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

  .topo-unq h1,
  .topo h1 {
    font-size: 2.2rem;
    letter-spacing: 7px;
  }
}