/* Asegura que el layout ocupe toda la altura */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Permite que el footer se pegue abajo si el contenido es corto */
body {
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 0;
    overflow-x: hidden;
}

.fondo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background-image: url(../imagenes/fondo2025.jpg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

main {
    padding: 40px 20px;
    text-align: center;
}

.carousel-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    margin-bottom: 50px;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    flex: 0 0 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    max-height: 500px; /* Ajusta este valor según el tamaño que desees */
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-button.prev {
    left: 15px;
}

.carousel-button.next {
    right: 15px;
}

/* Estilo general del navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: #045d3f;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Logo alineado a la izquierda */
.logo img {
    height: 70px;
    width: auto;
}

/* Menú alineado a la derecha */
.menu {
    display: flex;
    gap: 70px;
}

/* Estilos generales para los enlaces */
.menu a {
    text-decoration: none;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: rgb(255, 255, 255);
    font-weight: 600;
}

.menu a:hover {
    color: #1bb1b6;
}

.agendar {
    display: flex;
    align-items: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.btn-agendar {
    background-color: #0aeb55;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-agendar:hover {
    background-color: #0e9eb8;
}

.container-conocenos {
    padding: 10px;
    text-align: center;
    background-color: rgba(255, 253, 253, 0.648);
}

.parrafo-conocenos {
    margin-bottom: 30px;
    font-size: 18px;
    color: #333;
}

.container-imagenes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.imagenes-lugar img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    font-size: 12px;
    padding: 5px 0;
    color: #3e3e41;
    background-color: #d0d0d1cb;
    margin-top: auto;
}

/* ----------------- RESPONSIVE ------------------ */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }

    .menu {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-top: 10px;
    }

    .agendar {
        width: 100%;
        margin-top: 1rem;
    }

    .container-principal,
    .container-somos,
    .container-conocenos {
        padding: 1rem;
        text-align: center;
    }

    .container-contacto {
        padding: 20px;
        flex-direction: column;
        align-items: center;
    }

    .container-imagenes {
        grid-template-columns: 1fr;
    }

    .logo img {
        height: 40px;
    }

    h1 {
        font-size: 30px;
        margin: 30px 0;
    }

    .carousel-button {
        font-size: 1.5rem;
        padding: 5px;
    }
}
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1);
  }

  /* Estilos responsivos para pantallas pequeñas */
@media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: center;
      padding: 10px 15px;
      gap: 10px;
    }
  
    .navbar-left {
      justify-content: center;
      width: 100%;
      gap: 10px;
    }
  
    .logo img {
      max-height: 50px;
      height: auto;
      width: auto;
    }
  
    .menu {
      flex-direction: column;
      gap: 5px;
      align-items: center;
      width: 100%;
    }
  
    .menu a {
      font-size: 16px;
    }
  
    .agendar {
      width: 100%;
      justify-content: center;
      margin-top: 5px;
    }
  
    .btn-agendar {
      padding: 8px 16px;
      font-size: 14px;
    }
  
    .container-principal {
      flex-direction: column;
      margin-left: 0;
      text-align: center;
    }
  
    .container-bienvenida {
      text-align: center;
    }
  
    .container-bienvenida h1 {
      font-size: 32px;
      text-align: center;
    }
  
    .parrafo-somos,
    .parrafo-conocenos {
      margin: 20px;
      font-size: 18px;
    }
  }
  /* RESPONSIVE */
  @media (max-width: 950px) {
    .menu-agendar-wrapper {
      flex-direction: column;
      align-items: center;
      width: 100%;
      gap: 10px;
    }
  
    .menu {
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }
  
    .agendar {
      justify-content: center;
      width: 100%;
    }
  
    .btn-agendar {
      width: fit-content;
      padding: 10px 30px;
    }
  }
  
  @media (max-width: 768px) {
    .container-contacto {
      flex-direction: column;
      align-items: center;
      padding: 0 15px 40px;
      gap: 20px;
    }
  
    .menu,
    .agendar {
      display: none;
      flex-direction: column;
      background-color: #045d3f;
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      z-index: 999;
      padding: 10px 0;
    }
  
    .menu.activo,
    .agendar.activo {
      display: flex;
    }
  
    .menu a {
      padding: 10px;
      text-align: center;
      color: white;
      border-bottom: 1px solid #0a9a6a;
    }
  
    .agendar {
      justify-content: center;
      padding: 10px 0;
    }
  
    .btn-agendar {
      margin: 0 auto;
    }
  
    .btn-agendar {
      margin: 0 auto;
    }
  } /* <-- Esta llave cierra el @media (max-width: 768px) anterior */
  
  /* Botón hamburguesa: oculto por defecto en desktop */
  .hamburguesa {
    font-size: 30px;
    cursor: pointer;
    color: white;
    user-select: none;
    z-index: 1000;
    position: absolute;
    top: 15px;
    right: 30px;
    display: none; /* oculto inicialmente */
  }
  
  /* Mostrar el botón hamburguesa en pantallas pequeñas */
  @media (max-width: 768px) {
    .hamburguesa {
      display: block;
    }
  }
  