/* ================================
   FUENTES
================================ */
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Momo+Signature&family=Rochester&display=swap');

/* ================================
   RESET GLOBAL
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #333;
  overflow-x: hidden;
}

/* ================================
   NAVBAR
================================ */
.navbar {
  width: 100%;
  background: #000007ea;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  position: sticky;
  top: 0;
  z-index: 900;
}

/* Logo + texto */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-text {
  font-size: 25px;
  font-family: "Rochester", cursive;
  color: white;
}

/* Enlaces */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* ================================
   CONTENEDORES GENERALES
================================ */
section {
  padding: 80px 20px;
  min-height: 80vh;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

h2 {
  width: 90%;
  margin: auto;
  line-height: 1.7;
  text-align: center;
}

/* ================================
   TARJETAS (Servicios Destacados)
================================ */
.service-card {
  width: 280px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

























/* ===== CONTENEDOR DOS CARRUSELES ===== */
.carruseles-doble {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    margin: 40px auto;
    gap: 40px;
    flex-wrap: wrap; /* Para móviles */
}

/* ===== CARRUSEL GENERAL ===== */
.carousel-wrapper {
    position: relative;
    width: 48%;
    max-width: 500px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Para pantallas pequeñas */
@media (max-width: 800px) {
    .carousel-wrapper {
        width: 100%;
    }
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.carousel {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 10px;
}

/* ===== SLIDES: IMÁGENES Y VIDEOS ===== */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Oculto por defecto */
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* Evita clics en videos ocultos */
}

/* Slide visible */
.slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===== BOTONES DEL CARRUSEL ===== */
.btn-prev,
.btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 28px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
    z-index: 20;
}

.btn-prev:hover,
.btn-next:hover {
    background: rgba(0,0,0,0.7);
}

.btn-prev {
    left: 10px;
}

.btn-next {
    right: 10px;
}

/* ===== TITULOS ===== */
#galeria h1 {
    font-size: 2rem;
}

#galeria h2 {
    margin: 10px auto 20px auto;
    width: 90%;
    line-height: 1.6;
}













































#acerca {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Títulos */
#acerca h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Párrafos largos dentro del h2 */
#acerca h2 {
    font-weight: normal;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 20px;
    text-align: center;
}

/* Contenedor de ventajas */
#acerca div {
    margin: 30px auto 0 auto;
    width: 80%;
    max-width: 600px;
}

/* Lista */
#acerca ul {
    list-style: none;
    padding: 0;
}

#acerca li {
    font-size: 1.1rem;
    margin: 10px 0;
}


/* ================================
   CARD DE CONTACTO
================================ */
.whatsapp-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
  margin-top: 20px;
}

.whatsapp-card img {
  width: 80px;
  margin-bottom: 20px;
}

.whatsapp-btn-fixed {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  width: 65px !important;
  height: 65px !important;
  background: #25D366;
  border-radius: 50%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: 38px;
  color: white;
  z-index: 2000 !important;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.4);

  /* 🔥 solución al halo blanco 🔥 */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* BOTÓN FLOTANTE FACEBOOK */
.facebook-btn-fixed {
  position: fixed !important;
  bottom: 100px !important; /* lo puse arriba del WhatsApp, si quieres igual pon 25px */
  right: 25px !important;
  width: 65px !important;
  height: 65px !important;
  background: #1877F2;
  border-radius: 50%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: 38px;
  color: white;
  z-index: 2000 !important;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.4);
}


/* ================================
   FOOTER
================================ */
.footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

/* ================================
   MEDIA QUERY — MÓVIL (Vertical)
================================ */
@media (max-width: 767px) {

  .nav-links {
    display: none;
  }

  .brand-text {
    font-size: 22px;
  }

  .service-card {
    width: 90%;
  }

  .whatsapp-btn-fixed {
    width: 60px !important;
    height: 60px !important;
    bottom: 18px !important;
    right: 18px !important;
    font-size: 32px;
  }

  h2 {
    width: 95%;
    font-size: 1.1rem;
  }

  .carruseles-doble {
    gap: 25px;
  }

  .carousel-wrapper {
    width: 100%;
  }
}

/* ===================================
   MEDIA QUERY — TABLET
=================================== */
@media (min-width: 768px) and (max-width: 1024px) {

  .whatsapp-btn-fixed {
    width: 70px !important;
    height: 70px !important;
    bottom: 22px !important;
    right: 22px !important;
  }

  .service-card {
    width: 46%;
  }
}
