*{
    font-family: 'PT Sans', sans-serif;
    box-sizing: border-box;
}
body{
    margin:0;
    height: 100vh;
    font-size:18px;
}


.ul-none{
    list-style: none;
}

.container-navbar{
    display:flex;
    align-items: center;
    justify-content: space-between;
    margin:0 auto;
    width:100%;
    max-width:80%;
}

.btn-primary{
    background-color: #19537a;
    border-color:#19537a;
}

.btn-primary:hover{
    background-color: #144a68;
    border-color:#144a68;
}

.btn-outline-primary{   
    color:#19537a;
    border-color:#19537a;
}

.btn-outline-primary:hover{
    border-color:#19537a;
    background-color: #19537a;
    color:#fff;
}

.btn-outline-primary:hover{  
    border-color:#144a68;
}

.btn-outline-secondary{
    border-color:#b2a793;
}

.btn-outline-secondary:hover{
    border-color:#b2a793;
    background-color: #b2a793;
    color:#fff;
}
/*=================================================================*/
.title{
    font-size: 9rem;
    font-weight: 800;
    line-height: 1;
}

.numero{
    font-size:7rem;
}

.title-jornadas{
    font-size:8rem;
    font-weight: 800;;
}

.background{
    background-color: #fff;
    color: #3f3f3f;
    border-radius: 20px;
    padding: .3rem 3rem .3rem .5rem;
    font-weight: 800;
}
.sub-back{
    background-color: #ea504c;
    padding:0 1.2rem 0 1.2rem;
}

.fecha-jornada{
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: left;
}

.fecha-jornada h1{
    font-size:5rem;
    font-weight: 800;
}

.sub-fecha{
    text-align: left;
    font-size: 2.5rem;
    font-weight: 800;   
}

.separator{
    letter-spacing: 3px;
}
.separator-wider{
    letter-spacing: 10px;
}
.date{
    font-size: 4rem;
    margin-top: 1.5rem;
}
.navbar{
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:0;
    width: 100%;
    z-index: 10;
    background-color:rgba(255,255,255,0.2);
    color:#fff;
    transition: all 0.4s ease-in-out;
}

.navbar-brand img{
    height: 4rem;
    margin: 0 1.5rem 0 1.5rem;
    padding: .5rem;
}

.navbar-nav{
    display: flex;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.nav-item{
    padding-right: .5rem;
    font-size: 1rem;
    margin-left: 1rem;
    color:#bdc7d8;
}

.dropdown-menu.show{
    /* background-color: rgba(255,255,255,0.2);
    color:#fff; */
    background-color:  #414a4f !important;
    color: #10102c;
    transition: background-color 0.4s ease-in-out;
    color:#fff !important;
}

.dropdown-item{
    color:#fff;
}

.navbar-toggler{
    color:#fff;
    margin-right: 2rem;
    font-size:2rem;
}

.dropdown-item:hover{
    color:#b2a793 !important;
    background-color: rgba(255,255,255,0.2);
    border-bottom:3px solid;
    margin:0;
}
.nav-transparent .nav-link , a{
    color:#fff;
}

.nav-link{
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    transition:0.4s;
}

.nav-link:hover{
    color:#3f3f3f !important;
    border-bottom:3px solid;
    margin:0;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    color: #fff;
    background-color: #19537a;
}

.nav-tabs{
    border-bottom:none;
}

.colorScroll{
    background-color:  #b2a793 !important;
    color: #fff!important;
    transition: background-color 0.4s ease-in-out;
    color:#fff !important;
}

#navbarNav > ul > li.nav-item.active > a

/*======================================================================*/

section{
    display: flex;
    flex-direction: column;
    
}

section p{
    max-width: 800px;
    line-height: 2;
}

hr{
    margin-bottom: 40px;
    border: 1px solid #a51a16;
    color:#a51a16;
    width:70%;
}



/*============================================================*/

.hero{
    position: relative;
    justify-content:center;
    min-height: 100vh;
    color:#fff;
}

.hero-text{
    display:flex;
    justify-content: space-around;
    align-items: center;
}

.hero .background-image{
    position: absolute;
    top:0;
    left:-1px;
    background-image: url(../images/02.png);
    background-size: cover;
    background-position: center center;
    width:100%;
    height: 100%;
    z-index:-1;

}

.hero .background-image::after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    background-color: #3b5072;
    /* background-color: #414a4f; */
    opacity: 0.75;
}

/* .hero a{
    font-size: 28px;
    color: #ea504c;
} */

.hero .form-button{
    border: 2px solid #ea504c;
    background: transparent;
    color:#ea504c;
    font-size:22px;
    padding:10px;
    transition: all 0.4s ease-in-out;
}

.hero .form-button:hover{
    text-decoration: none;
    background: #ea504c;
    color:#fff;
}

.hero .title h1{
    font-size:5rem;
}

.hero p{
    font-size: 1.8rem;
}

.hero h3{
    
}
/*Video back*/

/* Hero base */
.hero {
  position: relative;
  
  display: grid;
  place-items: center;
  overflow: clip; /* recorta el video si sobresale */
}

/* Capa de media (video de fondo) */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none; /* que no “tape” el contenido */
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* llena el área sin deformar */
  object-position: center;
  filter: grayscale(100%) contrast(1.05) brightness(0.75);
  /* ↑ convierte a tonos grises y baja un poco el brillo para contrastar el texto */
}

/* Máscara gris adicional (vela/overlay) */
.hero__veil {
  position: absolute;
  inset: 0;
  background: rgba(0,147,123,0.25); /* “máscara” gris suave encima del video */
  /* si querés más “tono”, subí este alpha a 0.35–0.45 */
}

/* Contenido por encima del video */
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff; /* texto claro sobre fondo oscuro/gris */
}

.hero .btn {
  /* botones más legibles sobre el velo */
  backdrop-filter: saturate(120%) blur(0.5px);
}

/* Mobile: si preferís imagen en vez de video */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
  /* Opción A: ocultar video y usar poster como fondo */
  /* Descomenta si lo querés así
  .hero__media { display: none; }
  .hero {
    background: url('assets/hero-poster.jpg') center/cover no-repeat;
  } */
}



/*==================================================================*/

/*==================================================================*/
#video{
    background-color: #00937b;
    color:#fff;
    padding:5.5rem;
}

/*====================================================================*/

.sponsors{
    align-items: center;
    justify-content: center;
    padding:5.5rem;
}
.logos{
    margin-top:80px;
}
.sponsors img{
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    padding:10px;
    top:50%;
    left:50%;
}

.center-images{
    text-align: center;
    vertical-align: middle;
}
.flex1{
    flex:1 1 20em;
}
.flex2{
    flex:1 1 20em;
}
.flex3{
    flex:1 1 20em;
}
.flex4{
    flex:1 1 20em;
}

/*===================================================================*/

.video-reel {
    max-height: 800px;   /* evita que quede gigante */
    width: auto;         /* mantiene proporción vertical */
    max-width: 100%;     /* que no se salga de la columna */
    display: block;
    margin: 0 auto;
    border-radius: 20px;
}
.about{
    font-size:1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.h3-text{
    font-size:2.8rem;
    font-weight: 800;
}
/*===================================================================*/

/* ===== PDFs (cards con previa) ===== */
.pdf-card {
  height: 100%;
}

.pdf-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;   /* vertical tipo carátula */
  object-fit: cover;
  border-radius: .5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .28s ease;
  background: #f3f3f3;   /* por si tarda la miniatura */
}

.pdf-thumb:hover {
  transform: translateY(-2px) scale(1.02);
}

.pdf-title {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  margin: .6rem 0 .2rem;
  min-height: 2.6em; /* ~2 líneas */
  overflow: hidden;
}

.pdf-actions .btn {
  font-size: .85rem;
  padding: .3rem .6rem;
}


/*======================================================================*/

#programa{
    display:flex;
    flex-direction: column;
    color:#fff;
}

.program{
    border-color: #f7f7f7;
    padding:5.5rem 0 5.5rem 0;
}

.color-card{
    background-color: #3b5072;
    color:#fff;
}

.schedule{
    font-weight: bold;
    color:#ea504c;
}

.nav-item.tab a{
    color:#19537a;
    font-size: 1.5rem;
    
    border-radius: 20px 20px 0 0;
}

.nav-link{
    font-weight: bold;
    color:#222;
}

.nav-link.active{
    background-color: #3b5072;
    border-color: #3b5072 #3b5072 #f7f7f7 #3b5072;
    color:#fff;
    font-weight: bold;
}

.card-body.text-secondary p{
    text-align: left;
}

.schedule-line{
    color: #fff;
    font-size: 2rem;
    padding:5px;

}
.activities{
    margin-top:20px;
    border-left: solid #fff 3px;
}

.one-activity{
    padding:20px;
    margin-top: .5rem;
    margin-bottom: 1.2rem;
    border-radius: 20px;
    text-align: left;
    background-color: #144a68;
}

.activity-title{
    font-weight: bold;
    text-align: left;
}

.activity-description{
    text-align: left;
    font-size: 16px;
    
}

.tipo{
    text-align: left;
}

.participants{
    font-style: italic;
    text-align: left;
    line-height: 23px;
}
.place{
    font-style: italic;
    font-size: 18px;
    text-align: left;
    color:#fff;

}
.activities-info{
    font-style: italic;
    text-align: left;
    color:#3b5072;
}

.tab-content{
    width: 100%;
    background-color: #19537a;
}
.title-h3{
    text-align: center;
    color:#19537a;
    font-weight: 800;
    font-size:2.8rem;
    margin:3.2rem;
}

.dowonload-program{
    color:#3b5072 !important;
}

.program-button{
    margin:20px;
    border: 2px solid #ea504c;
    background: transparent;
    color:#ea504c;
    font-size:22px;
    padding:10px;
    transition: all 0.4s ease-in-out;
}

.program-button:hover{
    text-decoration: none;
    background: #ea504c;
    color:#fff;
}

.program-download{
    margin-bottom: 2.2rem;
    text-align: center;
}
/*=====================================================================*/

.features{
    align-items: center;
    justify-content: center;
    padding:5.5rem;
    font-size: 1.5rem;
    color:#fff;
    background-color: #d69947;
}
/* .features .grid{
    width:100%;
    display: flex;
    justify-content: space-between;
    text-align: center;
    list-style: none;
} */

ul.grid{
    width: 100%;
    padding:0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.features .grid li{
    padding:0 3.7rem;
    flex-basis: 46%;
    text-align: center;

}

.features .grid li i{
    margin-bottom: 20px;
    padding:30px;
    font-size: 10rem;
    color: #fff;
}


/*======================================================================*/
#galeria{
    padding:5.5rem 0 5.5rem 0;;
}


/* ===== Filtros de galería ===== */
#gallery-filters .filter-btn {
  margin: .25rem;
}
#gallery-filters .filter-btn.active {
  background-color: #19537a;
  color: #fff;
  border-color: #19537a;
}
#gallery-filters .badge {
  margin-left: .35rem;
}



/* ======= Galería (Bootstrap 4) ======= */
.gallery { background-color: #f7f7f7; }

.gallery .gallery-thumb{
    width: 100%;
  aspect-ratio: 1 / 1; /* recorte cuadrado moderno */
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.gallery a{
    overflow: hidden;
    border-radius: .5rem;
    display: block;
}

.gallery a:hover .gallery-thumb,
.gallery a:focus .gallery-thumb{
    transform: scale(1.05);
}

/* Fallback si algún navegador viejo no soporta aspect-ratio */
@supports not (aspect-ratio: 1 / 1){
    .gallery .gallery-thumb{
    height: 0;
    padding-top: 100%; /* cuadrado */
    object-fit: cover;
    }
}


/*=====================================================================*/

.program h3{
    font-size:40px;
    justify-content: center;
    align-items: center;
}

/*=====================================================================*/

footer{
    display:flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding:60px;
    color:#fff;
    background-color: #a51a16;
}

footer ul{
    display:flex;
    margin-bottom:25px;
    font-size: 30px;
    list-style: none;
    padding:0;
}

footer ul li{
    margin:10px;
}

footer p{
    text-transform: uppercase;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 10px;
}

footer a{
    color:#fff;
}

footer a:hover{
    color:#f7f7f7;
}

/*==================================================================*/

.speakers{
    padding: 80px 0;
    min-height: 350px;
    margin-bottom: 50px;
    background: #f7f7f7;
}

.speakers h2{
    margin-bottom: 30px;
}

.speakers img{
    border-radius: 50%;
    height: 150px;
}

.speakers .col-lg-3{
    text-align: center;
}

/*==================================================================*/

.form{
    background-color: #f7f7f7;
}

/*==================================================================*/

@media (max-width: 700px){
    .hero .background-image{
        background-image: url(../images/03.png);
    }
    .hero-text{
        display: block;
    }
    .hero h1{
        font-size:60px;
        margin-top: 20px;
    }
    .date{
        font-size: 40px;
    }
    .hero p{
        margin-top:20px;
    }
}

@media (max-width: 600px){
    section{
        
        text-align: center;
    }

    #video, .features{
        padding:1.5rem;
    }
    .features .grid li{
        flex-basis: 100%;
        padding:0;
        text-align: center;
    }
}
/* ===== Modal PDF: ocupar viewport y hacer que el iframe llene el espacio ===== */
.pdf-modal .modal-dialog { max-width: 95vw; }
.pdf-modal .modal-content {
  display: flex;
  flex-direction: column;
  height: 90vh;            /* alto grande en desktop */
}
.pdf-modal .modal-body { flex: 1 1 auto; padding: 0; }
.pdf-modal .pdf-frame-wrap { position: relative; height: 100%; }
#pdfViewer {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Fallback ocupa el mismo espacio del iframe cuando se muestra */
#pdfFallback {
  position: absolute; inset: 0;
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

/* Mobile: modal a pantalla completa */
@media (max-width: 576px) {
  .pdf-modal .modal-dialog { margin: 0; max-width: 100vw; width: 100vw; }
  .pdf-modal .modal-content { height: 100vh; border-radius: 0; }
}

/* Pequeño ajuste para iOS (ocupar espacio útil) */
@supports (-webkit-touch-callout: none) {
  .pdf-modal .modal-content { height: -webkit-fill-available; }
}
