@charset "utf-8";
/* CSS Document */
/* ==================== VARIABLES ==================== */
:root {
  --color-primario: #2E86AB;
  --color-secundario: #F18F01;
  --color-fondo: #fdfdfd;
  --color-texto: #333;
  --color-acento: #E0F7FA;
  --color-oscuro: #1a1a1a;
  --color-claro: #ffffff;
  --sombra: 0 8px 20px rgba(0,0,0,0.1);
  --transicion: 0.4s ease;
}

/* ==================== RESET ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  background: url("../imagenes/fondo6.jpg") center/cover no-repeat fixed;
  color: var(--color-texto);
  line-height: 1.7;
  scroll-behavior: smooth;
}

/* ==================== BACKGROUND BLUR ==================== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: blur(6px) brightness(0.85);
  z-index: -1;
}

/* ==================== HEADER ==================== */
.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: linear-gradient(to right, #6FC644, #A8E063);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  animation: textColorCycle 5s linear infinite;
  text-shadow: 0 0 6px rgba(0,0,0,0.2);
}

@keyframes textColorCycle {
  0% { color: #E4007C; }
  20% { color: #B144AD; }
  40% { color: #6FC644; }
  60% { color: #7B1E3A; }
  80% { color: #D32F2F; }
  100% { color: #E4007C; }
}

.menu {
  display: flex;
  gap: 30px;
}

.menu-item {
  color: var(--color-oscuro);
  text-decoration: none;
  font-weight: 600;
  padding: 5px 0;
  position: relative;
  transition: color var(--transicion);
}

.menu-item:hover {
  color: var(--color-secundario);
}

.menu-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-acento);
  transition: width var(--transicion);
}

.menu-item:hover::after {
  width: 100%;
}

/* ==================== CONTENIDO ==================== */
.contenido {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  box-shadow: var(--sombra);
  animation: fadeIn 1.5s ease;
}

.tradiciones h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--color-primario);
  text-align: center;
  position: relative;
}

.tradiciones h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--color-secundario);
  margin: 10px auto 0;
}

.tradiciones h3 {
  font-size: 24px;
  margin-top: 20px;
  color: var(--color-primario);
}

.tradiciones p,
.tradiciones ul {
  margin-bottom: 20px;
  font-size: 18px;
  text-align: justify;
}

.tradiciones ul {
  padding-left: 20px;
  list-style: disc;
}

.tradiciones img {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  display: block;
  border-radius: 8px;
  box-shadow: var(--sombra);
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--color-oscuro);
  color: var(--color-claro);
  padding: 20px 50px;
  text-align: center;
  align-items: center;
  flex-wrap: nowrap; 
  gap: 30px;
}

.footer-logo {
  font-size: 20px;
  font-weight: bold;
  color: #EFC744;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.footer-link {
  color: #878DCC;
  text-decoration: none;
  transition: color var(--transicion);
  white-space: nowrap;
}

.footer-link:hover {
  color: #53ABBA;
}

.copyright {
  font-size: 14px;
  color: #76BA22;
  white-space: nowrap;
}

/* ==================== ANIMACIONES ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 768px) {
  .menu-container {
    flex-direction: column;
    gap: 15px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .contenido {
    width: 95%;
    padding: 15px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .tradiciones h2 {
    font-size: 26px;
  }

  .tradiciones h3 {
    font-size: 20px;
  }

  .tradiciones p {
    font-size: 16px;
  }
}
