/* Estilos personalizados para Starky Máquinas */

/* Logo com efeito hover */
#logo {
  height: 46px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

#logo:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Espaçamento de ancoragem */
section {
  scroll-margin-top: 80px;
}

/* Títulos principais */
section h2 {
  font-weight: 600;
  margin-bottom: 30px;
}

/* Card de máquinas */
.card img {
  height: 220px;
  object-fit: cover;
}

.card .card-title {
  font-weight: 600;
}

.card .btn {
  margin-top: 10px;
}

/* Rodapé */
footer {
  background: #111;
  color: #fff;
  font-size: 0.95rem;
}

footer a {
  color: #fff;
  transition: color 0.3s;
  text-decoration: none;
}

footer a:hover {
  color: #0d6efd;
}

/* Formulário */
form input,
form textarea {
  border-radius: 4px;
  border: 1px solid #ccc;
}

form button {
  padding: 10px 30px;
}

.hero-section {
  background-image: url('../img/hero-industrial.png');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  z-index: 1;
}

.hero-section .overlay {
  background: rgba(0, 0, 0, 0.65); /* Aumenta a opacidade da camada escura */
  position: absolute;
  inset: 0;
  z-index: 0;
  backdrop-filter: blur(2px); /* opcional: leve desfoque */
}

.hero-section .z-2 {
  z-index: 2;
  position: relative;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* melhora leitura sobre fundo claro */
}

/* SEÇÃO SOBRE */
.sobre-img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}


.sobre-img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

#sobre h2 {
  font-size: 2rem;
  line-height: 1.3;
}

#sobre p {
  font-size: 1.05rem;
  color: #555;
}

.btn-sobre {
  padding: 10px 24px;
  font-size: 1rem;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  #sobre h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  #sobre p {
    text-align: center;
  }

  .btn-sobre {
    display: block;
    width: 100%;
    text-align: center;
  }

  @media (max-width: 768px) {
  .sobre-img {
    max-height: 160px;
    margin-bottom: 1rem;
  }
}


@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
    padding: 3rem 1rem;
  }
}

/* Responsividade extra */
@media (max-width: 768px) {
  #logo {
    height: 36px;
  }

  .navbar-brand span {
    font-size: 1rem;
  }

  .card img {
    height: 180px;
  }

  .display-4 {
    font-size: 2.2rem;
  }
} 
#contato input,
#contato textarea {
  border-radius: 6px;
  border: 1px solid #ccc;
}

#contato .form-label {
  font-size: 0.95rem;
}

#contato .btn {
  font-weight: 500;
  transition: all 0.3s ease;
}

#contato .btn:hover {
  background-color: #0b5ed7;
}

#contato h6 {
  font-size: 1rem;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  padding: 15px;
  border-radius: 50%;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  text-decoration: none;
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    font-size: 22px;
    padding: 12px;
  }
}
