/*Estilo para el carrusel de imágenes en la página principal */


/* Contenedor principal del carrusel y botones laterales */
.carousel-layout {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 20px 0;
}

/* Contenedor del carrusel */
.carousel-container {
  position: relative;
  width: 550px;
  height: 480px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Enlaces de los slides (titulos) */
.slide-link {
  position: relative;
  display: inline-block;
}

.slide-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  font-family: 'GothamMedium', sans-serif;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* Botones de navegación  del carrusel */
.carousel-prev,
.carousel-next {
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 10px;
  font-size: 24px;
  color: #880038; /* Color del tema */
  z-index: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: #a00047;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* Botones laterales del carrusel*/
.carousel-side-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.carousel-side-buttons img {
  width: 450px;
  border-radius: 12px;
  transition: transform 0.2s;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.carousel-side-buttons img:hover {
  transform: scale(1.02);
}

/*Titulo de la seccion de botones*/
.section-title {
  text-align: center;
  margin-bottom: 20px;
}

.section-title h2 {
  font-family: 'GothamMedium', sans-serif; 
  font-size: 28px;
  color: #ba864b; 
  margin-bottom: 8px;
  font-weight: bold;
  letter-spacing: 1px;
}

.section-title hr {
  width: 60px;
  height: 3px;
  background-color: #BA864B;
  border: none;
  margin: 0 auto;
  border-radius: 5px;
}

/* Botones adicionales debajo  del titulo de la seccion*/
.bottom-buttons {
  text-align: center;
  margin-top: 40px;
}

.bottom-buttons .button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 30px; 
  max-width: 900px; 
  margin: 0 auto;
}

.bottom-buttons a {
  display: block;
  text-decoration: none;
}

.bottom-buttons img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.bottom-buttons img:hover {
  transform: scale(1.05);
}


/* Sección de noticias */
.news-posts {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-post {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: left;
}

.news-thumbnail {
  width: 100%;
  max-height: 180px; 
  object-fit: cover; 
  border-radius: 8px;
  margin-bottom: 10px;
}

.news-post h4 {
  font-size: 18px;
  color: #7A1737;
  margin-bottom: 8px;
  font-family: GothamMedium, sans-serif;
}

.news-post h4 a {
  text-decoration: none;
  color: inherit;
  font-family: GothamMedium, sans-serif;
}

.news-post p {
  font-size: 0.95rem;
  color: #333;
  font-family: GothamMedium, sans-serif;
}

.read-more-button {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 16px;
  background-color: #7A1737;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  font-family: GothamMedium, sans-serif;
}

.read-more-button:hover {
  background-color: #5c122a;
}

/* Sección de medios (youtube y facebook)*/
.media-section {
  margin-top: 50px;
  margin-bottom: 80px;
  padding: 0 20px;
}

.media-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.media-column {
  flex: 1 1 300px;
  max-width: 400px;
}

.media-column h3 {
  margin-bottom: 15px;
  font-family: 'Gotham Medium', sans-serif;  
  font-size: 24px;
  color: #7A1737; 
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-post h4 {
  margin: 0 0 5px;
}

.news-post p {
  font-size: 0.95rem;
  color: #333;
}


