/* Barra de rolagem branca */
::-webkit-scrollbar {
  width: 10px; /* largura da barra */
}

/* Fundo da área da barra */
::-webkit-scrollbar-track {
  background: #ffffff; /* fundo branco */
}

/* Parte que se move */
::-webkit-scrollbar-thumb {
  background-color: #ccc; /* cinza claro para contraste */
  border-radius: 10px;
  border: 2px solid #ffffff; /* borda branca para suavizar */
}

/* Quando o mouse passa por cima */
::-webkit-scrollbar-thumb:hover {
  background-color: #999;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  background-color: #ffffff;
  color: #2a2a2a;
}
#main-header {
  transition: all 0.5s ease-in-out;
}
#main-header:not(.scrolled-header) {
  background-color: transparent;
}
#main-header:not(.scrolled-header) .nav-link {
  color: white;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  transition: color 0.4s ease-in-out, text-shadow 0.4s ease-in-out;
}
#main-header:not(.scrolled-header) .nav-link:hover {
  color: #f0f0f0;
}
#main-header:not(.scrolled-header) .nav-link.active {
  color: #ffffff;
  font-weight: 500;
}
#main-header.scrolled-header {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: fixed;
  top: 1rem;
  left: 50%;
  width: 90%;
  max-width: 85%;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem; /* AJUSTE APLICADO */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateX(-50%) translateY(-100px);
  opacity: 0;
}
#main-header.scrolled-header.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
#main-header.scrolled-header .nav-link {
  color: #2a2a2a;
  text-shadow: none;
  transition: color 0.4s ease-in-out;
}
#main-header.scrolled-header .nav-link.active {
  color: #b08d62;
  font-weight: 500;
}
.portfolio-item .portfolio-overlay {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-item .portfolio-icon {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}
.portfolio-item:hover .portfolio-icon {
  opacity: 1;
  transform: scale(1);
}
.portfolio-item img {
  transition: transform 0.3s ease;
}
.portfolio-item:hover img {
  transform: scale(1.05);
}
.portfolio-filter-btn {
  transition: all 0.3s ease;
}
.portfolio-filter-btn.active {
  background-color: #c09a6b;
  color: white;
  box-shadow: 0 2px 10px rgba(192, 154, 107, 0.4);
}
.portfolio-item.hidden-category {
  display: none;
}
#lightbox {
  background-color: rgba(0, 0, 0, 0.92);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.hero-carousel {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.hero-slide {
  scroll-snap-align: center;
}
.hero-carousel::-webkit-scrollbar {
  display: none;
}
.hero-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  background-color: #ffffff;
  color: #2a2a2a;
}
#main-header {
  transition: all 0.5s ease-in-out;
}
#main-header:not(.scrolled-header) {
  background-color: transparent;
}
#main-header:not(.scrolled-header) .nav-link {
  color: white;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  transition: color 0.4s ease-in-out, text-shadow 0.4s ease-in-out;
}
#main-header:not(.scrolled-header) .nav-link:hover {
  color: #f0f0f0;
}
#main-header:not(.scrolled-header) .nav-link.active {
  color: #ffffff;
  font-weight: 500;
}
#main-header.scrolled-header {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: fixed;
  top: 1rem;
  left: 50%;
  width: 90%;
  max-width: 85%;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem; /* AJUSTE APLICADO */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateX(-50%) translateY(-100px);
  opacity: 0;
}
#main-header.scrolled-header.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
#main-header.scrolled-header .nav-link {
  color: #2a2a2a;
  text-shadow: none;
  transition: color 0.4s ease-in-out;
}
#main-header.scrolled-header .nav-link.active {
  color: #b08d62;
  font-weight: 500;
}
.portfolio-item .portfolio-overlay {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-item .portfolio-icon {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}
.portfolio-item:hover .portfolio-icon {
  opacity: 1;
  transform: scale(1);
}
.portfolio-item img {
  transition: transform 0.3s ease;
}
.portfolio-item:hover img {
  transform: scale(1.05);
}
.portfolio-filter-btn {
  transition: all 0.3s ease;
}
.portfolio-filter-btn.active {
  background-color: #c09a6b;
  color: white;
  box-shadow: 0 2px 10px rgba(192, 154, 107, 0.4);
}
.portfolio-item.hidden-category {
  display: none;
}
#lightbox {
  background-color: rgba(0, 0, 0, 0.92);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.hero-carousel {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.hero-slide {
  scroll-snap-align: center;
}
.hero-carousel::-webkit-scrollbar {
  display: none;
}
.hero-carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
