* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
  
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: #CAD5E2;
  min-height: 100vh;
  
}

/* Header */
.header {
  background-color: #000000;
  color: white;
  
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 2.5rem;
}

.logo-icon {
  width: 25px;
  height: 25px;
  color: #3498db;
}

.nav {
  display: flex;
  gap: 0.5rem;
  
}

/* Changed nav-btn to nav-link for anchor elements */
.nav-link {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;

}

.nav-link:hover {
  background-color: #f30101;
  color: white;
}

.nav-link.active {
  background-color: #2419fe;
  color: white;
}




    /* Responsive - Móvil */
    @media (max-width: 768px) {
      .header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1rem;
      }

      .logo {
        text-align: center;
        
      }

      .nav-link{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1rem;
      }
    }

    /* Pantallas muy pequeñas */
    @media (max-width: 400px) {
      .nav-link{
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
      }
    }


/* Estilos para la marquesina moderna */
.marquee-container {
  display: flex;
  align-items: stretch;
  background:  #1A5276  ;
  overflow: hidden;
  border-bottom: 2px solid #3498db;
}

.marquee-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #a50000;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.marquee-label::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 0;
  bottom: 0;
  width: 24px;
  background: #a50000;
  transform: skewX(-12deg);
  -webkit-transform: skewX(-12deg);
  -moz-transform: skewX(-12deg);
  -ms-transform: skewX(-12deg);
  -o-transform: skewX(-12deg);
}

.marquee-label svg {
  width: 1rem;
  height: 1rem;
  
}

.marquee-wrapper {
  flex: 1;
  overflow: hidden;
  padding: 0.75rem 0;
  overflow: hidden;
  width: 100%;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
  padding-left: 1rem;
  will-change: transform;
  -webkit-animation: marquee 20s linear infinite;
  width: max-content;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee {
 0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Se mueve solo la mitad (el bloque original) */

}


.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-size: 1rem;
  flex-shrink: 0;
  padding: 0 20px;
}

.marquee-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #64748b;
  color: white;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  -ms-border-radius: 0.25rem;
  -o-border-radius: 0.25rem;
}

.marquee-badge.new {
  background: #35d305;
  animation: pulse-badge 1.5s ease-in-out infinite;
  -webkit-animation: pulse-badge 1.5s ease-in-out infinite;
}

.marquee-badge.hot {
  background: #ef4444;
  /*animation: pulse-badge 1.5s ease-in-out infinite;
  -webkit-animation: pulse-badge 1.5s ease-in-out infinite;*/
}

.marquee-badge.not {
  background: #000000;
 /* animation: pulse-badge 1.5s ease-in-out infinite;
  -webkit-animation: pulse-badge 1.5s ease-in-out infinite;*/
}

@keyframes pulse-badge {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.marquee-separator {
  color: #F1C40F;
  font-size: 0.75rem;
}

/* Responsive: ocultar label en móvil */
@media (max-width: 640px) {
  .marquee-label {
    display: none;
  }

  .marquee-label::after {
    display: none;
  }
}

/* Main Container */
.main-container {
  display: flex;
}

.content {
  flex: 1;
  padding: 1.5rem;
}


/* Main Container */
.main-container {
  display: flex;
}



/* Banner */
.banner {
  background-color: #A93226;
  color: white;
  text-align: center;
  padding: 2rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.banner h1 {
  font-size: 20px;
  font-weight: 600;
}

/* Activity Grid */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .activity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .activity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Activity Card */
.activity-card {
  display: block;
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.activity-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.card-image-container {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
}

/* Eliminado card-title-row, ahora título y status son elementos separados en bloque */
.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.card-status {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.card-status.upcoming {
  background-color: #19b804;
  color: white;
}
.card-status.now {
  background-color: #196F3D;
  color: white;
}
.card-status.finished {
  background-color: #C62828;
  color: white;
}

.card-description {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-date {
  font-size: 1rem;
  color: #0971b6;
  font-weight: 500;
  font-weight: bold;
}

/* Sidebar */
.sidebar {
  width: 20rem;
  background: #CAD5E2;
  border-left: 1px solid #e5e7eb;
  padding: 1rem;
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
  }
}

/* Widgets */
.widget {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.widget-header h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
}

.widget-icon {
  width: 1rem;
  height: 1rem;
}

.widget-icon.blue {
  color: #3498db;
}
.widget-icon.green {
  color: #27ae60;
}
.widget-icon.purple {
  color: #9b59b6;
}
.widget-icon.orange {
  color: #e67e22;
}
.widget-icon.teal {
  color: #1abc9c;
}
.widget-icon.yellow {
  color: #f39c12;
}

.widget-content {
  padding: 1rem;
}

/* Event Items */
.event-item {
  padding-left: 0.75rem;
  border-left: 2px solid;
  margin-bottom: 0.75rem;
}

.event-item.blue {
  border-color: #3498db;
}
.event-item.red {
  border-color: #e74c3c;
}

.event-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: #1f2937;
}

.event-date {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Status Indicator */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.status-dot {
  width: 1rem;
  height: 0.75rem;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status-dot.online {
  background-color: #05702d;
}
.status-dot.offline {
  background-color: #f50000;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.status-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: #05702d;
}

.station-info {
  font-size: 1rem;
  color: #6b7280;
}

.station-info p {
  margin-bottom: 0.25rem;
}

.station-info .label {
  font-weight: 500;
}



/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.stat-box {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: 0.5rem;
  text-align: center;
}

.stat-value {
  font-size: 1.125rem;
  font-weight: bold;
}

.stat-value.blue {
  color: #3498db;
}
.stat-value.green {
  color: #27ae60;
}
.stat-value.orange {
  color: #e67e22;
}
.stat-value.purple {
  color: #9b59b6;
}

.stat-label {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Links List */
.links-list {
  list-style: none;
}

.links-list li {
  margin-bottom: 0.5rem;
}

.links-list a {
  font-size: 0.75rem;
  color: #3498db;
  text-decoration: none;
}

.links-list a:hover {
  text-decoration: underline;
}

/* Propagation */
.propagation-list {
  font-size: 0.75rem;
}

.propagation-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.prop-label {
  color: #6b7280;
}

.prop-value {
  font-weight: 500;
}

.prop-value.green {
  color: #27ae60;
}
.prop-value.yellow {
  color: #f39c12;
}
.prop-value.blue {
  color: #3498db;
}

/* Footer */
.footer {
  background-color: #101113;
  color: white;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #FDFEFE;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 3rem;
  height: 3rem;
  color: #3498db;
}

.footer-description {
  font-size: 1rem;
  color: #FDFEFE;
  line-height: 1.6;
}

.footer-list {
  list-style: none;
  
}

.footer-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #FDFEFE;
  margin-bottom: 0.75rem;
}

.footer-list li svg {
  width: 1rem;
  height: 1rem;
  color: #bdbbb5;
  flex-shrink: 0;
}

.footer-list.links li {
  margin-bottom: 0.5rem;
}

.footer-list.links a {
  color: #FDFEFE;
  text-decoration: none;
  transition: color 0.2s;
  -webkit-transition: color 0.2s;
  -moz-transition: color 0.2s;
  -ms-transition: color 0.2s;
  -o-transition: color 0.2s;
}

.footer-list.links a:hover {
  color: #C0392B;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #34495e;
  border-radius: 50%;
  color: white;
  transition: all 0.2s;
}

.social-btn:hover {
  background-color: #1F618D;
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}

.social-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-style: italic;
  color: #9ccf0f !important;
}


/* Page Content */
.page-content {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

ul{
  margin-left: 50px;
}

ol{
  margin-left: 300px;
  font-weight: bold;
}

.titulo{
  text-align: center;
  color: black;
  font-weight: bold;
}

.destacar{
  text-align: center;
  color: red;
}


/*carrousel de imagenes*/
.carousel-container {
  width: 90%;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.carousel-containerL {
  width: 100%;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}


.carousel-title {
  color: #fafafa;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 11px;
  overflow: hidden;
  background-color: #171717;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

/* Imágenes con tamaño uniforme usando object-fit */
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0);
  color: #fffefe;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background-color: #ffffff00;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
  left: 16px;
}

.carousel-btn-next {
  right: 16px;
}

.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-indicator:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

.carousel-indicator.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

.carousel-caption {
  color: #a3a3a3;
  font-size: 0.875rem;
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 640px) {
  .carousel-title {
    font-size: 1.5rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn-prev {
    left: 8px;
  }

  .carousel-btn-next {
    right: 8px;
  }
}
