/* ===============================
   RESET H2
=============================== */
.text h1, .text h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* ===============================
   ESTILOS GENERALES
=============================== */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.section-padding {
  padding: 80px 0;
}

/* ===============================
   NAVBAR
=============================== */
.navbar-transparent {
  background-color: transparent !important;
}

.navbar .nav-link,
.navbar .navbar-brand {
  color: #000 !important;
  font-weight: 500;
}

/* Hover NAV (negro + blanco) */
.navbar-nav .nav-link {
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 10px 15px;
  border-radius: 6px;
}

.navbar-nav .nav-link:hover {
  background-color: #000;
  color: #fff !important;
}


.text span {
    color: var(--green);
}

/* ===============================
   MENÚ HAMBURGUESA (MOBILE)
   BOTÓN NEGRO + UL 50vh
=============================== */
@media (max-width: 991px) {

  .navbar-toggler {
    background-color: #000;
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
  }

  .navbar-toggler-icon {
    filter: invert(1);
  }

  .navbar-collapse {
    background: transparent;
    padding: 0;
  }

  .navbar-nav {
    background: rgba(0, 0, 0, 0.6);
    height: 50vh;
    margin-top: 10px;
    padding: 20px;
    border-radius: 12px;
    overflow-y: auto;
    backdrop-filter: blur(6px);
  }

  .navbar-nav .nav-item {
    margin-bottom: 10px;
  }

  .navbar-nav .nav-link {
    color: #fff !important;
  }

  .navbar-nav .nav-link:hover {
    background: rgba(0, 0, 0, 0.85);
  }
}

/* ===============================
   BANNER / SLIDER
=============================== */
.carousel-item img {
  height: 700px;
  object-fit: cover;
}

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

/* ===============================
   SECCIÓN NOSOTROS
=============================== */
.bg-nosotros {
  background: linear-gradient(90deg, #d7d7d7 50%, #ffffff 50%);
}

.nosotros-texto {
  padding: 30px;
  border-radius: 15px;
}

.nosotros-texto h2 {
  margin-bottom: 15px;
}

/* Fondo gris completo en mobile */
@media (max-width: 768px) {
  .bg-nosotros {
    background: #d7d7d7;
  }

  .nosotros-texto {
    text-align: center;
  }
}

/* ===============================
   SERVICIOS
=============================== */
.card {
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

/* ===============================
   GALERÍA
=============================== */
.gallery-img {
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
  filter: brightness(70%);
}

.gallery-item {
  display: block;
}

/* ===============================
   MODAL - ZOOM IMAGEN
=============================== */
.zoom-img {
  cursor: zoom-in;
  transition: transform 0.3s ease;
  max-width: 100%;
}

.zoom-img.zoom-active {
  transform: scale(1.8);
  cursor: zoom-out;
}

/* ===============================
   FILTRO GALERÍA
=============================== */
.filter-btn {
  margin: 5px;
}

.filter-btn.active {
  background-color: #000;
  color: #fff;
}

/* ===============================
   CONTACTO
=============================== */
#contacto form {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===============================
   FOOTER
=============================== */
.footer {
  background-color: #000;
  color: #fff;
  padding: 20px 0;
}

/* ===============================
   WHATSAPP FLOTANTE
=============================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-float.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(20px);
}

/* ===============================
   BOTÓN SUBIR
=============================== */
.scroll-top {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 25px;
  right: 20px;
  background-color: #d7d7d7;
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: scale(1.1);
}

/* ===============================
   RESPONSIVE GENERAL
=============================== */
@media (max-width: 768px) {
  .carousel-item img {
    height: 400px;
  }
}
