/* ============================================================
   Jehovah Jireh Choir – ULK | Homepage Custom Styles
   ============================================================ */

/* Hero Section Enhancements */
.hero-slide-enter {
  animation: slideUp 0.8s ease-out forwards;
}

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

.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}

/* Hero Preview Cards */
.hero-preview-cards {
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .hero-preview-cards {
    gap: 1rem;
  }
}

.hero-preview-card {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-preview-card:hover {
  transform: translateY(-4px);
}

.hero-preview-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
}

/* Ministry Highlights Grid */
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ministry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .ministry-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.ministry-card {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.ministry-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
  border-color: rgba(220, 169, 40, 0.2);
}

.ministry-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 63, 120, 0.1);
  transition: all 0.3s ease;
}

.ministry-card:hover .ministry-card-icon {
  background: #DCA928;
  transform: scale(1.1);
}

.ministry-card-icon svg {
  width: 28px;
  height: 28px;
  color: #123F78;
  transition: all 0.3s ease;
}

.ministry-card:hover .ministry-card-icon svg {
  color: white;
}

/* Music + Event Section */
.music-event-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .music-event-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.music-card {
  background: linear-gradient(135deg, #0d2d5e 0%, #123F78 100%);
  border-radius: 1.75rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.music-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(220, 169, 40, 0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.music-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: rgba(31, 93, 168, 0.2);
  border-radius: 50%;
  filter: blur(50px);
}

.event-card {
  background: white;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.event-card-image {
  height: 224px;
  overflow: hidden;
  position: relative;
}

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

.event-card:hover .event-card-image img {
  transform: scale(1.05);
}

/* Countdown Styling */
.countdown-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: #F6F8FC;
  border-radius: 1rem;
  padding: 1rem;
}

.countdown-item {
  background: #061B38;
  border-radius: 0.75rem;
  padding: 0.75rem;
  text-align: center;
}

.countdown-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.countdown-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Gallery Section */
.gallery-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  scroll-behavior: smooth;
}

@media (max-width: 1024px) {
  .gallery-carousel {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  group;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 27, 56, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Sponsor Cards */
.sponsor-card {
  border-radius: 1.75rem;
  padding: 2rem;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.sponsor-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.sponsor-card.featured {
  border-color: #DCA928;
  box-shadow: 0 15px 35px rgba(220, 169, 40, 0.2);
}

.sponsor-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #DCA928 0%, #F0C354 50%, #B8891F 100%);
}

.sponsor-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink-0;
}

.sponsor-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #061B38 0%, #0d2d5e 100%);
  border-radius: 2rem;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: rgba(220, 169, 40, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #123F78;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: #061B38;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(18, 63, 120, 0.2);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #DCA928;
  color: #061B38;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-gold:hover {
  background: #F0C354;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(220, 169, 40, 0.3);
}

/* Utilities */
.shadow-card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow-deep {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.shadow-gold {
  box-shadow: 0 10px 30px rgba(220, 169, 40, 0.2);
}

/* Animations */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.animate-bounce-slow {
  animation: bounce-slow 2s infinite;
}

@keyframes pulse-gold {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse-gold {
  animation: pulse-gold 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .music-event-container {
    gap: 1.5rem;
  }

  .cta-section {
    padding: 2rem 1.5rem;
  }

  .btn-primary, .btn-gold {
    width: 100%;
  }
}

/* Typography refinements */
.heading-lg {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #061B38;
}

@media (min-width: 1024px) {
  .heading-lg {
    font-size: 2.5rem;
  }
}

.heading-md {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: #061B38;
}

.text-gold {
  color: #DCA928;
}

.text-navy {
  color: #061B38;
}

.text-blue-primary {
  color: #123F78;
}

/* Hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient text */
.gradient-gold {
  background: linear-gradient(135deg, #DCA928 0%, #F0C354 50%, #B8891F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
