@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: url('../medias/fundo.png') no-repeat center center fixed; /* Adiciona a imagem de fundo */
    background-size: cover;
    color: #333;
	position: relative;
}

body::before {
    content: "";
    position: fixed; /* Usar fixed para garantir que o overlay cubra toda a viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../medias/fundo.png') no-repeat center center fixed; /* Adiciona a imagem de fundo */
    background-size: cover;
    filter: brightness(1); /* Ajusta o brilho da imagem de fundo */
    z-index: -2; /* Mantém o overlay atrás do conteúdo */
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

header {
	position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #8efaab;
    text-align: center;
    overflow: hidden;   
}

header h1 {
    font-size: 4em;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

header p {
    font-size: 1.5em;
    font-family: 'Playfair Display', serif;
}

/* Se a logo e o texto estiverem em divs separadas, você pode querer alinhá-los também */
.header-logo {
    display: flex;
    align-items: center; /* Alinha a logo e o texto verticalmente */
    gap: 10px; /* Espaço entre a logo e o texto */
}
nav {
	position: absolute;
    top: 20px;
    right: 20px;
}

nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-size: 0.8em;
}

nav a:hover {
    text-decoration: underline;
}

.slideshow-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -2;
}

.slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mySlides, .mySlides2, .mySlides3, .mySlides4 {
    display: none;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.container {
    padding-top: 100px;
    max-width: 1200px;
    margin: auto;
}

.container2 {
    padding-top: 40px;
    max-width: 1200px;
    margin: auto;
}

.section {
    margin-bottom: 60px;
    position: relative;
    text-align: center;
    color: white;
    min-height: 400px;
    padding: 20px 0;
}

.full-width-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-top: 20px;
    padding-bottom: 20px;
}

.partial-height-section {
    padding-top: 10vh;
    padding-bottom: 20vh;
}

.full-width-image {
    width: 100%;
    height: auto;
}

.services, .products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.services div, .products div {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    list-style-type: none;
    padding: 0;
    font-size: 0.9em;
    margin: 10px 0;
}

.contact-info li {
    margin-bottom: 5px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.2em;
}

.social-links a:hover {
    text-decoration: underline;
}

.social-links i {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
    filter: invert(1);
}

/* Overlay para escurecer as imagens */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Ajuste para garantir que o texto fique acima do overlay */
.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #e5f50a;
    font-family: 'Playfair Display', serif;
    z-index: 2;
}

/* Ajuste para garantir que as imagens estejam na camada correta */
.mySlides {
    position: relative;
}

/* Ajustes para a seção "products" */
.slideshow-container3 {
    position: relative;
    width: 100%;
    height: 100%;
}

.mySlides3 {
    display: none;
    position: relative;
}

.text-overlay3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffdd00;
    font-family: 'Playfair Display', serif;
    z-index: 2;
}

/* Ajustes para a seção "services" e "products" */
.slideshow-container2 {
    position: relative;
    width: 100%;
    height: 70vh; /* Altura da faixa */
    overflow: hidden;
}

.slideshow-container3 {
    height: auto; /* Altura da faixa */
}

.mySlides2, .mySlides3, .mySlides4 {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
	transition: transform 1s ease-in-out; /* Transição suave */
}

.mySlides2 img, .mySlides3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: center;
}

/* Animação para rolar da esquerda para a direita */
@keyframes slideInOut {
    0% {
        transform: translateX(-100%);
    }
    20% {
        transform: translateX(0);
    }
    80% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

.slide-in-out {
    animation: slideInOut 5s forwards;
}

/* Estilo para a seção "Sobre Nós" */
.about {
    background-color: #f4f4f4;
    color: #333;
    padding: 40px 20px;
    text-align: center;
}
.about-text {
    max-width: 800px;
    margin: auto;
}
.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 20px;
}
.about p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    line-height: 1.6;
}

/* Efeito do texto em cima das imagens */
.text-overlay_product {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color:#0cc9c3;
    font-family: 'Playfair Display', serif;
    z-index: 2;
}

.transbox {
  margin: 30px;
  background-color: #f5f7f7;
  /*border: 1px solid black; */
  opacity: 0.8;
}

.transbox p {
  margin: 5%;
  /* font-weight: bold; */
  color: #045d70;
}

/* Estilo para o link de portfólio */
.portfolio-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    /* background-color: rgba(255, 255, 255, 0.7); /* Fundo branco transparente */
    color: #8bf246;
    text-decoration: underline;
    font-size: 0.9em;
    border-radius: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Sombra no texto para destaque */
    transition: color 0.3s ease;
}

.portfolio-link:hover {
    color: #ffdd00; /* Cor de destaque ao passar o mouse */
}

/* Estilo para o link de portfólio */
.produto-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    /* background-color: rgba(255, 255, 255, 0.7); /* Fundo branco transparente */
    color: #1145bf;
    text-decoration: underline;
    font-size: 0.9em;
    border-radius: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra no texto para destaque */
    transition: color 0.3s ease;
}

.produto-link:hover {
    color: #11bf5a; /* Cor de destaque ao passar o mouse */
}

#testimonials {
    background-color: #f5f4c4; /* Cor de fundo suave */
    padding: 20px 0; /* Espaçamento vertical */
    text-align: center; /* Centraliza o texto */
}

#testimonials h2 {
    color: #333; /* Cor do título */
    margin-bottom: 30px; /* Espaçamento abaixo do título */
}

.testimonial-slider {
    display: flex;
    flex-direction: column; /* Organiza os itens de depoimento em coluna */
    align-items: center; /* Centraliza os itens de depoimento */
}

.testimonial-item {
    background-color: white; /* Cor de fundo para cada depoimento */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Sombra suave */
    border-radius: 10px; /* Bordas arredondadas */
    padding: 20px; /* Espaçamento interno */
    width: 80%; /* Largura dos depoimentos */
    max-width: 800px; /* Largura máxima para garantir a legibilidade */
    margin: auto; /* Centraliza o depoimento */
    margin-bottom: 20px; /* Garante algum espaço entre os itens sem exagerar */
}

.testimonial-item p {
    font-style: italic; /* Estilo itálico para o texto do depoimento */
    color: #555; /* Cor do texto */
}

.testimonial-item h3 {
    margin-top: 1px; /* Espaçamento acima do nome do cliente */
    color: #333; /* Cor do nome do cliente */
    font-weight: normal; /* Peso normal da fonte */
}
