:root {
  --azul: #002b5c;
  --rojo: #c8102e;
  --blanco: #ffffff;
  --gris: #f8f8f8;
  --negro: #222;
  --fuente: 'Montserrat', sans-serif;
}

body {
  margin: 0;
  font-family: var(--fuente);
  background-color: var(--blanco);
  color: var(--negro);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.main-header {
  background-color: var(--azul);
  color: var(--blanco);

  text-align: center;
}

.main-header h1 {
  margin: 0;
  font-size: 5rem;
  text-align: center;
  margin-bottom: 0rem;
}

nav {
  position: sticky;
  top: 0;
  background-color: var(--azul); /* mantiene el fondo azul al hacer scroll */
  z-index: 1000;
  padding: 1rem 0 1rem 0;
}

.nav-links {
  list-style: none;
  display: flex;
  font-size: 1.6rem;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
  margin: 0;
}

.nav-links a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 2rem auto;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%;
}

.carousel-slide img {
  width: 100%;
  max-width: 500px;
  height: auto;
  flex: 0 0 100%;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .carousel-slide img {
    max-width: 100%;
  }
}

.carousel-dots {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 2s ease;
}

.dot.active {
  background-color: var(--azul);
}

.hero {
  background-color: var(--gris);
  text-align: center;
  padding: 3rem 0;
}

.hero-img img {
  max-width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 8px;
}

.section {
  padding: 3rem 0;
}

.bg-light {
  background-color: var(--gris);
}

.img-full {
  width: 100%;
  height: auto;
  margin-top: 1rem;
  border-radius: 8px;
}

.event-list {
  list-style: none;
  padding: 0;
}

.gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 2px solid var(--azul);
  border-radius: 6px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin-top: 1rem;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: var(--rojo);
  color: var(--blanco);
  padding: 0.75rem;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}

.main-footer {
  background-color: var(--azul);
  color: var(--blanco);
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}
