/* Animaciones */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Estado inicial */
#bienvenido .col-lg-6,
#bienvenido .logo img {
  opacity: 0;
}

/* Clases activas cuando la sección es visible */
#bienvenido.active .col-lg-6.center.mb-5 {
  animation: fadeInLeft 1s ease-out forwards;
}

#bienvenido.active .col-lg-6:not(.center.mb-5) {
  animation: fadeInRight 1s ease-out forwards;
}

#bienvenido.active .logo img:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

#bienvenido.active .logo img:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}
/* Animación sección FAQS */
#faqs {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

#faqs.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animación items FAQS */
.faqs .col-lg-6 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faqs.active .col-lg-6 {
  opacity: 1;
  transform: translateY(0);
}

.faqs.active .col-lg-6:nth-child(1) { transition-delay: 0.3s; }
.faqs.active .col-lg-6:nth-child(2) { transition-delay: 0.5s; }

/* Estilos acordeón */
.faq-item {
  margin: 1rem;
  background: #25294d;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.collapse-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.5rem 2rem;
  border: none;
  background: none;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 1.5rem;
}

/* Animaciones nativas del collapse */
.collapse {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.collapse.show {
  max-height: 500px; /* Ajusta según tu contenido */
  opacity: 1;
  transform: translateY(0);
}

/* Clase temporal de Bootstrap */
.collapsing {
  transition: none !important;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animaciones para History Section */
#history.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#history.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: historyEntrance 0.8s ease-out;
}

#history.animate-out {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.4s ease-in;
}

@keyframes historyEntrance {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Estilos adicionales */
#history {
    padding: 80px 0;
    background: #f8f9fa;
}

#history h2 {
    color: #164193;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* #history hr {
    border-color: #18d26e;
    border-width: 2px;
    opacity: 0.8;
    width: 80px;
} */

#history p {
    color: #4a4a4a;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

#history img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#history img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    #history h2 {
        font-size: 1.75rem;
    }
    
    #history p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .col-8 {
        width: 100%;
        max-width: 100%;
    }

    #costo h2 {
        font-size: 1.75rem;
    }
}

/* Animaciones para la sección de Registro */
#costo h2 {
    color: #164193;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
#costo.scroll-animation {
  opacity: 0;
  transition: all 0.6s ease-out;
}

#costo.animate-in {
  opacity: 1;
  animation: costoEntrance 0.8s ease-out forwards;
}

#costo.animate-out {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease-in;
}

@keyframes costoEntrance {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos existentes modificados */
.header-social-links {
  margin: 0 0 0 30px;
}

.header-social-links a {
  color: #9ba6af;
  padding-left: 8px;
  display: inline-block;
  line-height: 0px;
  transition: 0.3s;
}

.header-social-links a i {
  line-height: 0;
}

.header-social-links a:hover {
  color: #3498db;
}

/* Animación para las columnas */
.costo-bg {
  transform: translateX(-50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.costo-pading {
  transform: translateX(50px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

#costo.animate-in .costo-bg,
#costo.animate-in .costo-pading {
  transform: translateX(0);
  opacity: 1;
}

/* Media Queries actualizadas */
@media (max-width: 2100px) {
  .costo-bg {
    background-image: url(./img/registro/expo-banner.jpg);
    height: 450px;
    background-position: center;
    background-size: auto;
    background-repeat: no-repeat;
    position: relative;
  }
}

@media (max-width: 1400px) {
  .costo-bg {
    height: 450px;
  }
}

@media (max-width: 1200px) {
  #costo.animate-in .costo-bg,
  #costo.animate-in .costo-pading {
    transition-delay: 0.2s;
  }
}

@media (max-width: 992px) {
  .costo-bg {
    height: 300px;
    background-size: contain;
  }
  
  .costo-pading {
    padding: 2rem;
  }
}

@media (max-width: 850px) {
  .header-social-links {
    margin: 0 15px 0 0;
  }
}

@media (max-width: 750px) {
  .costo-bg {
    height: 600px;
  }
  
  /* Animaciones para móvil */
  #costo.animate-in .costo-bg,
  #costo.animate-in .costo-pading {
    transform: translateY(0);
  }
  
  .costo-bg,
  .costo-pading {
    transform: translateY(30px);
  }
}

@media (max-width: 550px) {
  .costo-bg {
    height: 400px;
  }
  
  .costo-pading {
    padding: 1.5rem;
  }

  ul, ol, dl {
    font-size: 1rem;
    color: rgb(0, 0, 0);
  }
  
  

/* style2.css */
/* Animaciones */
/* Paginación personalizada */
.carousel-indicators-custom {
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 2;
    transform: translateY(100%);
}

.pagination-dots {
    gap: 12px;
}

.pagination-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.pagination-dot.active {
    background: #3498db;
    transform: scale(1.2);
    border-color: #2c3e50;
}

.pagination-dot:hover {
    transform: scale(1.1);
    background: #2c3e50;
}

/* Transiciones suaves */
.carousel-item {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.6s ease-out !important;
}



#carouselDiferentes {
    max-width: 100vw;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        padding: 20px;
        background: #fff;
        transition: 0.3s;
        z-index: 999;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .mobile-nav-toggle {
        font-size: 24px;
        z-index: 1001;
    }
    
    .navbar-nav {
        flex-direction: column;
        margin-top: 40px;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .carousel-inner {
        overflow: hidden;
    }
    
    .carousel-item img {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 992px) {
    .mobile-nav-toggle {
        display: none;
    }
    
    .navbar-nav {
        flex-direction: row;
    }
    
    .nav-item {
        margin: 0 15px;
    }
}




	

	

	
/* ======= ESTILOS GENERALES ======= */
.reel-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* ======= ESTILOS DEL CARRUSEL ======= */
.carousel-inner video {
    border-radius: 20px;
    padding: 20px 0;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
}

.carousel-item video {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

/* ======= TÍTULOS CENTRADOS ======= */
.video-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #000;
    width: 90%;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(255,255,255,0.3);
    pointer-events: none;
}

.video-title h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
	text-align: center;
}

.video-title p {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 0 15%;
    line-height: 1.4;
}

/* ======= CONTROLES DEL CARRUSEL ======= */
.carousel-control-prev,
.carousel-control-next {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    opacity: 1 !important;
}

.carousel-control-prev { left: 30px; }
.carousel-control-next { right: 30px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(0.4);
    width: 2.5rem;
    height: 2.5rem;
}

/* ======= INDICADORES ======= */
.pagination-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.pagination-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dots .dot.active {
    background: #fff;
    transform: scale(1.4);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 992px) {
    .carousel-item video {
        height: 60vh;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .video-title h3 {
        font-size: 1.8rem;
    }
    
    .video-title p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .reel-section {
        padding: 4rem 0;
    }
    
    .video-title h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .video-title p {
        font-size: 1rem;
        padding: 0 10%;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .carousel-item video {
        height: 50vh;
    }
    
    .video-title h3 {
        font-size: 1.3rem;
    }
    
    .video-title p {
        font-size: 0.9rem;
        padding: 0 5%;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .pagination-dots .dot {
        width: 12px;
        height: 12px;
    }
}

/* ======= EFECTO OVERLAY PARA MEJOR LEGIBILIDAD ======= */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255,255,255,0.3) 0%,
        rgba(255,255,255,0.15) 30%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.15) 70%,
        rgba(255,255,255,0.3) 100%
    );
    mix-blend-mode: overlay;
    pointer-events: none;
}
	
	


















/* Ajustes generales */
.gallery-carousel {
    background: white !important;
    position: relative;
}

.carousel-inner {
    padding: 20px 0;
    overflow: hidden;
}

.gallery-card {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 10px; /* Añadir margen entre las imágenes */
}

.gallery-card img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Asegura que la imagen se ajuste sin ser recortada ni deformada */
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* Botones del carrusel */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Modal de imagen */
.modal-content {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
}

.modal-image {
    max-height: 80vh;
    width: auto;
    display: block;
    margin: auto;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .carousel-inner {
        padding: 10px 0;
    }

    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gallery-card {
        margin: 0 5px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}
	

.collage-section {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}
	
}

/* Estilos personalizados para botones de zoom en el mapa de udc*/
.zoom-btn-in:hover {
    background-color: #2a9d96 !important;
    border-color: #2a9d96 !important;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.zoom-btn-out:hover {
    background-color: #0f2c6b !important;
    border-color: #0f2c6b !important;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.zoom-btn-center:hover {
    background-color: #d35400 !important;
    border-color: #d35400 !important;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.zoom-btn-reset:hover {
    background-color: #555 !important;
    border-color: #555 !important;
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.zoom-controls button {
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.zoom-controls button:active {
    transform: scale(0.95);
}

/* Estilos responsive para botones de zoom en móviles */
@media (max-width: 768px) {
    .zoom-controls {
        top: 10px !important;
        right: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .zoom-controls .zoom-btn-in,
    .zoom-controls .zoom-btn-out,
    .zoom-controls .zoom-btn-center {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
        margin-right: 0 !important;
    }
    
    .zoom-controls .zoom-btn-reset {
        padding: 4px 8px !important;
        font-size: 10px !important;
        border-radius: 14px !important;
        margin-right: 0 !important;
    }
    
    /* Ajustar efectos hover para móviles */
    .zoom-btn-in:hover,
    .zoom-btn-out:hover,
    .zoom-btn-center:hover {
        transform: scale(1.05) !important;
    }
    
    .zoom-btn-reset:hover {
        transform: scale(1.02) !important;
    }
}

@media (max-width: 480px) {
    .zoom-controls {
        top: 5px !important;
        right: 5px !important;
        gap: 6px !important;
    }
    
    .zoom-controls .zoom-btn-in,
    .zoom-controls .zoom-btn-out,
    .zoom-controls .zoom-btn-center {
        width: 26px !important;
        height: 26px !important;
        font-size: 11px !important;
    }
    
    .zoom-controls .zoom-btn-reset {
        padding: 3px 6px !important;
        font-size: 9px !important;
        border-radius: 12px !important;
    }
}




