body {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 60px; /* ou ajuste conforme a altura da navbar */
  padding-bottom: 120px;
}

.bg-petroleo {
  background-color: #295252;
  color: white;
}
.text-petroleo {
  color: #295252;
}
.text-dourado {
  color: #ebc138;
}
.btn-dourado {
  background-color: #ebc138 !important;
  color: #1a1a1a;
  border: none;
}
.btn-dourado:hover {
  background-color: #d4aa2e;
  color: #1a1a1a;
}
.grayscale {
  filter: grayscale(100%);
  opacity: 0.8;
}
footer {
  background-color: #ffffff;
  color: #295252;
  border-top: 1px solid #ddd;
}

/* Hero Slies */

.hero-slide {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  background-color: #ebc138;
  border-radius: 50%;
  opacity: 0.7;
}

.carousel-indicators .active {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 60% 60%;
  background-color: #ebc138;
  border-radius: 50%;
}

/* Navbar */

.navbar-petroleo {
  background-color: #295252 !important;
}
.navbar-petroleo .nav-link,
.navbar-petroleo .navbar-brand,
.navbar-petroleo .navbar-toggler-icon {
  color: #ffffff !important;
}
.navbar-petroleo .nav-link:hover {
  color: #ebc138 !important;
}

footer.bg-petroleo {
  background-color: #295252;
  color: #ffffff;
}
footer.bg-petroleo a {
  color: #ffffff;
}
footer.bg-petroleo a:hover {
  color: #ebc138;
}
.img-founder {
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.parallax-cta {
  background-image: url("../images/parallax/bg-parallax.webp"); /* Troque por sua imagem */
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  min-height: 350px;
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.parallax-cta::before {
  content: "";
  background: rgba(49, 107, 107, 0.25); /* Verde Petróleo com transparência */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.parallax-cta h2,
.parallax-cta p {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.parallax-cta a:hover {
  color: #295252 !important;
}

/* Hero Slides */
.hero-slide {
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 0, 0, 0.6); /* overlay verde petróleo translúcido */
  z-index: 1;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-slide h1 {
    font-size: 1.75rem;
  }

  .hero-slide p {
    font-size: 1rem;
  }
}
#inicio {
  margin: 0;
  padding: 0;
}
.hero-slide {
  height: 100vh; /* ou 90vh se preferir */
}
.lead {
  color: #fff !important;
}

/*Clientes Slidesz*/

.clientes-slider {
  overflow: hidden;
  position: relative;
}

.clientes-track {
  display: flex;
  width: max-content;
  animation: slideClientes 30s linear infinite;
  gap: 3rem;
}

.clientes-track img {
  height: 80px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s ease;
}

.clientes-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes slideClientes {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*Sections*/

#clientes {
  min-height: 300px !important;
}
#btn-topo {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

#btn-topo:hover {
  opacity: 1;
  transform: scale(1.05);
  transition: 0.2s ease;
}
