/* Reset y configuración base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-red: #dc143c;
  --secondary-red: #b22222;
  --white: #ffffff;
  --black: #000000;
  --yellow: #ffd700;
  --light-gray: #f8f9fa;
  --dark-gray: #333333;
  --text-gray: #666666;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background: linear-gradient(
    135deg,
    #f8f9fa 0%,
    #e9ecef 25%,
    #ffffff 50%,
    #f1f3f4 75%,
    #f8f9fa 100%
  );
  background-attachment: fixed;
  background-size: 400% 400%;
  /* Optimización: Removida animación de fondo para mejor performance */
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(220, 20, 60, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(220, 20, 60, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

/* Optimización: Removida animación gradientShift para mejor performance */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 249, 250, 0.95) 100%
  );
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(220, 20, 60, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
  background-color: rgba(220, 20, 60, 0.1);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Sección Hero */
.hero-section {
  margin-top: 90px;
}

.hero-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("images/municipios_catatumbo.jpg");
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  max-width: 800px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.cta-button:hover {
  background-color: var(--secondary-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

/* Video Section */
.video-section {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.8) 0%,
    rgba(233, 236, 239, 0.8) 100%
  );
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(220, 20, 60, 0.1);
  border-bottom: 1px solid rgba(220, 20, 60, 0.1);
}

.video-section h2 {
  text-align: center;
  color: var(--primary-red);
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive embed for YouTube iframe */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Secciones generales */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--primary-red);
  margin-bottom: 15px;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 4px;
  background-color: var(--yellow);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Sobre el Proyecto */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-gray);
  line-height: 1.8;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

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

/* Infografía de Objetivos */
.objectives-infographic {
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  padding: 70px 50px;
  border-radius: 20px;
  color: var(--white);
  text-align: center;
}

.objectives-infographic h3 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Asegurar 4 columnas en escritorios grandes */
@media (min-width: 1024px) {
  .objectives-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.objective-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px 28px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  position: relative;
}

.objective-card:hover {
  transform: translateY(-6px);
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.objective-card i {
  font-size: 1.4rem;
  color: var(--primary-red);
  margin-bottom: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--yellow);
}

.objective-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.objective-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* Misión, Visión y Objetivos */
.mission-vision-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.8) 0%,
    rgba(233, 236, 239, 0.8) 100%
  );
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(220, 20, 60, 0.1);
  border-bottom: 1px solid rgba(220, 20, 60, 0.1);
}

.mv-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.mv-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 249, 250, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  border-top: 5px solid var(--primary-red);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.mv-card:hover::before {
  left: 100%;
}

.mv-card:hover {
  transform: translateY(-10px);
}

.mv-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.mv-icon i {
  font-size: 2.5rem;
  color: var(--white);
}

.mv-card h3 {
  color: var(--primary-red);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.mv-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

.mv-card h4 {
  margin-top: 15px;
  margin-bottom: 10px;
  color: var(--primary-red);
}

.mv-list {
  margin-left: 18px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Fases del Proyecto */
.phases-section {
  padding: 100px 0;
  background-color: var(--white);
}

.phases-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.phases-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #e0e0e0;
  z-index: 1;
}

.phase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  background-color: var(--white);
  padding: 20px;
}

.phase-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.phase-item.completed .phase-number {
  background-color: var(--primary-red);
  color: var(--white);
}

.phase-item.current .phase-number {
  background-color: var(--yellow);
  color: var(--black);
  /* Optimización: Removida animación pulse para mejor performance */
}

/* Optimización: Removida animación pulse para mejor performance */

.phase-content h3 {
  color: var(--primary-red);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.phase-content p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-red), var(--yellow));
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* Noticias */
.news-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.8) 0%,
    rgba(233, 236, 239, 0.8) 100%
  );
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(220, 20, 60, 0.1);
  border-bottom: 1px solid rgba(220, 20, 60, 0.1);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.news-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 249, 250, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 25px;
}

.news-content h3 {
  color: var(--primary-red);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.news-date {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.news-content p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--secondary-red);
}

/* Galería - Carrusel */
.gallery-section {
  padding: 100px 0;
  background-color: var(--white);
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 249, 250, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

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

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carousel-slide img:hover {
  transform: scale(1.05);
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.carousel-btn {
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.9) 0%,
    rgba(178, 34, 34, 0.9) 100%
  );
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.carousel-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-red) 0%,
    var(--secondary-red) 100%
  );
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: scale(1);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(220, 20, 60, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator.active {
  background: var(--primary-red);
  transform: scale(1.2);
  border-color: var(--yellow);
}

.indicator:hover {
  background: var(--secondary-red);
  transform: scale(1.1);
}

.carousel-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.play-pause-btn,
.fullscreen-btn {
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.play-pause-btn:hover,
.fullscreen-btn:hover {
  background: rgba(220, 20, 60, 0.9);
  transform: scale(1.1);
}

.thumbnail-container {
  margin-top: 30px;
  overflow-x: auto;
  padding: 10px 0;
}

.thumbnail-track {
  display: flex;
  gap: 15px;
  padding: 0 20px;
  min-width: max-content;
}

.thumbnail-item {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  opacity: 0.7;
}

.thumbnail-item.active {
  border-color: var(--primary-red);
  opacity: 1;
  transform: scale(1.1);
}

.thumbnail-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Efectos de transición para el carrusel */
.carousel-slide {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modo pantalla completa */
.carousel-container.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.95);
}

.carousel-container.fullscreen .carousel-wrapper {
  height: 100vh;
}

.carousel-container.fullscreen .carousel-actions {
  top: 30px;
  right: 30px;
}

.carousel-container.fullscreen .carousel-controls {
  padding: 0 50px;
}

.carousel-container.fullscreen .carousel-btn {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
}

.close-btn:hover {
  color: var(--yellow);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
}

.prev-btn,
.next-btn {
  background-color: rgba(220, 20, 60, 0.8);
  color: var(--white);
  border: none;
  padding: 15px 20px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--primary-red);
}

/* Contacto */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.8) 0%,
    rgba(233, 236, 239, 0.8) 100%
  );
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(220, 20, 60, 0.1);
  border-bottom: 1px solid rgba(220, 20, 60, 0.1);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 249, 250, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
}

.contact-note {
  color: var(--text-gray);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-gray);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
}

.submit-btn {
  background-color: var(--primary-red);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--secondary-red);
  transform: translateY(-2px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(248, 249, 250, 0.9) 100%
  );
  backdrop-filter: blur(20px);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-red);
  margin-top: 5px;
}

.contact-item h4 {
  color: var(--primary-red);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.contact-item p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-logos {
  display: flex;
  gap: 30px;
}

.footer-logo {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-text {
  text-align: right;
  flex: 1;
}

.footer-text p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.copyright {
  color: var(--yellow);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  .nav-menu ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .objectives-grid {
    grid-template-columns: 1fr;
  }

  .mv-container {
    grid-template-columns: 1fr;
  }

  .phases-container {
    flex-direction: column;
    gap: 30px;
  }

  .phases-container::before {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .carousel-container {
    max-width: 100%;
    margin: 0 10px;
  }

  .carousel-wrapper {
    height: 300px;
  }

  .carousel-controls {
    padding: 0 10px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-actions {
    top: 15px;
    right: 15px;
  }

  .play-pause-btn,
  .fullscreen-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .thumbnail-item {
    width: 60px;
    height: 45px;
  }

  .lightbox-nav {
    padding: 0 10px;
  }

  .prev-btn,
  .next-btn {
    padding: 10px 15px;
    font-size: 16px;
  }
}

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

.news-card,
.mv-card,
.objective-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

/* Efectos de hover mejorados */
.cta-button,
.submit-btn {
  position: relative;
  overflow: hidden;
}

.cta-button::before,
.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before,
.submit-btn:hover::before {
  left: 100%;
}

/* Optimización: Removidos efectos de partículas para mejor performance */

/* Efectos de brillo en elementos importantes */
.section-header h2 {
  position: relative;
}

.section-header h2::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(
    45deg,
    var(--primary-red),
    var(--yellow),
    var(--primary-red)
  );
  border-radius: 10px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.section-header h2:hover::before {
  opacity: 0.1;
}

/* Mejoras en el video container */
.video-container {
  position: relative;
  overflow: hidden;
}

.video-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(220, 20, 60, 0.05),
    transparent
  );
  pointer-events: none;
  z-index: 1;
}

/* Optimización: Simplificado glassmorphism para mejor performance */
.glass-effect {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Animación de entrada para elementos */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideInUp 0.6s ease-out;
}
