/* Em CSS/eos.css */

body {
    margin: 0;
    /* left: 0; Esta propriedade não é usual aqui e pode ser removida */
    /* background-image: url('../Imagens/aviaoNovo2.jpg'); << REMOVA ESTA LINHA */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    font-family: Arial, sans-serif;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden; /* Para evitar barras de rolagem horizontais */
}

/* REMOVA ESTA REGRA INTEIRA para body::before 
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
*/

/* ADICIONE OS ESTILOS DO SLIDESHOW E OVERLAY ABAIXO */

.slideshow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Camada mais ao fundo */
  overflow: hidden;
}

.mySlides {
  display: none;
  width: 100%;
  height: 100%;
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Mesmo overlay escuro */
  z-index: 1; /* Acima do slideshow, abaixo do conteúdo */
}

/* Estilos para os controles do slideshow (opcional, ocultos por padrão) */
.slideshow-container .prev,
.slideshow-container .next {
  display: none; 
  /* Para exibir, descomente e estilize:
  cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px;
  margin-top: -22px; color: white; font-weight: bold; font-size: 20px;
  transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none;
  background-color: rgba(255,255,255,0.1); z-index: 3;
  */
}
/*
.slideshow-container .next { right: 0; border-radius: 3px 0 0 3px; }
.slideshow-container .prev:hover, .slideshow-container .next:hover { background-color: rgba(255,255,255,0.3); }
*/

.slideshow-container .text {
  display: none;
  /* Para exibir, descomente e estilize:
  color: #f2f2f2; font-size: 15px; padding: 8px 12px; position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%); width: auto;
  max-width: 90%; background-color: rgba(0,0,0,0.7); border-radius: 4px;
  box-sizing: border-box; z-index: 3;
  */
}

.dots-navigation {
    position: fixed;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 2; 
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* SEUS ESTILOS EXISTENTES PARA .content-wrapper, etc. CONTINUAM AQUI */
/* Certifique-se de que .content-wrapper e footer tenham z-index: 2 */

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center; /* Centraliza os filhos como .top-content, .containerServ */
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 2; /* Para ficar sobre o overlay */
    padding-bottom: 70px; /* Espaço para o footer e dots-navigation não cobrirem o conteúdo */
    box-sizing: border-box;
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 20px auto; /* Mais margem no topo */
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}
  
@keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

.container { /* Container de texto dentro de .top-content */
    text-align: left; /* Mantido, mas h1 e p estão centralizados internamente */
    color: white;
    flex-basis: 58%; /* Ajustado */
    max-width: 650px; /* Ajustado */
    animation: fadeInUp 1s ease-out forwards;
    padding-right: 20px; /* Espaço para a logo */
    box-sizing: border-box;
}

.container h1 {
    font-size: 2.6em; /* Ajustado */
    margin-bottom: 20px;
    text-align: left; /* Alinhado à esquerda conforme o container pai */
    animation: fadeInUp 1s ease-out forwards;
    line-height: 1.3;
}

.container p {
    font-size: 1.1em;
    line-height: 1.7; /* Aumentado para melhor legibilidade */
    text-align: left; /* Alinhado à esquerda */
}

.logoEos {
    text-align: right;
    flex-basis: 38%; /* Ajustado */
    max-width: 450px; /* Ajustado */
    animation: fadeInRight 1s ease-out forwards; /* Usando fadeInRight */
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
    
.eosLogo {
    max-width: 100%;
    height: auto;
    /* animation: fadeInUp 1s ease-out forwards; << Animação já no pai */
}
 
.containerServ {
    text-align: center;
    width: 95%; /* Um pouco mais largo */
    max-width: 1200px;
    margin: 40px auto; /* Aumentado margem vertical */
    animation: fadeInUp 1s ease-out forwards;
}

.containerServ h2 {
    font-size: 2.2em;
    margin-bottom: 35px; /* Mais espaço */
    color: white;
    animation: fadeInUp 1s ease-out forwards;
}

.containerServ .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Mantido */
    margin-top: 30px;
    animation: fadeInUp 1s ease-out forwards;
}

.containerServ .button {
    display: flex; /* Mantido */
    flex-direction: column; /* Mantido */
    justify-content: center; /* Para centralizar o <p> verticalmente */
    align-items: center; /* Para centralizar o <p> horizontalmente */
    width: 240px; /* Aumentado um pouco */
    min-height: 140px; /* Aumentado para mais espaço vertical */
    padding: 18px; /* Aumentado padding */
    background-color: rgba(255, 255, 255, 0.1); /* Mais transparente */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borda sutil */
    border-radius: 10px; /* Mais arredondado */
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); /* Sombra mais suave */
    transition: transform 0.25s ease, background-color 0.3s ease, border-color 0.3s ease;
    cursor: default; /* Não são links clicáveis */
}

.containerServ .button:hover {
    background-color: rgba(255, 255, 255, 0.18); /* Levemente mais opaco no hover */
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-5px); /* Efeito de levantar */
}
.containerServ .button p { /* Estilo para o parágrafo dentro do botão */
    margin: 0; /* Remove margens padrão do parágrafo */
    font-size: 0.9em;
    line-height: 1.5;
}


/* .containerServ .buttonContato:hover{ << Não existe .buttonContato no HTML */
/* background-color: #0056b3; */
/* } */

.logoFinal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    /* height: 400px; << Removido para altura automática */
    border-radius: 8px;
    text-align: center;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); << Removido */
    margin: 50px auto 40px auto; /* Ajustado margens */
    transition: transform 0.3s ease;
}

.logoFinal img {
    max-width: 100%;
    max-height: 350px; /* Limita altura da imagem */
    height: auto;
    border-radius: 8px; /* Se quiser bordas arredondadas na imagem */
}
.logoFinal:hover img { /* Aplica na imagem dentro do hover do container */
    transform: scale(1.03);
}

.buttonFim {
    background-color: #00A859; /* Cor verde principal */
    border: none; 
    color: white;
    padding: 12px 28px; /* Ajustado */
    font-size: 1.1em; /* Ajustado */
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 35px; /* Mais espaço acima */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.buttonFim:hover {
    background-color: #008F4B; /* Verde mais escuro no hover */
    color: white; /* Mantém texto branco */
}

footer {
    position: relative; /* Para o z-index funcionar */
    z-index: 2; /* Para ficar sobre o overlay */
    width: 100%;
    color: rgba(255,255,255,0.8);
    text-align: center;
    font-size: 0.9em;
    padding: 20px 0; /* Padding vertical */
    background-color: rgba(0,0,0,0.2); /* Fundo sutil para o footer */
    /* padding-bottom: 20px; << já incluso no padding acima */
    box-sizing: border-box; /* Para incluir padding na largura/altura total */
}
footer .copy p { /* Seletor específico para o parágrafo dentro de .copy */
    margin: 0;
}

/* Media Queries (adaptados do seu CSS original) */
@media (max-width: 992px) {
    .top-content {
        flex-direction: column;
        align-items: center;
    }
    .container {
        flex-basis: 100%;
        text-align: center; /* Centraliza o bloco de texto */
        margin-bottom: 30px;
        padding-right: 0;
    }
    .container h1, .container p {
        text-align: center; /* Centraliza o texto dentro do container */
    }
    .logoEos {
        flex-basis: 100%;
        text-align: center;
        justify-content: center;
    }
    .containerServ .button {
        width: calc(50% - 15px); /* 2 colunas, considerando o gap */
    }
}

@media (max-width: 768px) {
    .container h1 {
        font-size: 2.1em;
    }
    .containerServ h2 {
        font-size: 1.9em;
    }
    .containerServ .button {
        width: calc(100% - 20px); /* 1 coluna */
        margin-left: 10px;
        margin-right: 10px;
    }
    .logoFinal img {
        max-width: 85%;
    }
    .dots-navigation {
        bottom: 15px; /* Ajuste para telas menores */
    }
    .content-wrapper {
        padding-bottom: 60px; /* Mais espaço para footer/dots */
    }
}

@media (max-width: 480px) {
    .container h1 {
        font-size: 1.8em;
    }
    .container p {
        font-size: 1em;
    }
    .containerServ .button {
        min-height: 120px; /* Reduz altura mínima */
    }
    .buttonFim {
        padding: 10px 20px;
        font-size: 1em;
    }
}