/* Paleta baseada no site da Advaltech */
:root {
  --primary-color: rgb(28, 46, 80);
  --secondary-color: #0076a8;
  --accent-color: rgb(252, 195, 0);
  --text-color: #ffffff;
  --background-color: rgb(28, 46, 80);
  --terciary-color: rgb(145, 146, 148);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color);
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  width: 100%;
  overflow-x: hidden;
  padding: 20px;
  margin: 0 auto;
  
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
  padding: 10px 20px;
  color: white;
}

.logo img {
  height: 38px;
  margin-left: 5vw;
  margin-top: 5vh;     
  margin-bottom: 5vh;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin-right: 1.5cm;
  padding-left: 50px;
  justify-content: flex-end;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.5cm;

}

main {
  flex: 1;
  padding: 20px;
}

.hero {
  background-color: var(--primary-color);
  padding: 40px 30px;
  text-align: left;
}

.hero h1 {
  color: var(--text-color);
  font-size: 8.3em;
  margin-top: 9.7cm;
  font-family: 'MarcoBoldo';
  position:absolute;
  z-index: 1;
  
  
}

@font-face {
  font-family: 'MarcoBoldo';
  src: url('mark-bold.ttf'); /* Caminho para o arquivo da fonte */
}

.hero p {
  color: var(--primary-color);
  font-size: 1.3em;
  position: absolute
}

.about, .services, .contact {
  margin-top: 30px;
}

.about h2, .services h2, .contact h2 {
  color: var(--accent-color);
  margin-bottom: 15px;
}

.services ul {
  list-style: disc;
  padding-left: 20px;
}

footer {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.image-container {

   /* largura desejada */
  height: auto;
  animation: fadeInUp 1s ease-out;
  display: flex;
  justify-content: flex-end; /* Alinha à direita */
  align-items: center;
  padding: 20px;
  margin-top: -70px

}


.image-container img {
  width: 70%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  object-fit: cover;
}



@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  animation: slideDown 1s ease-out;
}

/* botao interativo*/

button {
  background-color: #004080;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s, transform 0.2s;
}

button:hover {
  background-color: #0073e6;
  transform: scale(1.05);
}

/* zoom logo */

.logo img {
  transition: transform 0.4s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

/* Hover animado no menu de navegação */

.navbar a {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  border-spacing: 2cm;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #ffcc00;
  transition: width 0.3s ease-in-out;
  
}

.navbar a:hover::after {
  width: 100%;
}

/* animaçao de fade-in para seçoes */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 1s ease-out;
}




@media (max-width: 768px) {
  .image {
    position: static;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
  }

  .hero {
    padding: 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2em;
    margin-top: 1cm;
    position: static;
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav ul {
    flex-direction: row;
    gap: 10px;
    padding: 50px;
    text-align: center;
    left: 10px;
  }

  
.logo img {
    margin: 0 auto;
    display: block;

}
}


@media (min-width: 1025px) and (max-width: 1440px) {
  .hero h1 {
    font-size: 4em;
    margin-top: 5vh;
  }

  .image {
    width: 80%;
    margin: 0 auto;
  }
}


@media (max-width: 1024px) {
  .hero h1 {
    position: static;
    font-size: 2.5em;
    text-align: center;
    margin-top: 2vh;
  }

  .image {
    position: static;
    width: 100%;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
  }
}
