/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    color: #111;
    background-color: #f5f5f5;
  }

  html {
    scroll-behavior: smooth;
  }
  
 /* NAVBAR */
header {
    background-color: #f5f5f5;
    padding: 15px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid #ddd;
  }
  
  .navbar ul {
    list-style: none;
    display: flex;
    justify-content: center; /* 🔹 agora centralizado */
    gap: 30px;
  }
  
  .navbar a {
    text-decoration: none;
    font-size: 1rem;
    color: #555;
    font-weight: 500;
    transition: 0.3s;
  }
  
  .navbar a:hover {
    color: #d3a877;
  }
  
  
  /* 🔹 HERO */
  .hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    align-items: center;
    padding-top: 0px; /* espaço pro menu fixo */
  }
  
  .hero-text {
    padding: 60px;
  }
  
  .hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
  }
  
  .subtitle {
    margin: 25px 0;
    font-size: 1rem;
    color: #333;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 22px;
    border: 2px solid #000;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    margin-top: 15px;
    transition: 0.3s;
  }
  
  .btn:hover {
    background-color: #000;
    color: #fff;
  }
  
  .hero-img img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }
  
  /* PORTFÓLIO */
.portfolio {
    padding: 80px 40px;
    text-align: center;
  }
  
  .portfolio h2 {
    margin-bottom: 40px;
    font-size: 2rem;
  }
  
  .carousel-container {
    position: relative;
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
  }
  
  .portfolio-item {
    min-width: 33.33%; /* 3 imagens na tela, pode ajustar */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .portfolio-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
  }
  
  .portfolio-item:hover img {
    transform: scale(1.1);
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
  }
  
  .portfolio-item:hover .overlay {
    opacity: 1;
  }
  
  .overlay a {
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
  }
  
  .overlay p {
    font-size: 18px;
    margin: 0;
  }
  
  /* Botões de navegação */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    height: 30px;
    width: 30px;
    font-size: 100%;
    padding: 0rem;
    cursor: pointer;
    z-index: 100;
    border-radius: 100%;
    display: none; /* inicialmente escondido */
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
  
  /* 🔹 CONTATO */
  .contato {
    padding: 80px 40px;
    text-align: center;
  }
  
  .contato a {
    color: #555;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid #555;
  }
  
  .contato a:hover {
    color: #d3a877;
    border-bottom: 1px solid transparent;
  }

  .social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .social-icons a {
    font-size: 2rem;
    color: #555;
    transition: 0.3s;
  }
  
  .social-icons a:hover {
    color: #d3a877;
  }
  
  
  /* 🔹 RESPONSIVO */
  @media (max-width: 900px) {
    .hero {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .hero-text {
      padding: 40px 20px;
    }
  
    .hero-text h1 {
      font-size: 2.5rem;
    }
  
    .hero-img img {
      height: auto;
      max-height: 60vh;
      object-fit: contain;
    }
  
    .navbar ul {
      justify-content: center;
    }
  }
  
  @media (max-width: 500px) {
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .btn {
      padding: 10px 18px;
      font-size: 0.9rem;
    }
  }
  
  /*///////////////////////////////////// Pagina Detalhe ///////////////////////////////////////////*/

  .imagens-categoria {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
  }
  
  .foto-item {
    flex: 0 1 250px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .foto-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .foto-item:hover {
    transform: scale(1.05);
  }
  
  .voltar-btn {
    display: inline-block;
    margin: 5px;
    padding: 15px 30px; /* ajustei o padding para ficar proporcional */
    margin-top: 30px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border: 2px solid #333; /* borda com a cor do texto */
    border-radius: 8px; /* borda arredondada */
    transition: background 0.3s, color 0.3s;
  }
  
  .voltar-btn:hover {
    background: #333; /* fundo igual a cor da borda */
    color: #fff;      /* texto branco ao passar o mouse */
  }
  
  
  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
  }
  
  .lightbox-img {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
    border-radius: 10px;
  }
  
  .lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
  }
  
  .lightbox button.prev,
  .lightbox button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    font-size: 40px;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .lightbox button.prev { left: 20px; }
  .lightbox button.next { right: 20px; }
  
  .lightbox button:hover {
    background: rgba(255,255,255,0.5);
  }
  