.updates-hero {
  background-image: url("../assets/updates-bg.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.updates-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  color: #000;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.updates-content {
  text-align: center;
  margin-bottom: 3rem;
  width: 100%;
}

.updates-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #000;
}

.updates-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(0, 0, 0, 0.9);
}

.updates-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
}

.update-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  opacity: 0;
}

.update-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.update-card[data-type="festival"]::before {
  background: linear-gradient(90deg, #ff5722, #e64a19);
}

.update-card[data-type="sale"]::before {
  background: linear-gradient(90deg, #2196f3, #0d47a1);
}

.update-card[data-type="event"]::before {
  background: linear-gradient(90deg, #9c27b0, #6a1b9a);
}

.update-card[data-type="new"]::before {
  background: linear-gradient(90deg, #00bcd4, #00838f);
}

.update-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.update-date {
  font-size: 0.9rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.update-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #000;
}

.update-description {
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.update-link {
  color: #4caf50;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.update-link:hover {
  color: #45a049;
}

.update-link::after {
  content: "→";
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.update-link:hover::after {
  transform: translateX(5px);
}

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

.update-card {
  animation: fadeInUp 0.5s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .updates-section {
    padding: 3rem 1rem;
  }

  .updates-content h2 {
    font-size: 2rem;
  }

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