/* ========================= */
/* 1. Importações de CSS */
/* ========================= */
@import url(navbar.css);
@import url(subNav.css);
@import url(responsiveSection1div.css);
@import url(responsiveSection1.css);
@import url(responsiveSection2.css);
@import url(responsiveSection3.css);
@import url(portfolioName.css);
@import url(responsiveSection4.css);
@import url(containerFlip.css);
@import url(responsiveSection5.css);
@import url(responsiveSection6.css);
@import url(avaliacoes.css);
@import url(formulario-contato.css);
@import url(faqPage.css);
@import url(footer.css);

/* ========================= */
/* 2. Reset and General Settings */
/* ========================= */

/* Basic reset */
html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url('../img/background2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Keep background fixed while scrolling */
}

main {
  margin: 0; /* Reset margin for main */
}

/* ========================= */
/* 3. Typography */
/* ========================= */

h1 {
  font-size: 1.7rem !important;
  padding: 0 10px; /* Reduced to a single shorthand property */
  margin: 0;
}

@media (max-width: 999px) {
  h1 {
    font-size: 1.2rem !important;
  }
}

/* ========================= */
/* 4. Buttons */
/* ========================= */

/* General button styles */
.btn-container3 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.btn-wpp3 {
  display: inline-block;
  padding: 20px 30px;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 40px;
  font-weight: bold;
  color: white;
  background-color: firebrick;
  transition: background-color 0.3s ease, transform 0.3s ease-in-out; /* Shorthand transition */
}

.btn-wpp3 i {
  font-size: 1.5rem;
  margin-left: 5px;
}

#cookie-banner {
    position: fixed;
    text-align: center;
    width: 30%;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 1);
    padding: 10px;
    border-radius: 10px;
    z-index: 1000;
    display: none; /* Inicialmente escondido */
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

@media(max-width: 999px){
  #cookie-banner {
    position: fixed;
    text-align: center;
    width: 90%;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 1);
    padding: 10px;
    border-radius: 10px;
    z-index: 1000;
    display: none; /* Inicialmente escondido */
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}
}

.btn-cookie {
    padding: 10px 18px; /* Tamanho do botão */
    border: none; /* Para remover a borda padrão */
    border-radius: 5px; /* Cantos arredondados */
    background-color: #B22222; /* Cor do fundo dos botões */
    color: #fff; /* Cor do texto */
    cursor: pointer; /* Mostrar que o botão é clicável */
}

/* Hover effect */
.btn-wpp3:hover {
  background-color: darkred;
  color: #fff;
  text-decoration: none; /* Remove underline on hover */
  transform: scale(1.1);
}

/* Button responsive */
@media (max-width: 999px) {
  .btn-wpp3 {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* ========================= */
/* 5. Images */
/* ========================= */

.flag-icon {
  max-width: 60px;
  height: auto;
}

/* ========================= */
/* 6. Responsiveness */
/* ========================= */

/* Prevents horizontal overflow on smaller screens */
@media (max-width: 999px) {
  body {
    overflow-x: hidden;
  }
}
