@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Satisfy&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: "Poppins", sans-serif;
}

:root {
  --color-fondo-gris: #f5f5f5;
  --color-naranja-primario: #ff8000;
  --color-naranja-hover: #db6e00;
  --color-secundario: #2ecc71;
  --color-texto-gris: #7b7b7b;
  --color-blanco: #ffffff;
  --color-texto-negro: #4a4a4a;
  --color-naranja-oscuro: #854403;
}

html {
  font-size: 16px;

  @media screen and (min-width: 1400px) {
    font-size: 16px;
  }

  @media screen and (max-width: 900px) {
    font-size: 15px;
  }

  @media screen and (max-width: 600px) {
    font-size: 14px;
  }

  @media screen and (max-width: 450px) {
    font-size: 13px;
  }

  @media screen and (max-width: 350px) {
    font-size: 12px;
  }
}

body {
  font-family: "Poppins", sans-serif;
  /* overflow: scroll; */
  background-color: var(--color-fondo-gris);
}

/*-------------- Navbar styles----------------------- */
.navbar-brand img {
  display: block;
  height: 40px;
}

.navbar-nav {
  gap: 1.7rem;
}

.nav-item a {
  font-size: 1rem;
}

.container-fluid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-right: 15% !important;
  padding-left: 15% !important;
}

.navbar-collapse {
  justify-content: flex-end;
}

.nav-item a:hover {
  color: var(--color-naranja-primario);
}

/*-------------- Portada carrusel----------------------- */
.carousel-item img {
  height: 50vh;
  object-fit: cover !important;
  /* filter: brightness(70%); */
}

.carousel-caption {
  justify-content: center;
  align-items: center;
}


/* Titulo h1 */
.carousel-caption h1 {
  font-size: 7rem;
  font-weight: 700;
}

/* -----------------Paquetes personalizados----------------------- */

.Pers, .pak-nacional, .nosotros-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
  /* left: 50%;
  top: 50%;

  transform: translate(0%, -50%); */
  background-color: var(--color-fondo-gris);
}

.info_pers, .PaqPers{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.PaqPers {
  width: 80%;
  border-radius: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--color-naranja-primario);

  padding-top: 20px;
  padding-bottom: 20px;

  /* border: 1px solid #aa4e13; */
  /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px */
  text-align: center;

  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(https://images.pexels.com/photos/2104152/pexels-photo-2104152.jpeg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}



.PaqPers h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-blanco);
  text-align: center;
  text-transform: uppercase;
  margin: 15px;
}

.PaqPers p {
  font-size: 1.2rem;
  text-align: center;
  color: #fff;
  margin: 0px 70px 10px 70px;
}

.PaqPers span {
  color: var(--color-naranja-primario);
}

.img_pers {
  border-radius: 50%;
  height: 200px;
  width: 200px;
  overflow: hidden;
}

.img_pers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: auto;
}

.btn-info {
  width: 15%;
}

#message {
  display: none;
  color: rgb(255, 255, 255);
  font-weight: bold;
  margin-bottom: 10px;
  padding: 10px;
}

/*-------------- Cards contenedor----------------------- */

.contenedor-cards{
  margin-bottom: 10px;
    align-items: center;
    display: flex;
    justify-content: space-around;
    background-color: var(--color-fondo-gris);
    width: 100%;
    padding: 20px;

    gap: 25px;  
    overflow-x: auto;         /* muestra barra horizontal si sobra */
    overflow-y: hidden;
    scroll-behavior: smooth;  /* desplazamiento suave (para botones) */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* mejor en iOS */
}

/* Estilos del contenedor general del card */
.porcent {
  display: flex;
  padding-top: 50px;
  align-items: center;
  justify-content: center;
  /* background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
    url("img/Pattern1.png");  */
  background-repeat: no-repeat;   /* solo una vez */
  background-size: cover;         /* ocupa toda la pantalla */
  background-position: center;    /* centrada */
  background-color: var(--color-fondo-gris);

}

.prox h2,.titulo-paks{
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-texto-negro);


  border-bottom: 2px solid var(--color-texto-gris);
}

/* Div general cards */

.Paq {
  width: 80%;
}

.card-element {
  min-height: 500px; /* Altura mínima */
  max-height: 500px; /* Altura máxima */
  min-width: 290px;         /* mínimo en pantallas pequeñas */
  max-width: 320px;         /* opcional */

  background-color: white;
  border-radius: 10px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  /* padding: 20px; */
  text-align: center;
  transition: transform 0.2s;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;

  scroll-snap-align: center; /* encaja en el snap */
  box-sizing: border-box;
}

.card-image {
  width: 100%;
  height: 40%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}

/* Estilos del div de la imagen */
.card-image img {
  width: 100%; /* Ancho del 100% del contenedor */
  height: 200px; /* Altura fija */
  object-fit: cover;
}

.card-title,
.card-description,
.card-price,
.card-time,
.card-servicio,
.card-finalPrice {
  width: 80%;
  text-align: start;
}

/* .card-price p {
  margin-top: 10px;
  margin-bottom: 0px !important;
} */

.card-price span {
  color: var(--color-naranja-primario);
}

/* Estilos de la etiqueta Tiempo */
.card-time{
  border-radius: 5px;
  position: relative;
  z-index: 1; /* encima */
  bottom: 12px; 
}

.card-time-style {
  background-color: var(--color-naranja-primario);
  padding: 3px 15px 3px 15px;
  border-radius: 5px;
  display: inline-block;
}

.card-time p{
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-blanco);
  line-height: 1.5em; /* Ajusta el interlineado */
  text-align: center;

  
}

/* Estilos del título */
.card-title h3 {
  white-space: nowrap;      /* 1. Obliga al texto a quedarse en una sola línea */
  overflow: hidden;         /* 2. Oculta todo lo que se salga del contenedor */
  text-overflow: ellipsis;
  font-weight: 600;
  text-align: left;
  font-size: 1.3rem;
  margin: 5px 0;
  color: #333;
  margin-bottom: 10px;
}



/* Estilos de la descripción */
.card-description p {
  font-size: 0.9rem;
  color: var(--color-texto-gris);
  min-height: 3em; /* Ajusta la altura mínima */
  line-height: 1.5em; /* Ajusta el interlineado */
}

/* Estilos del servicio */
.card-servicio{
  /*  */
}

.card-servicio p{
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--color-texto-gris);
}

.card-description {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limitar a 3 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Estilos del Precio Final */
.card-finalPrice{
  border-top: 1px solid #b2b2b2;
}



.card-finalPrice p{
  margin: 0;
  padding: 0;
  margin-top: 15px;
  font-size: 0.8rem;
  color: var(--color-texto-gris);
}

/* Estilos del Precio total */
.card-price{
  margin: 0;
  padding: 0;
}

.card-price p {
  margin-bottom: 15px;
  padding: 0;
  font-size: 0.9rem;
  color: var(--color-texto-negro);
}

.card-price span{
  font-size: 1.5rem;
  color: var(--color-texto-negro);
  font-weight: 400;
}

/* Estilos del botón */
.card-button {
  width: 80%;
}

/* card nacional */
.nacional-container, .internacional-container {
  width: 80%;
}

.card-button button, .btn-Trav {
  padding: 5px 10px;
  background-color: var(--color-naranja-primario);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
  margin-bottom: 20px;
}

.card-button button:hover, .btn-Trav:hover {
  background-color: var(--color-naranja-hover);
}

/* --------------------Estilo de sección Nosotros----------------------- */

.nosotros{
  text-align: start;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  width: 80%;
}

.nosotros h3{
  font-size: 2rem;
  color: var(--color-texto-negro);
}

.nosotros h1, .nosotros h2{
  font-size: 1.5rem;
  color: var(--color-texto-negro);
}

.nosotros p, .nosotros li{
  font-size: 1rem;
  color: var(--color-texto-negro)
}

.nosotros li i{
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-naranja-primario);
}

/* ===== -----------------estilos del carrusel------------------ ===== */
.carrusel-fotos{
  background-color: var(--color-fondo-gris);
  padding-bottom: 80px;
}

.multi-carousel {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 80%;
  position: relative;
}

.mc-viewport {
  overflow: hidden;
  flex: 1 1 auto;
}

.mc-track {
  display: flex;
  gap: 12px;
  transition: transform 300ms ease;
  will-change: transform;
  align-items: stretch;
  /* usamos transform sólo para animaciones suaves opcionales; scrollBy funciona sobre el contenedor padre */
}

/* Por defecto 4 por vista en pantallas grandes */
.mc-slide {
  flex: 0 0 calc((100% - 10 * 12px) / 4); /* 4 slides, restando gaps */
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.mc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Botones */
.mc-btn {
  background: rgba(0, 0, 0, 0.273);
  color: white;
  border: none;
  width: 80px;
  height: 80px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.mc-btn:disabled { opacity: 0.35; cursor: default; }

/* Responsive: 3 por vista */
@media (max-width: 1024px) {
  .mc-slide { flex: 0 0 calc((100% - 2 * 12px) / 3); }
}

/* Responsive: 2 por vista */
@media (max-width: 700px) {
  .mc-slide { flex: 0 0 calc((100% - 1 * 12px) / 2); }
}

/* Responsive: 1 por vista (móvil) */
@media (max-width: 420px) {
  .mc-slide { flex: 0 0 100%; }
}

/* --------------------Estilo del formulario en manage.html----------------------- */
.footer{
  background-color: var(--color-naranja-primario);
}

.footer-content{
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 50px;
  background-color: var();
}

.footer li, .footer i, .footer a{
  text-decoration: none;
  font-size: .9rem;
  line-height: 30px;
  color: var(--color-blanco);
}

.footer a:hover{
  color: var(--color-naranja-oscuro);
} 

.footer h3{
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-naranja-oscuro);
}

.link ul{
  display: flex;
  padding-left: 0;
  flex-direction: column;
  align-items: start;
  justify-content: start;
}

.inf{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* -----------------resposive------------------------------------------------ */


.contenedor-cards{
  @media screen and (max-width: 600px){
    gap: 15px;
    padding: 15px;
  }
}

.card-element{
  @media screen and (max-width: 600px){
    min-height: auto;
    max-height: 400px;
    min-width: 220px;
    max-width: 290px; 
    width: 290px;
  }
}

.card-button button {
  @media screen and (max-width: 600px){
   font-size: .9rem;
  }
  
}

.Paq{
  @media screen and (max-width: 600px){
    width: 90%;
  }
}

.PaqPers p {
  @media screen and (max-width: 600px){
    margin: 10px;
  }
}


.btn-info {
  @media screen and (max-width: 600px){
    width: auto;
  }
}

.prox h2, .titulo-paks, .nosotros h3, .PaqPers h3{
  @media screen and (max-width: 600px){
    font-size: 1.7rem;
  }
}

.nosotros p, .nosotros li, .nosotros li i, .PaqPers p{
  @media screen and (max-width: 600px){
    font-size: 0.9rem;
  }
}

.footer-content{
  @media screen and (max-width: 600px){
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
  }
}

.link, .inf li, .link ul{
  @media screen and (max-width: 600px){
    text-align: center;
    flex-direction: column;
    display: flex;
    align-items: center;
  }
}

.nosotros ul{
  @media screen and (max-width: 600px){
    padding-left: 1.2rem;
  }
}

.nosotros h1, .nosotros h2{
  @media screen and (max-width: 600px){
    font-size: 1.2rem;
  }
}


/* --------------------Estilo del formulario en manage.html----------------------- */
.manageBody {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
}

form input {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #218838;
}

#tipo {
  margin-bottom: 10px;
}

.select {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  cursor: pointer;
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
  padding: 10px;
  border: 2px solid #cccccc;
  border-radius: 5px;
}
.select-styled {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 8px 15px;
  @include transition(all 0.2s ease-in);
}

/* Lista de cards en manage.html */
#card-list {
  width: 100%;
  max-width: 600px;
  list-style: none;
  padding: 0;
}

#card-list li {
  margin-bottom: 10px;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#card-list li span {
  color: #b35100;
  font-size: 12px;
}

#card-list li button {
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

#card-list li button:hover {
  background-color: #c82333;
}
