/* Estilo para que la tarjeta crezca suavemente al pasar el mouse o al tocarla */
.card-hover-effect {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card-hover-effect:hover {
  transform: translateY(-8px) scale(1.02); /* La tarjeta sube ligeramente y crece un 2% */
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important; /* Sombra más pronunciada */
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Ajuste para celulares */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }
}

/* Estilo ajustado para la sección principal (Hero) */
.hero-header {
    background-image: url('../img/header-sutrehn.webp'); 
    background-size: cover;           
    background-position: center bottom;
    background-repeat: no-repeat;     
    min-height: 600px;                
    display: flex;                    
    align-items: center;
    justify-content: center;
    position: relative;               
    color: white;
    text-align: center;
    padding-top: 80px; /* Si la imagen aún trae una banda/logo arriba, reexportarla sin ella */
    padding-bottom: 80px;
}

/* Capa oscura semitransparente para legibilidad */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55); /* Oscurece un poco más para que resalte el texto */
    z-index: 1;
}

/* Asegura que el texto flote por encima */
.hero-content {
    position: relative;
    z-index: 2;
}


/* Evita el desplazamiento horizontal no deseado en dispositivos móviles */
/* 'clip' no crea contenedor de scroll, así el navbar sticky-top sigue funcionando */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

/* Efecto hover moderno para todos los botones principales y de la barra */
.btn {
  transition: all 0.3s ease-in-out;
}

.btn-dark:hover, .btn-light:hover {
  transform: translateY(-3px); /* El botón sube ligeramente */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Se proyecta una sombra elegante */
}

/* Evita que el navbar sticky tape los títulos al navegar por anclas */
section[id] {
  scroll-margin-top: 72px;
}
