/* Estilos Gerais */
body {
  font-family: 'Raleway', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3 {
  margin: 0 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

/* Banner */
.banner {
  background: linear-gradient(to bottom right, rgba(169, 169, 169, 0.5), rgba(237, 145, 33, 0.5)), url('banner-image.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: white;
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(169, 169, 169, 0.5), rgba(237, 145, 33, 0.5));
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner h1 {
  font-size: 3em;
}  

.banner p {
  font-size: 1.2em;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ed9121;
  padding: 10px 50px;
  text-align: center;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  display: inline;
  margin: 0 10px;
}

.navbar a {
  color: white;
  font-weight: bold;
  font-size: 1.1em;
}

.navbar a:hover {
  text-decoration: underline;
}

.contact-btn-nav {
  color: #333;
  background-color: white;
  border: 0;
  border-radius: 25px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.contact-btn-nav:hover {
  background-color: #acc0b7; 
  color: #fff; 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}



/* Planos de Internet */
.plans {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.plans h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
}

.plan-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.plan-item-cam {
  border: 1px solid #ddd;
  padding: 20px;
  margin: 20px;
  border-radius: 8px;
  background-color: #fff;
  width: calc(33% - 40px); /* Três itens por linha com espaçamento */
  box-sizing: border-box;
  text-align: center; /* Centraliza o texto dentro do card */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.plan-item-cam h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.plan-item-cam p {
  font-size: 1.2em;
  margin-bottom: 10px;
  text-align: left; /* Alinha o texto à esquerda dentro do card */
}

.plan-item-cam .mb {
  font-size: 2em;
  font-weight: bold;
}

.plan-item-cam ul {
  list-style-type: none;
  padding: 0;
  margin: 10px 0 20px;
  text-align: left; /* Alinha a lista de benefícios à esquerda dentro do card */
}

.plan-item-cam ul li {
  margin: 5px 0;
}

.plan-item-cam:hover {
  background-color: #d3811b; /* Cor de fundo ao passar o mouse */
  color: white; /* Cor do texto ao passar o mouse */
}

.plan-item {
  border: 1px solid #ddd;
  padding: 20px;
  margin: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  width: calc(33% - 40px); /* Três itens por linha com espaçamento */
  box-sizing: border-box;
  text-align: center; /* Centraliza o texto dentro do card */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.plan-item h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.plan-item p {
  font-size: 1.2em;
  margin-bottom: 10px;
  text-align: left; /* Alinha o texto à esquerda dentro do card */
}

.plan-item .mb {
  font-size: 2em;
  font-weight: bold;
}

.plan-item ul {
  list-style-type: none;
  padding: 0;
  margin: 10px 0 20px;
  text-align: left; /* Alinha a lista de benefícios à esquerda dentro do card */
}

.plan-item ul li {
  margin: 5px 0;
}

/* Estilo do plano ao passar o mouse */
.plan-item:hover {
  background-color: #d3811b; /* Cor de fundo ao passar o mouse */
  color: white; /* Cor do texto ao passar o mouse */
}

/* Botão de Contato */
.contact-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #ed9121;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.3s;
}

.contact-btn:hover {
  background: #d3811b;
}

/* Sobre */
.about {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center; /* Centraliza o texto na seção de Sobre */
}

.about h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2em;
}

/* Serviços */
.services {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center; /* Centraliza o texto na seção de Serviços */
}

.services h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.service-item {
  margin: 20px 0;
}

.service-item h3 {
  font-size: 2em;
}

.service-item p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2em;
}

/* Contato */
.contact {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center; /* Centraliza o texto na seção de Contato */
}

.contact h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left; /* Mantém o formulário alinhado à esquerda */
}

.contact label {
  display: block;
  margin: 10px 0 5px;
}

.contact input, .contact textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact button {
  display: block;
  width: 100%;
  padding: 10px;
  background: #ed9121;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact button:hover {
  background: #d3811b;
}

/* Footer */
.footer {
  background: #acc0b7;
  color: white;
  text-align: center;
  padding: 10px 0;
}

.footer p {
  margin: 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
  border-radius: 10px;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}



/* Carrossel */
.banner {
  position: relative;
  width: 100%;
  height: 75vh; /* Ajuste conforme necessário */
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  display: none;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 20px;
  box-sizing: border-box;
}

.carousel-item h1 {
  font-size: 2.5em;
  margin: 0;
}

.carousel-item p {
  font-size: 1.5em;
  margin: 20px 0 0;
}

.carousel-dots {
  text-align: center;
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: orange; /* Cor laranja para o ativo */
}

@media (max-width: 768px) {

  .plan-items {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .plan-item {
      width: 100%;
      margin-bottom: 20px;
  }

  .plan-item-cam {
    width: 100%;
    margin-bottom: 20px;
  }

  .container {
      padding: 10px;
      margin: 0;
  }

  h1 {
      font-size: 1.8em;
      text-align: center;
  }

  h2 {
      font-size: 1.5em;
  }

  .content {
      flex-direction: column;
      align-items: center;
  }

  .sidebar {
      width: 100%;
      margin-bottom: 20px;
  }

  .main-content {
      width: 100%;
  }

  .footer {
      font-size: 0.8em;
  }

  .navbar{
    flex-direction: column;
  }

  
  .banner h1 {
    font-size: 2em;
  }  

  .banner p {
    font-size: 1em;
  }
}

/* Telas menores que 480px (Smartphones) */
@media (max-width: 480px) { 
  
  .banner h1 {
    font-size: 2em;
  }  

  .banner p {
    font-size: 1em;
  }
  
  .navbar{
    flex-direction: column;
  }
  .plan-items {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
  }

  .plan-item {
      width: 100%;
      margin-bottom: 20px; /* Adicione uma margem inferior para separar os cards */
  }

  .plan-item-cam {
    width: 100%;
    margin-bottom: 20px; /* Adicione uma margem inferior para separar os cards */
  }



  h1 {
      font-size: 1.5em;
  }

  h2 {
      font-size: 1.2em;
  }

  p {
      font-size: 0.9em;
  }

  .container {
      padding: 5px;
  }

  .sidebar {
      display: none; /* Esconde a barra lateral em telas muito pequenas */
  }

  .main-content {
      width: 100%;
      padding: 0;
  }
}
