.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: transparent !important;

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        &:focus {
            outline: none !important; /* Asegura que tampoco aparezca al enfocar */
            box-shadow: none !important; /* Asegura que tampoco haya sombra */
        }
    }
    

    .logo {
        width: 70px;
    }

    .nav-link {
        font-size: 1.3em;
        color: #3DBBEC;
        font-weight: 550;
        position: relative; /* Necesario para ::after */
        text-decoration: none;
        overflow: hidden; /* Asegura que no se desborde */
        &:hover {
            color: #A89559 !important;
    
        }
        margin: 0px 20px;
    }
    
    .nav-link::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px; /* Grosor del subrayado */
        background-color: #A89559; /* Color del subrayado */
        transition: width 0.3s ease-in-out; /* Suavidad y duración */
    }
    
    .nav-link:hover::after {
        width: 100%; /* Expande de izquierda a derecha */
    }
}

.header {
    position: relative;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Asegura que el pseudo-elemento no desborde el header */
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/imagenes/departamento-header-2.webp');
    background-repeat: no-repeat;
    background-size: cover;
    filter: grayscale(0.7);
    z-index: -1;
}

.box-principal {
    position: relative;
    filter: none; 
    background-color: rgba(168, 149, 89, 0.67);
    border: 1px solid #A89559;
    min-height: 100px;
    z-index: 1;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* Permite que se ajuste en pantallas más pequeñas */
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1; /* Igual ancho para todos los elementos */
    min-width: 200px; /* Ancho mínimo para evitar que se comprima demasiado */
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 100%; /* Asegura que se ajusten al espacio disponible */
    box-sizing: border-box;
}

.form-group input[type="text"] {
    font-size: 14px;
}

.btn-junin {
    margin-top: 10px;
    background-color: #3DBBEC;
    color: #FFF;
    padding: 13px;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid #3DBBEC;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;

    &:hover {
        background-color: #FFF;
        color: #3DBBEC;
        border: 2px solid #3DBBEC;
    }
}

.btn-principal {
    background-color: #A89559;
    color: #FFF;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #A89559;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;

    &:hover {
        background-color: #FFF;
        color: #A89559;
        border: 2px solid #A89559;
    }
}

.btn {
    color: #25CC64;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #25CC64;
}

/* SLIDER EFECT */
.slider::before,
.slider::after {
  content: "";
  height: 165px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotate(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7)); /* Cambia este valor según la cantidad de imágenes */
  }
}

@keyframes scroll2 {
  0% {
    transform: translateX(calc(-250px * 7)); /* Cambia este valor según la cantidad de imágenes */
  }
  100% {
    transform: translateX(0);
  }
}

/* SLIDER EFFECT */
.slider::before,
.slider::after {
  background: linear-gradient(to right, #46cfbd 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100%;
  position: absolute;
  z-index: 2;
}

.slider {
  border-radius: 10px;
  background-color: transparent !important;
  height: auto;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 60px;
  margin-bottom: 40px;
}

.slider .slide-track {
  animation-delay: -20s;
  animation: scroll 40s linear infinite; /* Animación hacia la derecha */
  display: flex;
  width: calc(250px * 7); /* Asegúrate de que el número de imágenes sea correcto */
  background-color: transparent !important;
  animation-play-state: running;
}

.slider .slide-track-2 {
  margin-top: 35px;
  animation-delay: -20s;
  animation: scroll2 40s linear infinite; /* Animación hacia la izquierda */
  display: flex;
  width: calc(250px * 7); /* Asegúrate de que el número de imágenes sea correcto */
  background-color: transparent !important;
  animation-play-state: running;
}

.slider .slide {
  height: 165px;
  width: 250px;
  background-color: transparent !important;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  margin: 0px 80px;
}

.img-slider {
  height: 190px !important;
}

.img-slider-prensa {
  max-height: 190px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.img-slider {
  margin: 0px 20px;
  border-radius: 6px;
}


/* BODY */

.body-mascotas {
  background-color: rgb(255, 255, 46);
  img {
    height: 450px;
    width: 340px;
    border-radius: 10px;
    z-index: 1;
  }
  h3 {
    color: #080808;
    font-size: 2.3em;
    font-family: fantasy;
    text-decoration: dotted;
  }
  button {
    margin-bottom: 15px;
  }
}

.body-footer {
    background-color: #917c7c;
    h5 {
        color: #dbd9d9;
        font-size: 1.7em;
    }
    h6 {
        font-size: 1.5em;
        color: #cccccc;
    }
    a {
        text-decoration: none !important;
    }
}

.body-contacto {
    h6 {
        font-size: 1.3em;
        color: #917c7c;
        font-weight: 650;
        text-transform: uppercase;
    }
}

.body-testimonio {
    min-height: 60vh;
    background-color: #080808;
    display: flex;
    align-items: center;

    h3 {
        color: #46cfbd !important;
        text-shadow: 0 0 5px #BCDAD6, 0 0 5px #BCDAD6 !important;
    }

    p {
        color: #ccc !important;
    }

    .row-testimonios {
        .card {
            background-color: transparent !important;
            border: 2px solid #46cfbd;
            border-radius: 10px;
            margin: 10px 0px;
            h5 {
                color: #46cfbd !important;
            }
        }
    }
}

.body-slidergaleria {
    padding: 70px;
    background-color: #BCDAD6 !important;
}

.body {
    padding: 80px 0px;

    .title {
        font-weight: 600;
        text-align: center;
        font-size: 2.3em;
        color: #A89559;
        text-transform: uppercase;
    }

    .title-junin {
        color: #3DBBEC;
        font-size: 2.3em;
        font-family: fantasy;
        text-decoration: dotted;
    }

    .subtitle {
        text-align: justify;
        font-size: 1.2em;
        color: #917c7c;
    }

    .row-card {
        padding-top: 40px;
        .col-sm {
            display: flex;
            justify-content: center;
        }
        .card {
            border-bottom: 1.5px solid #A89559;
            border-left: 1.5px solid #A89559;
            border-right: 1.5px solid #A89559;
            border-top: 1.5px solid #A89559;
            transition: 0.3s !important;
            border-radius: 5px;
            margin: 20px 0px;

            &:hover {
                -webkit-transform:scale(1.1);
                -moz-transform:scale(1.1);
                -ms-transform:scale(1.1);
                -o-transform:scale(1.1);
                transform:scale(1.1);
            }

            .card-title {
                text-transform: uppercase;
            }
        }
    }

}

.swiper-container {
    width: 100%;
    max-width: 900px;
    margin: auto;
    position: relative;
    overflow: hidden;  /* Para evitar que las imágenes laterales se salgan */
  }
  
  .swiper-wrapper {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
  }
  
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex: 0 0 auto;
    width: 80%;  /* Las imágenes no ocuparán el 100% del contenedor */
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .swiper-slide img {
    height: 450px;
    width: 300px;
    border-radius: 10px;
    z-index: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .swiper-slide-prev {
    margin-right: -40px;
    z-index: -1;
  }
  .swiper-slide-next {
    margin-left: -40px;
    z-index: -1;
  }

  .swiper-slide-prev img,
  .swiper-slide-next img {
    opacity: 0.7;
    transform: scale(0.8); /* Reducimos el tamaño de las imágenes laterales */
    z-index: 0;  /* Las imágenes laterales deben quedar detrás de la central */
  }
  
  .swiper-slide-active img {
    opacity: 1;
    transform: scale(1); /* La imagen activa se mantiene al tamaño completo */
    z-index: 2; /* La imagen central será la que se vea por encima */
  }
  
  input, textarea, select {
    font-size: 1.1em !important;
    color: #81b9b2 !important;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    background-color: transparent !important;
    outline: none !important; /* Elimina el contorno azul */
}

input:focus, textarea:focus, select:focus {
    color: #3DBBEC !important;
  outline: none !important; /* Asegura que tampoco aparezca al enfocar */
  box-shadow: none !important; /* Asegura que tampoco haya sombra */
}

.center {
    text-align: center;
}

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
  }
  
  .whatsapp-icon img {
    width: 35px;
    height: 35px;
  }
  
  .whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }