
body {
  scroll-behavior: smooth;
  background-color: #ffffff;
}

h1, h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card img {
  height: 220px;
  object-fit: cover;
}

/* Botones flotantes */
.whatsapp-float,
.instagram-float {
  position: fixed;
  bottom: 20px;
  width: 60px;
  height: 60px;
  color: white;
  font-size: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  text-decoration: none;
}

/* WhatsApp: abajo a la derecha */
.whatsapp-float {
  right: 20px;
  background-color: #25D366;
}

.whatsapp-float:hover {
  background-color: #20b358;
}

/* Instagram: abajo a la izquierda */
.instagram-float {
  left: 20px;
  background: radial-gradient(circle at 30% 30%, #fdf497 0, #fdf497 10%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.instagram-float:hover {
  filter: brightness(1.1);
}

/* HERO */
.hero-overlay {
  position: relative;
  background-image: url('../assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

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

/* Fondo alternado para secciones  cambie a in gris claro*/
.bg-light-red {
  background-color: #faf8f8;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
}

.nav-link {
  color: #000; /* o el color base que uses */
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #d62828; /* rojo Global Vision */
}

html {
  scroll-padding-top: 60px; /* ajustá según la altura real de tu navbar */
  scroll-behavior: smooth;
}

.card {
  min-height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}


.social-icons a {
  font-size: 1.2rem;
  text-decoration: none;
}

/* Servicios hover effect */
.service-item {
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-item:hover {
  background-color: #f8f9fa;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item i {
  transition: all 0.3s ease;
}

.service-item:hover i {
  transform: scale(1.2);
  color: #d62828 !important;
}

.service-item h5 {
  transition: color 0.3s ease;
}

.service-item:hover h5 {
  color: #d62828;
}
