.media-section {
  padding: 30px 10%;
  background: #f9f9f9;
  text-align: center;
}

.media-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #000;
  animation: fadeInDown 1s ease-in-out;
}

/* Gallery Grid */
.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

/* Cards */
.media-card {
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeUp 1s forwards;
}

.media-card:nth-child(1) { animation-delay: 0.2s; }
.media-card:nth-child(2) { animation-delay: 0.4s; }
.media-card:nth-child(3) { animation-delay: 0.6s; }
.media-card:nth-child(4) { animation-delay: 0.8s; }

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.media-card:hover img {
  transform: scale(1.1) rotate(2deg);
  filter: brightness(1.1);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Mobile responsive */
@media (max-width: 768px) {
  .media-title {
    font-size: 22px;
  }
  .media-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
