/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  
  body {
    background-color: #fffdf9;
    font-family: 'The Seasons Bold', serif;
    color: #d19144;
    text-align: center;
  }
  
  /* Header */
  .logo {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1.2s ease forwards;
    animation-delay: 0.3s;
  }
  
  @keyframes fadeInDown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 60px;
  }
  
  .nav-left,
  .nav-right {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1.2s ease forwards;
    display: flex;
    justify-content: center;
  }
  .nav-left {
    animation-delay: 0.6s; /* entra depois da logo */
  }
  
  .nav-right {
    animation-delay: 0.8s;
  }
  
  @keyframes fadeInLinks {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .nav-left a,
  .nav-right a {
    position: relative;
    text-decoration: none;
    color: #d19144;
    font-size: 16px;
    letter-spacing: 1px;
    font-family: 'The Seasons Bold', serif;
    transition: color 0.3s ease;
  }
  .nav-left a::after,
.nav-right a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: #D1B89A;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #a3764e; /* tom mais profundo de dourado */
}

.nav-left a:hover::after,
.nav-right a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

  .nav-center {
    display: flex;
    justify-content: center;
  }
  
  .logo img {
    height: 60px;
    width: auto;
    display: block;
  }
  .logo img {
    height: 250px; /* ou o tamanho que ficar bom visualmente */
    width: auto;
  }

  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #d19144;
    font-size: 16px;
    letter-spacing: 1px;
  }
  @media (max-width: 768px) {
    .navbar {
      padding: 20px 20px;
    }
  
    .logo img {
      height: 100px;
    }
  }
  
  @media (max-width: 480px) {
    .navbar {
      padding: 15px 12px;
    }
  
    .logo img {
      height: 80px;
    }
  }
  
  
  /* Introdução */
  .intro h1 {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #d19144;
  }
  
  /* Galeria */
  .galeria {
    margin: 50px 0;
  }
  
  .galeria-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px auto;
    padding: 0 20px;
  }
  
  .galeria-container img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .img-left {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
  }
  
  .img-right {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
  }
  
  .pontos {
    margin-top: 10px;
  }
  
  .dot {
    height: 10px;
    width: 10px;
    background-color: transparent;
    border: 1px solid #d19144;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
  }
  
  .dot.ativo {
    background-color: #d19144;
  }
  
  /* Rodapé */
  footer {
    padding: 50px 0;
    background-color: #fffdf9;
    text-align: center;
  }
  
  .icones {
    display: flex;
    justify-content: center;
    gap: 50px;
    align-items: center;
    margin-top: 20px;
  }
  
  .icon-link svg {
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
  }
  
  .icon-link svg:hover {
    transform: scale(1.2);
    opacity: 0.8;
  }
  .img-wrapper {
    position: relative;
    overflow: hidden;
  }
  
  .img-wrapper img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 0; /* os cantos são controlados por classes */
    transition: opacity 0.3s ease;
  }
  
  /* Efeito de opacidade no hover */
  .img-wrapper:hover img {
    opacity: 0.5;
  }
  
  /* Botão no centro */
  .btn-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d19144;
    color: white;
    border: none;
    padding: 10px 20px;
    font-family: 'The Seasons Bold', serif;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
  }
  
  /* Mostrar botão no hover */
  .img-wrapper:hover .btn-hover {
    opacity: 1;
  }
  .btn-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #d19144;
    color: white;
    border: none;
    padding: 10px 25px;
    font-family: 'The Seasons Bold', serif;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 30px;
    opacity: 0;
    transition: 
      opacity 0.4s ease,
      transform 0.3s ease,
      box-shadow 0.3s ease,
      background-color 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(209, 145, 68, 0.3);
  }
  
  .img-wrapper:hover .btn-hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #d19144; /* tom mais escuro */
    box-shadow: 0 8px 15px rgba(163, 118, 78, 0.6);
  }
  
  /* Efeito de brilho sutil com pseudo-elemento */
  .btn-hover::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 35px;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
  }
  
  .img-wrapper:hover .btn-hover::before {
    opacity: 1;
  }
  p.voltar {
    margin-top: 40px;
    text-align: center;
  
  }
  .voltar-link {
  position: relative;
  text-decoration: none;
  color: #d19144;
  font-size: 16px;
  letter-spacing: 1px;
  font-family: 'The Seasons Bold', serif;
  transition: color 0.3s ease;
  }
  .voltar-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: #D1B89A;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
  }
  .voltar-link:hover {
    color: #a3764e;
  }
  .voltar-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  /* >= 0 até 768px: vira grid e as imagens ocupam 100% */
@media (max-width: 768px) {
  .galeria-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 por linha */
    gap: 12px;
    padding: 0 16px;
  }

  .galeria-container img,
  .img-wrapper img {
    width: 100% !important;
    height: auto !important;        /* deixa a altura fluir */
    aspect-ratio: 3 / 4;            /* opcional: mantém proporção parecida */
    object-fit: cover;
    border-radius: 12px;            /* borda igual para todas */
  }

  /* remove os cantos especiais do desktop */
  .img-left,
  .img-right {
    border-radius: 12px;
  }

  /* desativa hover “fino” no mobile (opcional) */
  .img-wrapper:hover img {
    opacity: 1;
  }
  .img-wrapper:hover .btn-hover {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
  @media (max-width: 768px) {
    .btn-hover {
      opacity: 1 !important;
      transform: translate(-50%, -50%) scale(1);
    }
  
    .img-wrapper:hover img {
      opacity: 1; /* remove o efeito de fade no hover */
    }
  }
  
}

/* < 480px: 1 imagem por linha */
@media (max-width: 480px) {
  .galeria-container {
    grid-template-columns: 1fr;
  }
}
