.hero-section {
  position: relative;
  min-height: 80vh;
  background: url('images/mermer-masalar/11masa.jpeg') center center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 20px;
  max-width: 900px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 60px;
}

/* Modern Video Gallery */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.video-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
}

.video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover::before {
  opacity: 1;
}

.video-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.video-card:hover video {
  transform: scale(1.1);
}

/* Video Overlay Effects */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

/* Play Button */
.play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 16px solid #333;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 3px;
}

/* Video Info Badge */
.video-info {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 3;
}

.video-card:hover .video-info {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-section {
    min-height: 70vh;
    padding: 40px 15px;
  }
  
  .hero-overlay {
    padding: 30px;
    margin-bottom: 40px;
  }
  
  .video-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
  }
  
  .video-card {
    border-radius: 16px;
  }
  
  .video-card video {
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
    padding: 30px 15px;
  }
  
  .hero-overlay {
    padding: 25px;
    margin-bottom: 30px;
  }
  
  .video-gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 350px;
  }
  
  .video-card {
    border-radius: 14px;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .video-card video {
    border-radius: 14px;
  }
  
  .play-button {
    width: 50px;
    height: 50px;
  }
  
  .play-button::after {
    border-left-width: 12px;
    border-top-width: 8px;
    border-bottom-width: 8px;
  }
  
  .video-info {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .video-gallery {
    gap: 1rem;
    max-width: 280px;
  }
  
  .video-card {
    border-radius: 12px;
    max-width: 250px;
  }
  
  .video-card video {
    border-radius: 12px;
  }
}

/* Fade in animation */
.video-card {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.video-card:nth-child(1) {
  animation-delay: 0.2s;
}

.video-card:nth-child(2) {
  animation-delay: 0.4s;
}

.video-card:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading state */
.video-card.loading {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}