@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root{
    --ColorPalet1: #e74519;
    --ColorPalet2: #e74519;
    --BlackCOlor: #797878;
    --footer: #1b1b1b;
    --FontDefault: 'Montserrat Alternates';
}

html{
    background-color: var(--footer);
    scroll-behavior: smooth;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


 /* --------- SCROLL BAR --------- */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--ColorPalet2);
  border-radius: 2px;
}

::-webkit-scrollbar-track {
  background-color:var(--BlackCOlor);
}

body{
    font-family: 'Montserrat Alternates', sans-serif;
    margin: 0 auto;
}

header{
    z-index: 99;
    position: relative;
}



 /* --------- NAV CONTENT --------- */
/* Fonte para o menu */
/* Estilo Geral */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

.header-container {
    background: linear-gradient(-35deg, #413e3e, #ccc9c9);
    color: #fff;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.imgHeader {
    height: 60px;
}

.nav__Menu {
    display: flex;
    align-items: center;
}

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

.navUlDestk {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navUlDestk > li {
    position: relative;
    margin: 0 15px;
}

.navUlDestk a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-shadow: 0px 8px 8px rgba(0, 0, 0, 0.4);
}

.navUlDestk a:hover {
    background-color: #444;
    border-radius: 5px;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #444;
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    z-index: 100;
}

.submenu li {
    padding: 0;
    margin: 0;
}

.submenu a {
    display: block;
    color: #fff;
    font-size: 14px;
    padding: 10px 15px;
    white-space: nowrap;
}

.submenu a:hover {
    background-color: #555;
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

@media (max-width: 768px) {
    .navUlDestk {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        border-radius: 5px;
        overflow: hidden;
    }

    .navUlDestk.active {
        display: flex;
    }

    .submenu {
        position: relative;
        top: 0;
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Seções */

section {
  width: 100%;
  padding: 60px 20px;
  overflow-x: hidden;
}

section h1 span{
  position: relative;
  color: var(--ColorPalet1);
  animation: up 2s ease forwards;
  animation-delay: 1s;
  animation-play-state: paused;  
  animation-fill-mode: both; 
}

section:nth-child(odd) {
  background: linear-gradient(50deg, #413e3e, #ccc9c9);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--BlackColor);
}

.s-projects {
  position: relative;
  padding: 50px 0;
  background-color: #fff;
  height: 580px; 
}

.s-projects__title {
  text-align: center;
  margin-bottom: 30px;
}

.s-projects .s-projects__title h1 {
  font-family: var(--FontDefault);
  font-weight: 700;
  font-size: clamp(0.8em, 1em + 1.5vw, 3em); /* Diminuído em comparação ao original */
  animation: down 2s ease forwards;
  animation-fill-mode: both; 
  text-shadow: 0px 8px 8px rgba(0, 0, 0, 0.4);
}
 
  .s-projects__contents {
    width: 100%;
  }
  
  .s-projects__contents > h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
  }
  
  .swiper-container {
    width: 100%;
    height: 400px;
  }
  
  .swiper-wrapper {
    display: flex;
    align-items: center;
    

  }
  
  .swiper-slide {
    position: relative;
    overflow: hidden;
  }
  
  .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .swiper-slide.swiper-slide-active img {
    transform: scale(1.2);
    opacity: 1;
  }
  
   
  .slide-content {
    position: flex;
    width: 100%;
    max-width: 700px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(235, 69, 4, 0.459);
  }

  .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: white;
    text-align: left;
    border-radius: 0 0 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .swiper-slide.swiper-slide-active .slide-overlay {
    opacity: 1;
  }
  
/* Ajuste para telas menores */
/* Ajuste para telas menores */
@media (max-width: 480px) {
  .swiper-slide {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* Ajusta a altura automaticamente */
  }

  .s-projects {    
    height: 400px;/* Ajusta a altura automaticamente */
  }


  .swiper-slide img {
    width: 100%; /* Garante que a imagem ocupe toda a largura */
    height: auto; /* Mantém a proporção original */
    object-fit: contain; /* Evita cortes na imagem */
    max-height: 60vh; /* Define um limite para a altura (ajuste conforme necessário) */
  }
}


  
  /* Botões de navegação */
  .swiper-button-next, .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
  }
  
  .swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .swiper-button-next::after, .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
  }
  
  /* Posição dos botões */
  .swiper-button-next {
    right: 10px;
  }
  
  .swiper-button-prev {
    left: 10px;
  }
  

  
  /* Estilizar os indicadores (bolinhas) */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff; /* Cor padrão */
    opacity: 0.6; /* Transparência inicial */
    border-radius: 50%; /* Deixa redondo */
    margin: 0 5px; /* Espaçamento entre bolinhas */
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  /* Quando o slide está ativo */
  .swiper-pagination-bullet-active {
    background: #ff6600; /* Cor da bolinha ativa */
    transform: scale(1.2); /* Aumenta a bolinha ativa */
  }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px;
}

.portfolio-grid img,
.portfolio-grid video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, filter 0.3s ease;
}



footer{
    display: relative;
    padding: 0;
    margin: 0;
    background-color: var(--footer);
  }
  .container-footer{
    height: 50px;
    
  }
  .info-footer{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .info-footer p{
    font-size: 12px;
    font-weight: 600;
    color: #5e5d5d;
  }
  
  .info-footer a{
    font-size: 12px;
    font-weight: 600;
    color: #e74519;
  }
  
  .info-footer a:hover {
    color: #b93412; /* Cor ao passar o mouse */
  }
  
  /* Responsividade para telas menores */
  @media (max-width: 600px) {
    .info-footer p,
    .info-footer a {
      font-size: 12px; /* Ajusta o tamanho da fonte para dispositivos móveis */
    }
    
    .container-footer {
      padding: 15px 10px; /* Adiciona um pouco mais de espaçamento em dispositivos móveis */
    }
  }
  
/* Estilo Geral */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../uploads/images/fundo.png');
    background-size: cover; /* Preenche todo o container */
    width: 100%;
    color: #333;
}


/* Container do Portfólio */
.portfolio-container {
    background: #fc947a; /* Fundo branco */
    background-image: url('../uploads/images/casapronta2.jpg'); /* Imagem de fundo */
    background-size: cover; /* Preencher o container */
    background-position: center; /* Centralizar a imagem */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}


/* Header */
header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.5rem;
    color: #fa6f2e;
    text-transform: uppercase;
    font-weight: bold;
}

/* Seção do Portfólio */
.portfolio-section {
  padding: 60px 20px; /* Aumentei o padding */
  background-color: #fff;
  margin-bottom: 60px; /* Espaçamento entre seções */
  border-radius: 15px; /* Bordas arredondadas */
  box-shadow: 0 4px 20px rgba(182, 59, 3, 0.808); /* Sombra suave */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito de elevação ao passar o mouse */
.portfolio-section:hover {
  transform: translateY(-10px); /* Move um pouco para cima */
  box-shadow: 0 10px 30px rgba(182, 59, 3, 1); /* Aumenta a sombra */
}

.portfolio-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
  border-left: 5px solid #eb7344;
  padding-left: 10px;
  text-transform: uppercase;
  font-weight: bold;
  text-shadow: 0px 8px 8px rgba(0, 0, 0, 0.4);
}

/* Galeria com Scroll Lateral */  
.portfolio-item.visible {
  opacity: 1;
  transform: translateX(0);
}


.portfolio-gallery {
  display: grid;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  padding: 20px;
  overflow: hidden;
}

.portfolio-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(117, 38, 1, 0.616);
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 1s ease, transform 1s ease;
}

.portfolio-item:nth-child(1) { transition-delay: 0s; }
.portfolio-item:nth-child(2) { transition-delay: 0.2s; }
.portfolio-item:nth-child(3) { transition-delay: 0.4s; }

.portfolio-item:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.portfolio-item img, .portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img, .portfolio-item:hover video {
  transform: scale(1.1);
}



.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.navUlDestk a {
  transition: color 0.3s ease;
}

.navUlDestk a:hover {
  color: var(--ColorPalet1);
}

@media (max-width: 768px) {
  .portfolio-gallery {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .featured-video video {
      height: 200px;
  }

  .video-thumbnails .video-thumb {
      width: 100px;
      height: 75px;
  }
}

/* Botões de Rolagem */
.scroll-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.scroll-button {
    border: none;
    background-color: #eb5732;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.scroll-button:hover {
    background-color: #ec6833;
}



.portfolio-section:nth-child(even) {
    background-color: rgba(0, 0, 0, 0);
    padding: 30px;
    border-radius: 10px;
}

.portfolio-section:nth-child(odd) {
    background: linear-gradient(-35deg, #aca9a9, #7a7575);
    padding: 30px;
    border-radius: 10px;
}

.see-more {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7); /* Fundo semi-transparente */
  color: white;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .see-more {
  opacity: 1; /* Mostra "Veja mais" ao passar o mouse */
}
/* Estilo da seção de vídeos 
.video-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}*/

/* Vídeo em destaque */
.video-gallery {
  width: 100%;
  max-height: 600px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
 
}

.featured-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
 
}

.featured-video h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
  border-left: 5px solid #eb7344;
  padding-left: 10px;
  text-transform: uppercase;
  font-weight: bold;
  text-shadow: 0px 8px 8px rgba(0, 0, 0, 0.4);
}

.featured-video video {
    width: 60%;
    max-height: 300px;
    margin-bottom: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
}

.video-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.video-thumbnails .video-thumb {
    width: 150px;
    height: 100px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.video-thumbnails .video-thumb:hover {
    transform: scale(1.1);
}


@media (max-width: 768px) {
  .featured-video video {
      max-width: 100%;
  }

  .thumbnail {
      width: 120px;
  }

  .thumbnail p {
      font-size: 0.8rem;
  }
}

  /* <--------------- CONTATO --------------------> */
  .s-contact {
    height: 200px; /* Mantém altura fixa para telas maiores */
    width: 100%;
    background: linear-gradient(145deg, #615e5e, #8d7c77);
    color: #fff;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center; /* Alinha os itens verticalmente */
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
}

.s-contact__wrapper {
    height: 200px;
    max-width: 1200px;
    width: 90%;
    display: flex;
    justify-content: space-between; /* Garante espaçamento adequado entre os elementos */
    align-items: center;
    gap: 10px;
}

.s-contact__info {
    padding: 30px;
    margin-right: 80px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item img {
    width: 25px;
    height: 25px;
}

.social-icons {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.s-contact__image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden; /* Evita que algo saia da área da imagem */
}

.s-contact__image img {
    margin-left: 60px;
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain; /* Garante que a imagem não distorça */
}

.orange-text {
    color: rgb(248, 67, 35); /* Define a cor laranja */
}

/* Responsividade */
@media (max-width: 768px) {
    .s-contact {
        height: auto; /* Permite altura dinâmica em dispositivos menores */
        padding: 20px 0;
        flex-wrap: wrap; /* Permite quebra de linha */
    }

    .s-contact__wrapper {
        flex-direction: column; /* Alinha os elementos verticalmente */
        height: auto; /* Altura dinâmica */
        gap: 20px; /* Espaçamento maior entre elementos */
    }

    .s-contact__info {
        margin-right: 0; /* Remove margem lateral */
        text-align: center; /* Centraliza o texto */
    }

    h2 {
        font-size: 1.5rem; /* Ajusta o tamanho do título */
    }

    .contact-item {
        justify-content: center; /* Centraliza os itens */
        gap: 10px; /* Reduz o espaçamento entre ícones e texto */
    }

    .social-icons {
        gap: 20px; /* Ajusta o espaçamento entre ícones */
    }

    .s-contact__image {
        margin-top: 20px;
    }

    .s-contact__image img {
        max-width: 150px; /* Ajusta o tamanho da imagem */
        margin-left: 0; /* Remove deslocamento lateral */
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.2rem; /* Reduz ainda mais o tamanho do título */
    }

    .social-icons img {
        width: 25px; /* Ajusta o tamanho dos ícones */
        height: 25px;
    }

    .s-contact__image img {
        max-width: 120px; /* Reduz o tamanho da imagem para telas pequenas */
    }
}
