/* Definindo as cores */
:root {
  --vermelho: #9E2134;
  --amarelo: #F9D600;
  --preto: #1C1C1C;
  --branco: #FFFFFF;
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #9E2134;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px;
  background-position: 0 0, 1.5px 1.5px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 60px; /* Espaço para o cabeçalho fixo */
}



header {
  position: fixed; /* Tornar o cabeçalho fixo */
  top: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background-color: var(--preto);
  color: var(--branco);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000; /* Garantir que o cabeçalho fique acima do conteúdo */
}

.menu-container {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.menu-icon {
  width: 25px;
  height: 3px;
  background-color: var(--branco);
  margin: 4px 0;
}

.menu-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background-color: var(--preto);
  transition: 0.3s ease;
}

.menu-left {
  left: 0;
  transform: translateX(-100%);
}

.menu-right {
  right: 0;
  transform: translateX(100%);
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--preto);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

nav a {
  color: var(--branco);
  text-decoration: none;
  font-size: 2rem;
  margin: 10px 0;
  text-transform: uppercase;
}

/* Close Button (X) */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--branco);
  background: none;
  border: none;
  cursor: pointer;
}

/* Active Menu State */
.menu-container.open + .menu-panel.menu-left {
  transform: translateX(0);
}

.menu-container.open + .menu-panel.menu-left + .menu-panel.menu-right {
  transform: translateX(0);
}

.menu-container.open + .menu-panel.menu-left + .menu-panel.menu-right + nav {
  transform: translateY(0);
}

/* Main Content */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 70vh;
  padding: 40px 0;
  text-align: center;
  width: 100%;
  margin-top: 60px; /* Ajusta o conteúdo para não ficar atrás do cabeçalho */
}

.section {
  width: 80%;
  max-width: 1200px;
  margin: 20px 0;
  padding: 20px;
  background-color: var(--branco);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

h1, h2 {
  color: var(--preto);
}

p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.details {
  background-color: #f8f8f8;
  padding: 15px;
  margin-top: 10px;
  border: 1px solid #ddd;
  transition: max-height 0.3s ease;
  overflow: hidden;
  max-height: 0;
}

.details.hidden {
  max-height: 0;
  padding: 0;
  border: none;
}

.details:not(.hidden) {
  max-height: 200px; /* Ajuste conforme necessário */
  padding: 15px;
}

.learn-more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: var(--vermelho);
  color: var(--branco);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Estilo para a seção de Contato */
#section-contato {
  background-color: #1c1c1c; /* Fundo escuro */
  color: #bfbfbf; /* Texto cinza claro */
  padding: 50px 20px;
  text-align: center;
}

#section-contato h2{
  color: #ddd;
}

#section-contato .content {
  max-width: 800px;
  margin: 0 auto;
}

#section-contato p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #bfbfbf;
}

#section-contato .address {
  font-size: 0.9rem;
  color: #8e8e8e;
}

#section-contato .address i {
  margin-right: 8px;
  color: #f39c12; /* Ícone em amarelo suave */
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 15px;
  color: #fff;
  background-color: #25d366; /* Cor do WhatsApp */
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebe57; /* Cor do botão ao passar o mouse */
}

.whatsapp-btn i {
  margin-right: 8px;
  font-size: 1.2rem;
}


/* Footer */
footer {
  background-color: #1c1c1c; /* Fundo escuro */
  color: #bfbfbf; /* Texto claro */
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  color: #f39c12; /* Amarelo suave para links */
  text-decoration: none;
}

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

/* Estilo do Banner de Cookies */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1c1c1c;
  color: #fff;
  padding: 20px;
  text-align: center;
  box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#cookie-banner p {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons button {
  background-color: #f39c12;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 0.9rem;
}

.cookie-buttons button:hover {
  background-color: #d35400;
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .menu-container {
      display: block;
  }

  .menu-icon {
      width: 30px;
      height: 4px;
  }

  nav {
      font-size: 1.5rem;
  }

  .whatsapp-btn {
      font-size: 1rem;
      width: 90%;
      padding: 15px 0;
  }
}

@media (max-width: 480px) {
  nav a {
      font-size: 1.5rem;
  }
}

/* Updated Services Section/nossos serviços */
.services-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-list i {
  font-size: 2rem;
  color: var(--vermelho);
}

.services-list p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

/* Transition for Learn More Details */
.details {
  margin-top: 15px;
  padding: 0 15px;
  background-color: var(--branco);
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.details.hidden {
  max-height: 0;
  opacity: 0;
}

.details:not(.hidden) {
  max-height: 300px; /* Ajustar conforme necessário */
  opacity: 1;
}



/* Seção 1 bem vindos*//* Logo */
#section1 .logo {
  max-width: 150px;            /* Limita o tamanho máximo */
  width: auto;                 /* Mantém as proporções */
  height: auto;                /* Ajusta automaticamente a altura */
  margin-bottom: 20px;         /* Espaçamento abaixo da logo */
  border-radius: 10px;         /* Bordas arredondadas para um toque moderno */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Efeito de sombra */
  transition: transform 0.3s ease; /* Animação ao passar o mouse */
}

/* Efeito hover na logo */
#section1 .logo:hover {
  transform: scale(1.1);       /* Aumenta ligeiramente ao passar o mouse */
}



#section1 {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  color: var(--branco); /* Texto branco */
  background: var(--preto); /* Fundo preto */
  overflow: hidden;
}

#section1 h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(255, 255, 255, 0.2); /* Leve brilho no texto */
  color: var(--branco); /* Texto branco */
}

#section1 p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--branco); /* Texto branco */
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.2); /* Leve brilho no texto */
}

/* Fundo com efeito de chiado */
#section1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
              radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 2px 2px;
  opacity: 0.3;
  animation: noise-animation 0.5s infinite;
  z-index: 1;
}

/* Animação do chiado */
@keyframes noise-animation {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-2px, -2px);
  }
}

/* Garantindo que o Conteúdo Fique na Frente */
#section1 > * {
  position: relative;
  z-index: 2;
}


/* seção 3 sobre nos*/
/* Estilização Geral */
#section3 {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  color: #f5f5f5;
  background: linear-gradient(135deg, #1a1a1a, #333); /* Fundo moderno */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

#section3 h2 {
  color: var(--branco);
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

#section3 p {
  font-size: 1.2rem;
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Botão Saiba Mais */
.learn-more-btn {
  padding: 12px 20px;
  background: var(--vermelho);
  color: var(--branco);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background: var(--amarelo);
  box-shadow: 0 4px 10px rgba(255, 87, 34, 0.5);
}

/* Detalhes (Texto Oculto) */
.details {
  margin-top: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  text-align: left;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.details:not(.hidden) {
  max-height: 500px;
  opacity: 1;
}

/* Fundo Dinâmico */
#section3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/graphy.png') repeat;
  opacity: 0.1; /* Leve textura */
  z-index: 1;
}

#section3 > * {
  position: relative;
  z-index: 2;
}

/* seção 3 sites desenvolvidos*/
/* Seção de Sites Desenvolvidos */
.sites-section {
  background-color: var(--vermelho);  /* Fundo vermelho */
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 3px 3px, 3px 3px;
  background-position: 0 0, 1.5px 1.5px;
  color: var(--branco);  /* Texto branco */
  padding: 60px 20px; /* Espaçamento */
  text-align: center;
}

.sites-section h2 {
  font-size: 2.5rem;
  color: #ddd;
  margin-bottom: 20px;
  font-weight: bold;
}

.sites-section p {
  font-size: 1.2rem;
  color: #8e8e8e;
  margin-bottom: 40px;
  font-weight: 300;
}

.sites-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Layout responsivo */
  gap: 30px;
  justify-items: center;
}

.site-item {
  background-color: var(--preto);  /* Fundo preto para as imagens */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.site-item img {
  width: 100%;
  height: auto;
  border-bottom: 3px solid var(--amarelo);  /* Linha amarela abaixo das imagens */
}

.site-item p {
  color: var(--amarelo);  /* Texto em amarelo */
  padding: 10px;
  font-size: 1.1rem;
}

.site-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}
/* Efeito de hover */
.site-item:hover {
  transform: translateY(-10px);
}

.site-item:hover p {
  color: var(--branco);  /* Texto branco ao passar o mouse */
}
