/* SEO y Accesibilidad */
.seo-keywords {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
}

.venue-details {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin: 0.5rem 0;
  font-style: italic;
}

.location-info {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-top: 0.5rem;
}

.keywords-footer {
  font-size: 0.8rem;
  color: var(--accent-color);
  margin-top: 1rem;
  opacity: 0.8;
}

/* Mejoras de accesibilidad */
a[aria-label] {
  position: relative;
}

button[aria-label]:focus,
a[aria-label]:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Skip link para accesibilidad */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 10001;
}

.skip-link:focus {
  top: 6px;
}

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

/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-background {
  width: 100%;
  height: 100%;
  background: url("jungla.jpeg") center/cover no-repeat,
    linear-gradient(
      135deg,
      rgba(10, 20, 10, 0.9) 0%,
      rgba(15, 25, 15, 0.85) 50%,
      rgba(20, 35, 20, 0.9) 100%
    );
  background-blend-mode: overlay;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.loading-logo {
  width: 300px;
  height: 300px;
  background-image: url("logo-yukaa.PNG");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: logoAnimation 2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
  position: relative;
  z-index: 2;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    transparent 20%,
    rgba(0, 0, 0, 0.3) 70%
  );
  z-index: 1;
}

@keyframes logoAnimation {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 20px rgba(45, 143, 63, 0.5));
  }
  50% {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(45, 143, 63, 0.8));
  }
}

:root {
  --primary-color: #2d8f3f;
  --secondary-color: #4caf50;
  --accent-color: #8bc34a;
  --jungle-green: #1b5e20;
  --leaf-green: #66bb6a;
  --dark-color: #0f1419;
  --light-color: #ffffff;
  --gradient-1: linear-gradient(135deg, #2d8f3f 0%, #4caf50 50%, #8bc34a 100%);
  --gradient-2: linear-gradient(45deg, #1b5e20, #2d8f3f, #4caf50);
  --jungle-gradient: linear-gradient(
    135deg,
    #0f1419 0%,
    #1b2f1d 50%,
    #263238 100%
  );
  --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--light-color);
  background: var(--jungle-gradient);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(45, 143, 63, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(76, 175, 80, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(139, 195, 74, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}

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

/* Header y Navegación */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(45, 143, 63, 0.2);
}

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

.logo h1 {
  font-family: "Bebas Neue", cursive;
  font-size: 2rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}

.logo-img {
  height: 100px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(45, 143, 63, 0.3));
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(45, 143, 63, 0.6));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-menu a:hover::before {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--light-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(45, 143, 63, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(76, 175, 80, 0.2) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0f1419 0%, #1b2f1d 50%, #263238 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232d8f3f' fill-opacity='0.05'%3E%3Cpath d='M30 30c0-16.569 13.431-30 30-30v60c-16.569 0-30-13.431-30-30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.9;
  margin-bottom: 1rem;
  letter-spacing: 5px;
}

.animated-text {
  display: inline-block;
  animation: slideInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(100px);
}

.animated-text.delay-1 {
  animation-delay: 0.2s;
}

.animated-text.delay-2 {
  animation-delay: 0.4s;
}

.animated-text.highlight {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #cccccc;
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

/* Botones Animados */
.btn-primary,
.btn-secondary {
  position: relative;
  padding: 15px 40px;
  background: var(--gradient-1);
  border: none;
  border-radius: 50px;
  color: var(--light-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 1rem;
  margin: 10px;
  display: inline-block;
  text-decoration: none;
}

.btn-primary {
  animation: fadeInUp 1s ease-out 0.8s forwards;
  opacity: 0;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-text {
  position: relative;
  display: block;
  transition: transform 0.3s ease;
}

.btn-primary .btn-text:last-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 150%);
}

.btn-primary:hover .btn-text:first-child {
  transform: translateY(-150%);
}

.btn-primary:hover .btn-text:last-child {
  transform: translate(-50%, -50%);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Elementos flotantes en el hero */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.element {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-1);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.element::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(139, 195, 74, 0.5) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

.element-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.element-2 {
  width: 80px;
  height: 80px;
  top: 65%;
  right: 15%;
  animation-delay: 2s;
}

.element-3 {
  width: 100px;
  height: 100px;
  bottom: 25%;
  left: 75%;
  animation-delay: 4s;
}

/* Secciones */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1;
  letter-spacing: 3px;
}

.title-word {
  display: inline-block;
  margin: 0 10px;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);
}

.title-word:nth-child(1) {
  animation-delay: 0.1s;
}
.title-word:nth-child(2) {
  animation-delay: 0.2s;
}
.title-word:nth-child(3) {
  animation-delay: 0.3s;
}
.title-word:nth-child(4) {
  animation-delay: 0.4s;
}
.title-word:nth-child(5) {
  animation-delay: 0.5s;
}
.title-word:nth-child(6) {
  animation-delay: 0.6s;
}
.title-word:nth-child(7) {
  animation-delay: 0.7s;
}

.title-word.highlight {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Grids */
.fechas-grid,
.servicios-grid,
.eventos-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

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

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

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

/* Cards */
.fecha-card,
.servicio-card,
.evento-card {
  background: linear-gradient(
    135deg,
    rgba(27, 94, 32, 0.2) 0%,
    rgba(15, 20, 25, 0.8) 100%
  );
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(45, 143, 63, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.fecha-card::before,
.servicio-card::before,
.evento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.fecha-card:hover::before,
.servicio-card:hover::before,
.evento-card:hover::before {
  opacity: 0.1;
}

.fecha-card:hover,
.servicio-card:hover,
.evento-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(45, 143, 63, 0.3);
  border-color: rgba(76, 175, 80, 0.5);
}

.fecha-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.fecha-date {
  font-family: "Bebas Neue", cursive;
  font-size: 3rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.fecha-info {
  position: relative;
  z-index: 2;
}

.fecha-info h3 {
  font-family: "Bebas Neue", cursive;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.servicio-card {
  text-align: center;
}

.servicio-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.servicio-card h3 {
  font-family: "Bebas Neue", cursive;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.servicio-card p {
  color: #cccccc;
  position: relative;
  z-index: 2;
}

.evento-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.evento-image {
  height: 200px;
  background: var(--gradient-1);
  border-radius: 10px;
  position: relative;
  z-index: 2;
  background-size: cover;
  background-position: center;
}

.jungle-theme-1 {
  background-image: linear-gradient(
      45deg,
      rgba(45, 143, 63, 0.8),
      rgba(76, 175, 80, 0.8)
    ),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 20c0-11.046 8.954-20 20-20v40c-11.046 0-20-8.954-20-20z'/%3E%3C/g%3E%3C/svg%3E");
}

.jungle-theme-2 {
  background-image: linear-gradient(
      135deg,
      rgba(27, 94, 32, 0.8),
      rgba(139, 195, 74, 0.8)
    ),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='20' cy='20' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

.evento-content {
  position: relative;
  z-index: 2;
}

.evento-content h3 {
  font-family: "Bebas Neue", cursive;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.evento-content p {
  color: #cccccc;
  margin-bottom: 1.5rem;
}

/* Secciones específicas */
.fechas {
  background: linear-gradient(180deg, #0f1419 0%, #1b2f1d 100%);
  position: relative;
}

.fechas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%234caf50' fill-opacity='0.03'%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.servicios {
  background: radial-gradient(
      circle at 20% 80%,
      rgba(45, 143, 63, 0.1) 0%,
      transparent 50%
    ),
    #0f1419;
}

.eventos {
  background: linear-gradient(180deg, #1b2f1d 0%, #0f1419 100%);
}

.fotos {
  background: radial-gradient(
      circle at center,
      rgba(76, 175, 80, 0.1) 0%,
      transparent 70%
    ),
    linear-gradient(45deg, #0f1419, #1b2f1d);
  text-align: center;
  padding: 150px 0;
}

.contacto {
  background: var(--jungle-gradient);
  text-align: center;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0a0f12 0%, #1b2f1d 100%);
  padding: 50px 0 20px;
  border-top: 1px solid rgba(45, 143, 63, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-family: "Bebas Neue", cursive;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  color: var(--primary-color);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #666;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(90deg);
  }
  50% {
    transform: translateY(-60px) rotate(180deg);
  }
  75% {
    transform: translateY(-30px) rotate(270deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    padding: 0.8rem 1rem;
  }

  .logo-img {
    height: 80px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(26, 26, 26, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .fechas-grid,
  .servicios-grid,
  .eventos-grid {
    grid-template-columns: 1fr;
  }

  .fecha-card {
    flex-direction: column;
    text-align: center;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

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

  .logo-img {
    height: 80px;
  }

  .nav {
    padding: 1rem 1rem;
  }

  section {
    padding: 60px 0;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .fecha-card,
  .servicio-card,
  .evento-card {
    padding: 1.5rem;
  }

  /* Estilos para crédito del desarrollador */
  .developer-credit {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
  }

  .developer-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
  }

  .developer-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    transform: translateY(-1px);
  }
}
