/* Custom styles for Vidacar Trucks Landing Page */
body {
  background: #181818;
  color: #222;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.navbar {
  background: #111 !important;
}

.navbar-brand {
  letter-spacing: 2px;
  font-size: 1.6rem;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: #e10600 !important;
}

.hero-section {
  min-height: 80vh;
  background: linear-gradient(rgba(24,24,24,0.7),rgba(24,24,24,0.7)), url('../images/banner-01.png') center/cover no-repeat;
  padding-top: 300px;
  padding-bottom: 80px;
}

.hero-section h1, .hero-section p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.btn-danger {
  background: #e10600;
  border: none;
  font-weight: bold;
  letter-spacing: 1px;
}

.btn-danger:hover {
  background: #b30000;
}

.custom-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.custom-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(225,6,0,0.15);
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

footer {
  background: #111 !important;
  color: #bbb;
}

.brand-logo {
  max-height: 48px;
  filter: grayscale(1) contrast(1.2);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s;
}
.brand-logo:hover {
  filter: none;
  opacity: 1;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Animaciones de fade-in para secciones */
@media (prefers-reduced-motion: no-preference) {
  section, .custom-card, .brand-logo {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  }
  section.visible, .custom-card.visible, .brand-logo.visible {
    opacity: 1;
    transform: none;
  }
}

/* Ajustes para acordeón FAQ */
.accordion-button:not(.collapsed) {
  color: #e10600;
  background-color: #f8d7da;
}

/* Ajustes para redes sociales */
#extras a {
  text-decoration: none;
  transition: color 0.2s;
}
#extras a:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 60vh;
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .navbar-brand {
    font-size: 1.2rem;
  }
  .custom-card {
    margin-bottom: 1.5rem;
  }
}
