/* Reset rápido */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}


.scroll-container {
  position: absolute;
  top: 100px;
  /* altura da navbar */
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
}

/* Esconde scrollbar do container */
.scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Edge */
}

.scroll-container {
  -ms-overflow-style: none;
  /* IE 10+ */
  scrollbar-width: none;
  /* Firefox */
}

.navbar-brand img {
  height: 60px;
  margin-left: 2%;
}

.carousel-inner {
  max-height: 300px;
}

#carrosselHome {
  width: 80%;
  margin: auto;
}

.carousel-inner img {
  max-height: 300px;
  width: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.row,
.mb-3 {
  margin-left: 2%;
}

h3 {
  color: #4a4a4a;
  border-left: 6px solid #A6CAEC;
  padding-left: 10px;
}

.btn-close-custom {
  background-color: whitesmoke;
  border: 2px solid #A6CAEC;
  color: #333;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 0;
}

.btn-close-custom::before {
  content: "×";
  font-size: 22px;
  line-height: 0;
  position: relative;
  top: 1px;
  /* ajuste fino pra alinhar verticalmente */
}

.btn-close-custom:hover {
  color: #A6CAEC;
}

/* Navbar principal */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #A6CAEC;
  padding: 5px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  align-items: center;
  /* vertical center */
  justify-content: space-between;
  gap: 20px;
  height: 80px;
  width: 100%;
  /* define altura da navbar */
}

/* Logo */
.navbar-logo img {
  display: block;
  margin-left: 2%;
}

/* Categorias */
/* Força alinhamento central dos itens internos */
.navbar-categories,
.navbar-actions {
  display: flex;
  gap: 0px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.navbar-categories li {
  position: relative;
  font-weight: bold;
}

.navbar-categories li+li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #888;
  transform: rotate(45deg);
  margin: 0 8px;
  vertical-align: middle;
}


.navbar-categories li a {
  text-decoration: none;
  padding: 8px 8px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.9em;
  color: #4a4a4a;
  transition: all 0.3s ease;
  /* cor e fundo suavemente */
}

.navbar-categories li a:hover {
  background-color: #0d6dfd75;
  /* fundo azul */
  color: #fff;
  /* texto branco */
  transform: scale(1.05);
  /* leve zoom */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  /* sombra suave */
}

/* Busca */
.navbar-search {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
  width: 30%;
}

.navbar-search input {
  height: 40px;
  width: 70%;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  /* deixa arredondado */
  outline: none;
  font-size: 14px;
  transition: all 0.2s;
}

.navbar-search input:focus {
  border-color: #007BFF;
  /* muda cor ao focar */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.navbar-search button {
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: 20px;
  background-color: #0d6dfd75;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.navbar-search button:hover {
  background-color: #007BFF;
  transform: translateY(-1px);
}


/* Ações (carrinho, login) */
.navbar-actions {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
  /* centraliza ícones e texto */
  margin-right: 2%;
}

.navbar-actions li a {
  display: flex;
  align-items: center;
  gap: 5px;
  /* espaço entre ícone e texto */
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s, transform 0.2s;
}

.navbar-actions li a:hover {
  color: #0d6efd;
  transform: translateY(-1px);
}

/* opcional: aumentar tamanho do ícone */
.navbar-actions li a i {
  font-size: 18px;
}

/* Modal */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 11;
}

/* Caixa do conteúdo (com cor + imagem da logo e opacidade nela) */
.modal-content {
  position: relative;
  margin-top: 6%;
  background: #fff url('./img/Logo sem fundo-v2.png') center center no-repeat;
  background-size: 50%;
  /* ajusta o tamanho da logo */
  padding: 40px;
  border-radius: 10px;
  width: 90%;
  max-height: 80%;
  max-width: 600px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

/* Camada extra pra controlar a opacidade da imagem sem afetar o texto */
.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/Logo sem fundo-v2.png') center center no-repeat;
  background-size: 70%;
  opacity: 0.15;
  /* controla a opacidade da imagem */
  z-index: 0;
}

.modal-content>* {
  position: relative;
  z-index: 1;
  /* garante que o conteúdo fica acima da imagem */
}

#modal-body,
#construcaoBody {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

#modal-body h2,
#construcaoBody h2 {
  margin-bottom: 20px;
  font-size: 20px;
  color: #007BFF;
  text-align: center;
}

#modal-body h1,
#construcaoBody h1 {
  text-align: center;
}

#modal-body p,
#construcaoBody p {
  margin-bottom: 10px;
  text-indent: 2em;
  /* recuo da primeira linha */

}

.signature {
  margin-top: 20px;
  text-align: right;
  font-style: italic;
  font-weight: bold;
  color: #A6CAEC;
}

/* Botão de fechar */
.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
  /* garante que fique acima da imagem de fundo */
}

.close:hover {
  color: #0d6efd;
  transform: scale(1.1);
}