* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;

}
body {
    background-color:#000000;
    color: #F2F2F2;
    font-family: 'Titillium Web';

}

h1, h2, h3 {
    text-transform: uppercase;
}
a {
    text-decoration: none;
    color: white;
}
a:focus,
.cta:focus,
.scroll-btn:focus,
.carousel-btn:focus {
    outline: 2px solid gold;
    outline-offset: 4px;
}
.cta {
    background-color: rgb(68, 249, 68);
    max-width: 360px;
    font-size: 25px;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    transition: 0.5s ease-in-out;
    font-weight: 600;
    box-shadow: 1px 1px 8px white;
    animation: pulse 2s infinite;
}
.cta:hover {
    transform: scale(1.1);
    background-color: rgb(17, 188, 17);
    
}
main {
    max-width: 1150px;
    margin: 0 auto;
}
header {
    display: flex;
    flex-direction: column;
    
}
.logo img {
  width: 250px;
  filter: drop-shadow(0 0 10px gold) drop-shadow(0 0 20px #000);
}
.logo:focus {
  display: none;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  border-bottom: 3px solid rgba(255, 217, 0, 0.34);
  position: relative;
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  transition: transform 0.3s ease-in-out;
  
  
}

.menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.menu a {
  font-size: 25px;
  transition: 0.5s ease-in-out;
  text-decoration: none;
  color: white;
}

.menu a:hover {
  letter-spacing: 2px;
  color: gold;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
  display: block;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.close-menu {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  padding: 10px;
  cursor: pointer;
  align-self: flex-end;
  margin-right: 20px;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    
  }
  
 nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  transition: transform 0.3s ease-in-out;
  height: 100px; /* Altura do seu cabeçalho */
  
 }
 .hero {
  padding-top: 120px 5%;
  margin-top: 20px;
 }
  .menu {
    flex-direction: column;
    background: #111;
    position: fixed;
    top: 0;
    right: -100%;
    width: 190px;
    height: 100vh;
    padding: 10px 0;
    text-align: right;
    gap: 2rem;
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    position: absolute;
  }
  .menu a {
    width: 100%;
    padding: 10px 10%;
  }
  .menu a:hover{
    background-color: gold;
    color: #fff;
   
  }
  .menu.show {
    right: 0;
  }

  .overlay.show {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  .close-menu {
    display: flex;
    width: 100%;
    position: relative;
    padding-left: 40px;
    
  }
  
}


.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background-image: linear-gradient(to bottom, rgba(6, 18, 30, 0.1), #000), url(./assets/serralheiro-hero.webp);
    background-position: 100%;
    background-size: cover;
    height: 75vh;
    z-index: 0;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0; /* shorthand para top: 0; right: 0; bottom: 0; left: 0; */
    background: rgba(0, 0, 0, 0.5); /* sombra escura com opacidade */
    z-index: -1; /* atrás do conteúdo */
}
.hero-text h1 {
    font-size: 38px;
    animation: fadeDown 1s ease-out forwards;
}
.hero-text h1 span {
    color: gold;
}

.hero-text {
    max-width: 1150px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.hero-text p {
    font-size: 25px;
    animation: fadeUp 1s ease-out forwards;
}

/*FIM SESSÃO HERO - INICIO SESSÃO SOBRE*/

.sobre {
    display: flex;
    
}
.sobre-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 50px;
    margin-bottom: 50px;
    flex: 1;
}
.sobre-text h2 {
    font-size: 38px;
}
.sobre-text h2 span {
    color: gold;
}
.sobre-text p {
    font-size: 23px;
}
.sobre ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 22px;
}
.sobre-text strong {
    color: gold;
    font-size: 28px;
}
.sobre-img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 30px;
    
    
}
.sobre-img img::before {
    content: '';
    position: absolute;
    inset: 0; /* shorthand para top: 0; right: 0; bottom: 0; left: 0; */
    background: rgba(0, 0, 0, 0.5); /* sombra escura com opacidade */
    z-index: -1; /* atrás do conteúdo */
}
.sobre-img img {
    width: 400px;
    border-radius: 10px;
    z-index: 0;
    position: relative;
    box-shadow: 1px 1px 8px gold;
    animation: fadeDown 2.5s ease-out forwards;

}
.sobre-text ul li:nth-child(1) {
  animation: fadeLeft 1s ease-out forwards;
}
.sobre-text ul li:nth-child(2) {
  animation: fadeLeft 1.5s ease-out forwards;
}
.sobre-text ul li:nth-child(3) {
  animation: fadeLeft 2s ease-out forwards;
}

/*FIM SESSÃO SOBRE - INICIO SESSÃO SERVIÇOS*/

.services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 1150px;
   

}
.service-text h2 {
    font-size: 38px;
}
.service-text h2 span {
    color: gold;
}
.service-text p {
    font-size: 20px;
}
.service-services {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 2rem;
    justify-content: center;
    width: 1150px;
   
    
}
.service-services li {
  width: 550px;
  border: 1px solid rgba(255, 217, 0, 0.34);
  padding: 15px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeDown 0.8s ease-out forwards;
}

/* Delays para cada item */
.service-services li:nth-child(1) {
  animation-delay: 0.5s;
}

.service-services li:nth-child(2) {
  animation-delay: 0.8s;
}

.service-services li:nth-child(3) {
  animation-delay: 1s;
}

.service-services li:nth-child(4) {
  animation-delay: 1.4s;
}
.service-services li:nth-child(5) {
  animation-delay: 0.5s;
}
.service-services li h3 {
    font-size: 27px;
}
.service-services li img {
    width: 200px;
    border-radius: 10px;
    transition: transform 0.6s ease; /* suavidade no zoom */
}
.service-services li img:hover {
    transform: scale(1.05);
}
.service-services p {
    font-size: 20px;
}

.services a.cta {
   margin: 50px auto;
   width: 100%;
   max-width: 600px;
}
.services #strong {
    font-size: 28px;
    text-align: center;
    margin: 0 auto;
    
}

/*FIM SESSÃO SERVIÇOS - INICIO SESSÃO FOTOS*/

.photo-gallery {
  background: #111;
  color: #fff;
  padding: 40px 20px;
  border-radius: 10px;
  
}
.gallery-title {
  font-size: 2rem;
  margin-bottom: 20px;
}
.gallery-title span {
    color: gold;
}
.gallery-slider {
  position: relative;
  overflow: hidden;
  
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.gallery-item {
    flex: 0 0 auto;
    margin-right: 16px;
    width: 250px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease; /* suavidade no zoom */
  }
  
  .gallery-item:hover img {
    transform: scale(1.2); /* aumenta só a imagem */
  }

  .gallery-item {
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
  
  .gallery-item.active {
    transform: scale(1.15);
    z-index: 2;
  }
  
  .gallery-item:not(.active) {
    opacity: 0.6;
    transform: scale(0.9);
  }
  

  #ctaphoto {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px auto;
    width: 100%;
    max-width: 600px;
  }
  
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  z-index: 1;
}
.scroll-btn.left {
  left: 0;
}
.scroll-btn.right {
  right: 0;
}
/*FIM SESSÃO FOTOS - INICIO SESSÃO COMENTARIOS*/

.testimonials-carousel {
    padding: 60px 20px;
    
    color: #fff;
    max-width: 1150px;
    margin: auto;
    text-align: center;
  }
  
  .testimonials-carousel h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .carousel-container {
    position: relative;
    overflow: hidden;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: max-content;
  }
  
  .carousel-item {
    min-width: 350px;
    max-width: 350px;
    margin: 0 10px;
    padding: 20px;
    background: #1c1c1c;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
    text-align: left;
    
  }
  
  .carousel-item p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 20px;
  }
  
  .author {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  
  .author div span {
    color: #f8d03f;
    font-size: 1rem;
  }
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    transition: background 0.3s;
  }
  
  .carousel-btn:hover {
    background: #555;
  }
  
  .carousel-btn.left {
    left: -10px;
  }
  
  .carousel-btn.right {
    right: -10px;
  }
  
  @media (max-width: 768px) {
    .carousel-item {
      min-width: 90%;
      max-width: 90%;
      width: 100%;
    }
  }
    

/*FIM SESSÃO COMENTARIOS - INICIO SESSÃO CONTATO*/

.contato {
    display: flex;
    margin-top: 50px;
    margin-bottom: 50px;
    align-items: center;
    justify-content: center;
}
.contatos {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    font-size: 28px;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
}
.contatos a {
    font-size: 25px;
    transition: 0.5s ease-in-out;
    border-radius: 10px;
    padding: 15px;
    width: 300px;
}
.contatos a:hover {
    letter-spacing: 2px;
    color: gold;
    animation: pulse 2s infinite;
    
}
.contatos a:nth-child(3) {
  background-color: #128c7e;
}
.contatos a:nth-child(4) {
  background-color: #C13584;
}
.contatos a:nth-child(5){
  background-color: #3b5998;
}
.contatos p {
    font-size: 20px;
}
.local {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 75px;
    font-size: 28px;
    flex: 1;
}
.local iframe {
    margin-top: 10px;
}
.local h2 {
    font-size: 32px;
}
.local p {
    font-size: 20px;
    
}
/*FIM SESSÃO CONTATOS - INICIO SESSÃO FAQ*/

.faq-section {
    padding: 60px 20px;
    background: #111;
    color: #fff;
    max-width: 900px;
    margin: auto;
    border-radius: 10px;
  }
  .faq-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
  }
  .faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .faq-item {
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
  }
  .faq-question {
    width: 100%;
    padding: 18px 20px;
    background: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background 0.3s;
  }
  .faq-question:hover {
    background: #222;
  }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #222;
    padding: 0 20px;
    color: #ccc;
    font-size: 0.95rem;
    transition: max-height 0.4s ease, padding 0.4s;
  }
  .faq-item.active .faq-answer {
    max-height: 300px;
    padding: 16px 20px;
  }

/*FIM DA SESSÃO FAQ E INICIO DA FOOTER*/

footer {
    border-top: 1px solid rgba(255, 217, 0, 0.34);
   font-size: 27px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}
main,
.services,
.service-services, .local p{
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
}




/*INICIO DA RESPONSIVIDADE*/

@media screen and (max-width: 1020px) {
  .gallery-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden; /* remove a vertical */
    scroll-behavior: smooth;
  
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE e Edge */
  }
  
  .gallery-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari e Opera */
  }
  
 
 .hero {
    background-position: 50%;
    padding: 10px 5%;
    height: 100vh;
    z-index: 0;
    position: relative;
 }


 .sobre {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px  5%;
 }
 .sobre-img {
    justify-content: center;
    align-items: center;
    display: flex;
    text-align: center;
    padding: 10px  5%;
 }
 
 .sobre-img img{
    width: 320px;
    margin-top: -30px;
    

 }

 .services {
    display: flex;
    flex-direction: column;
    max-width: 1020px;
    padding: 10px 5%;
 }
 .service-text {
    display: block;
    width: 100%;
 }
 .service-services {
    display: flex;
    
    flex-wrap: wrap;
 }
 .service-services li {
    max-width: 400px;
    flex-direction: column;
    align-items: center;
 }

 .contato {
    flex-direction: column;
    padding: 10px 5%;
    align-items: center;
    justify-content: center;
 }
 .local iframe {
   width: 100%;
 }
 .carousel-item {
  min-width: 350px;
  max-width: 350px;
  
  width: 100%;
  margin: 0 10px;
  padding: 20px;
  background: #1c1c1c;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
  text-align: left;
  
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 10px 5%;
}

}

/*Key Frames*/

@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
