/* From Uiverse.io by atishaytuli07 - Adaptado para Niji Cafe */
.patterns-section {
  width: 100%;
  min-height: 400px;
  position: relative;
  background: var(--colorBg);
  overflow: visible;
}

/* Gradiente de patrones de fondo */
.patterns-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at top left,
      rgba(241, 115, 141, 0.3) 10%,
      transparent 50%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(248, 210, 111, 0.3) 10%,
      transparent 50%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(246, 186, 172, 0.2),
      rgba(246, 186, 172, 0.2) 30px,
      transparent 30px,
      transparent 60px
    );
  z-index: 0;
}

/* Fade effects arriba y abajo */
.patterns-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to bottom, var(--colorBg) 0%, transparent 80px),
    linear-gradient(to top, var(--colorBg) 0%, transparent 80px);
  z-index: 1;
  pointer-events: none;
}

/* Estilos para items de eventos */
.evento-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(251, 239, 222, 0.95));
  border: 2px solid var(--colorPink);
  border-radius: 25px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.evento-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--colorPrimary);
  background: linear-gradient(135deg, rgba(248, 210, 111, 0.3), rgba(246, 186, 172, 0.3));
}

.evento-item svg {
  color: var(--colorPrimary);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.evento-item:hover svg {
  transform: scale(1.2) rotate(5deg);
  color: var(--colorSecundary);
}

.evento-item h5 {
  color: var(--colorPrimary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.evento-item p {
  color: #666;
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
}

/* Botón WhatsApp para eventos */
.btn-whatsapp-eventos {
  background-color: #25D366;
  color: white;
  border: 3px solid #128C7E;
  border-radius: 50px;
  padding: 20px 50px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 8px 8px 25px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp-eventos::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-whatsapp-eventos:hover::before {
  width: 300px;
  height: 300px;
}

.btn-whatsapp-eventos svg {
  position: relative;
  z-index: 1;
}

.btn-whatsapp-eventos:hover {
  background-color: #128C7E;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 10px 10px 35px rgba(37, 211, 102, 0.5);
  color: white;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .patterns-section {
    min-height: 300px;
  }
  
  .evento-item {
    padding: 25px 20px;
  }
  
  .evento-item h5 {
    font-size: 1.1rem;
  }
  
  .btn-whatsapp-eventos {
    padding: 16px 35px;
    font-size: 1.2rem;
  }
}
