/* Estilo general */
body {
    scroll-behavior: smooth;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.navbar-brand img {
  max-height: 60px;
  width: auto;
}
/* Hover para tarjetas de disciplinas */
.hover-card:hover {
  transform: translateY(-5px);
  transition: all 0.3s;
}
.hover-card img {
    transition: transform 0.3s;
}
.hover-card img:hover {
    transform: scale(1.05);
}

/* Línea de tiempo simple */
.timeline {
  list-style: none;
  padding-left: 0;
}
.timeline li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
}
.timeline li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #007bff;
  font-size: 1.2rem;
}

/* Masonry / galería */v
#masonryContainer img {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    transition: transform 0.3s;
}
#masonryContainer img:hover {
    transform: scale(1.05);
}

/* Animaciones de texto y logo del hero */
.animated-logo,
.animated-text,
.animated-subtext,
.animated-btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.5s ease forwards;
}
.animated-logo { animation-delay: 0.5s; }
.animated-text { animation-delay: 1s; }
.animated-subtext { animation-delay: 1.5s; }
.animated-btn { animation-delay: 2s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Parallax ligero hero */
#inicio {
    background-attachment: fixed;
}

/* FNAC bloques */
#fnac .row > div {
    line-height: 1.2;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    padding-top: 1.5rem;
    font-size: 1.3rem;
}
@media (max-width: 767.98px) {
    #fnac .row > div {
      padding-right: 0.75rem;
      padding-left: 0.75rem;
    }
}
#fnac {
    background-image: url('img/section1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

/* MODAL lado izquierdo */
.modal-left {
    background-image: url('img/barnermodal.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    width: 400px;
    height: 600px;
    min-height: 600px;
}
.modal-left::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* MODAL lado derecho */
.modal-right {
    background-image: url("img/modalderecho.webp");
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 650px;
    min-width: 740px;
    height: 400px;
    min-height: 600px; 
}

/* Ocultar modal y backdrop en móviles */
@media (max-width: 767px) {
    #modalConvocatoria,
    .modal-backdrop {
        display: none !important;
    }
}

/*=========== SECCIÓN CONTACTANOS ===========*/

#Contactanos {
  background-image: url("img/section2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
   
}

/* Tarjeta de contacto animada */
.contact-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* La animación ocurre al pasar el mouse sobre la tarjeta */
.contact-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.contact-card a {
    display: block;
    text-decoration: none;
    color: #000 !important;
    padding: 30px;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.2);
}

.contact-text {
    color: #000 !important;
    margin: 0;
}

/*=========================================*/

section {
    padding: 80px 15px;
    min-height: 50vh;
}

#disciplinas{
    background-color: #F3A14F;
    color: #f8f9fa;
}


/* Aplica a toda la sección */
#hoteles {
  position: relative;
  z-index: 1;
  background-image: url("img/section2.png");
  padding: 60px 0;
  overflow: hidden; /* evita que la imagen se salga */
  background-size: cover;      /* cubre toda la sección */
  background-position: center; /* centra la imagen */
  background-repeat: no-repeat;
  min-height: 600px; 
}

/* Imagen flotante */
.floating-img {
  position: absolute;
  top:30%;    /* posición inicial */
  left: 90%;     /* centrada horizontalmente */
  transform: translateX(-50%);
  width: 300px;  /* ajusta el tamaño */
  animation: floatY 4s ease-in-out infinite;
  pointer-events: none; /* no bloquea clicks en la sección */
  box-shadow: #000;
}

/* Animación arriba-abajo */
@keyframes floatY {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 20px);
  }
}



/* Imagen que se mueve de derecha a izquierda 
.floating-image-left {
  position: absolute;
  top: 10%;
  right: -250px; /* Comienza fuera de la pantalla 
  width: 150px;
  animation: slide-left 20s linear infinite;
 
}

@keyframes float {
  0% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(20px); }
  100% { transform: translateX(-50%) translateY(0); }
}

@keyframes slide-left {
  0% { right: -250px; }
  100% { right: 100%; } /* Sale completamente a la izquierda 
}
*/
/* Imagen que sube y baja (segunda) */
.floating-img2 {
  position: absolute;
  top:20%;    /* posición inicial */
  left: 5%;     /* centrada horizontalmente */
  transform: translateX(-50%);
  width: 300px;  /* ajusta el tamaño */
  animation: floatY 4s ease-in-out infinite;
  pointer-events: none; /* no bloquea clicks en la sección */
  box-shadow: #000;
}

/* Animación arriba-abajo */
@keyframes floatY {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 20px);
  }
}

.hotel-carousel {
    
    padding: 0 20px;
    
  }

  .hotel-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
    margin: 10px;
  }

  .hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  }

  .hotel-img {
    height: 240px;
    background-size: cover;
    background-position: center;
  }

  .hotel-content {
    padding: 20px;
  }

  .hotel-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
  }

  .hotel-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .hotel-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    transition: background .3s ease;
  }

  .hotel-btn:hover {
    background: #0056b3;
  }

  /* Arrows personalizados */
  .slick-prev:before, .slick-next:before {
    font-size: 32px;
    color: #333;
  }

  .slick-dots li button:before {
    font-size: 12px;
    color: #007bff;
  }

  .slick-dots li.slick-active button:before {
    color: #0056b3;
  }



  .stars {
    display: inline-flex;
    color: gold;
    font-size: 2rem;
  }
  .stars .half {
    position: relative;
  }
  .stars .half::before {
    content: "★";
    position: absolute;
    width: 50%;
    overflow: hidden;
    color: gold;
  }


   /* VIDEO DE FONDO */
   #videoFondo {
    position: fixed;      /* o absolute según tu estructura */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;    /* Hace que el video cubra todo */
  z-index: -1;          /* Queda detrás del contenido */
  }

  /* CONTENIDO ENCIMA DEL VIDEO */
  .contenido {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.4); /* oscurece un poco el video */
  }

  .contenido h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .contenido button {
    padding: 12px 25px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    background: #ffcc00;
    color: black;
    cursor: pointer;
    transition: 0.3s;
  }

  .contenido button:hover {
    background: #ffaa00;
  }

  .card-body{
    background-color: #f8f9fa;
    color: #333;
  }
.btn-amarillo{
  background-color: #F3A14F;
    color: #f8f9fa;
}
.btn-amarillo:hover{
  background-color: #f7902b;
  color: #f8f9fa;
}

h2{
  color: #332a2a;
}

.btn-amarillo{
  background-color: #F3A14F;
    color: #f8f9fa;
}