/**
 * Video Hero Styles
 * Used by: index-3.html (Video Hero Home)
 */

/* Video Hero Section */
.video-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .video-hero {
    min-height: 100vh;
    padding-bottom: 0;
  }
}

.video-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.85) 0%, rgba(236, 72, 153, 0.75) 50%, rgba(249, 115, 22, 0.7) 100%);
  z-index: 2;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.play-button {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 20px 60px rgba(236, 72, 153, 0.5);
}

.play-button::before {
  content: '';
  position: absolute;
  inset: -15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}

.play-button::after {
  content: '';
  position: absolute;
  inset: -30px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite 0.5s;
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 25px 70px rgba(236, 72, 153, 0.6);
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-modal:hover {
  transform: rotate(90deg);
  background: #ec4899;
  color: white;
}

/* Success Story Card */
.story-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.story-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-card .story-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.story-card .story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.story-card:hover .story-image img {
  transform: scale(1.1);
}

.story-card .story-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
}

/* Partner Logo Styles */
.partner-logo {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Animated Background Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  animation: float-shape 20s ease-in-out infinite;
}

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

/* Donation Card Hover Effect */
.cause-hover-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
}

.cause-hover-card:hover {
  box-shadow: 0 25px 60px rgba(139, 92, 246, 0.2);
  transform: translateY(-8px);
}

.cause-hover-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899, #f97316);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.cause-hover-card:hover::before {
  transform: scaleX(1);
}
