/* Basic font */
*{
    font-family: "DM Sans", sans-serif;
}
main {
  padding-top: 84px; /* Ajusta según tu navbar */
}

/* Logo Control */
.logo-main{
    width: 270px;
    height: auto;
}

/* Rojo y Amarillo colores logo EXPO */
.dark-red{
    color: #AD3628;
}
.dark-yellow{
    color:#F8B022;
}
.black-text{
    color: #000000 !important;
}

/* Color Azul de Brochure Texto */
.blue-brochure{
    color: #10405A;
}


/* Botones del NAV para Venta y Más Información */
.btn-custom {
  background: linear-gradient(180deg, #10405A, #145A79);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  border: none;
  transition: all 0.5s ease;
}
.btn-custom:hover {
  background: linear-gradient(180deg, #145A79, #10405A);
  transform: translateY(-2px);
  box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
}

/* Botón outline con gradiente */
.btn-custom-outline {
  background: transparent;
  color: #10405A;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  border: 2px solid #145A79;
  transition: all 0.5s ease;
}
.btn-custom-outline:hover {
  background: linear-gradient(180deg, #10405A, #145A79);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
}

/* Contenido para el HERO Video */
/* contenedor */
.hero-section {
  position: relative;
  height: 70vh;       /* antes estaba en 100vh */
  min-height: 420px;  /* ajusta según necesidad */
  overflow: hidden;
}

/* video: siempre en el fondo */
.hero-video {
  position: absolute;
  inset: 0;                /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;              /* fondo */
  pointer-events: none;    /* permite click en elementos encima */
  -webkit-backface-visibility: hidden; /* mejora render en iOS */
}

/* overlay semitransparente para contraste del texto */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38); /* ajusta opacidad según contraste */
  z-index: 1;
}

/* contenido (texto + botones) encima del overlay */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* botones con gradiente (misma apariencia para ambos) */
.btn-hero {
  /* background: linear-gradient(90deg, #10405A 0%, #145A79 100%); */
  color: #ffffff;
  font-weight: 600;
  padding: 0.60rem 1.2rem;
  border-radius: 30px;
  border: none;
  box-shadow: 0 6px 18px rgba(20,64,90,0.18);
  transition: transform .0.5s ease, box-shadow .0.5s ease, opacity .0.5s ease;
}

/* hover */
.btn-hero:hover,
.btn-hero:focus {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(20,64,90,0.25);
  text-decoration: none;
  color: #fff;
}

/* Colores de los botones */
.btn-red{
    background-color: #AD3628 !important;
}
.btn-yellow{
    background-color: #F8B022 !important;
}

/* Estilos para CountDown */
.hero-countdown h2 {
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  font-size: 1.5rem;
}

#countdown .time-box {
  background: rgba(15, 62, 87, 0.85); /* #0F3E57 con transparencia */
  border-radius: 12px;
  padding: 1rem 1.2rem;
  min-width: 80px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

#countdown .time-box span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

#countdown .time-box small {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
}

/* Sección 3 - Index */
/* Título decorativo */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 4px;
    background: #c8102e; /* Rojo corporativo */
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
}

/* Imagen con efecto hover */
.card-img-container {
    overflow: hidden;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}
.card-img-container img {
    transition: transform 0.4s ease;
}
.card-img-container:hover img {
    transform: scale(1.1);
}

/* Card */
.activity-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: .75rem;
}
.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Botón */
.btn-red {
    background: #c8102e;
    border: none;
    border-radius: 50px;
    padding: .6rem 1.2rem;
    transition: background 0.3s ease;
}
.btn-red:hover {
    background: #a50e24;
}

/* --- Imagen con efecto hover --- */
.intro-img-container {
    overflow: hidden;
    border-radius: 1rem;
}
.intro-img-container img {
    transition: transform 0.6s ease;
}
.intro-img-container:hover img {
    transform: scale(1.05);
}

/* --- Título moderno --- */
.intro-title {
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.3;
    position: relative;
}
.intro-title .highlight-red {
    color: #c8102e; /* Rojo corporativo */
}

/* Línea decorativa bajo el título */
.intro-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #c8102e;
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

/* --- Botón CTA --- */
.btn-cta {
    background: linear-gradient(90deg, #10405A, #145A79);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-cta:hover {
    background: linear-gradient(90deg, #145A79, #10405A);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: #fff;
}

/* --- Texto --- */
.lead {
    font-size: 1.1rem;
    color: #333;
}

/* SECCIÓN DE APOYO Y PATROCINADORES */
/* Logos de patrocinadores */
.sponsor-logo {
    max-height: 100px; /* Todos uniformes */
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.sponsor-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.blue-footer{
    background: linear-gradient(180deg, #10405A, #145A79);
    color: #fff;
}
.footer-title {
    display: inline-block;
}
.footer-icon{
    font-size:1.25rem;
    background-color: #F8B022;
    padding: 8px 16px;
    border-radius: 5px;
    color: #AD3628;
}
/* FOOTER */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
  font-size: 16px;
  text-decoration: none;
}

.footer-social:hover {
  background: #ffc107; /* amarillo */
  color: #000;
}

.hover-link:hover {
  color: #ffc107 !important;
}

.blue-footer {
  background: #0b213d; /* un azul oscuro elegante */
}


/* PARA BLOG  */
/* Imagen con efecto zoom */
.card-img-wrapper {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.card-img-wrapper img {
  width: 100%;
  object-fit: cover; /* mantiene proporciones y recorta lo que sobra */
  transition: transform 0.4s ease;
}
.card-img-wrapper:hover img {
  transform: scale(1.08);
}

/* Cards */
.blog-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Títulos */
.blog-title {
  font-size: 1rem;
  line-height: 1.4;
}

/* Botón gradiente */
.btn-gradient {
  background: linear-gradient(135deg, #10405A, #145A79);
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-gradient:hover {
  background: linear-gradient(135deg, #145A79, #10405A);
  transform: translateY(-2px);
}


/* PARTICIPAR */
/* Overlay oscuro para mejorar legibilidad */
.jumbo .overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 62, 87, 0.65); /* azul oscuro con opacidad */
  z-index: 1;
}
.jumbo .container {
  position: relative;
  z-index: 2;
}

/* Ajustes de texto */
.intro-title {
  font-size: 2rem;
  line-height: 1.3;
}
.highlight-red {
  color: #c92a2a; /* rojo destacado */
}

/* Lista con íconos */
ul li i {
  font-size: 1.1rem;
}

/* Botón gradiente (ya usado antes) */
.btn-gradient {
  background: linear-gradient(135deg, #10405A, #145A79);
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-gradient:hover {
  background: linear-gradient(135deg, #145A79, #10405A);
  transform: translateY(-2px);
}

.jumbo{
	width: 100%;
	min-height: 450px;
	background-size:cover;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: center;
	flex-wrap: wrap;
}
.fondo1{background-image: url(../images/index/background1.jpg);}
.fondo2{background-image: url(../images/index/background2.jpg);}
.fondo3{background-image: url(../images/index/background3.jpg);}
.fondo4{background-image: url(../images/index/background4.jpg);}

/* ICONOS DE SECTORES */
.card-transparent {
    background: none;
    border: none;
}
.hr-light {
    border: 0;
    border-top: 3px solid rgba(255,255,255,0.5);
    width: 50%;
    margin: 0.5rem 0;
}

/* GALERÍA IMÁGENES */
.gallery-image{
	overflow: hidden;
	margin: 10px;
	height: 325px;
}
/* COLUMNA EXTRA DE NOTICIAS */
.graycolumn{
    background-color: #ECECEC;
}
.grayborder{
    border: 1px solid gray;
    border-radius: 10px;
}
.post-link{
    color: #000000;
    text-decoration: none;
    transition: all 0.35s;
}
.post-link:hover{
    color: #AD3628;
}

@media (min-width: 992px) {
    .intro-title {
        font-size: 2.8rem;
        text-align: left;
    }
    .intro-title::after {
        margin: 1rem 0 0 0;
    }
}

@media screen and (max-width: 481px){
    .logo-main{
        max-width: 180px;
        height: auto;
    }
    .hero-section {
        height: 85vh;       /* antes estaba en 100vh */
        min-height: 620px;  /* ajusta según necesidad */
    }
	#countdown .time-box {
        padding: 0.85rem 0.95rem;
        min-width: 45px;
    }

    #countdown .time-box span{
        font-size: 1.25rem;
    }
    #countdown .time-box small {
        font-size: 0.7rem;
        font-weight: 500;
        opacity: 0.85;
    }
    main {
        padding-top: 68px; /* Ajusta según tu navbar */
    }
    .grayborder{
        border: none;
    }
}
