/* styles.css */
/* Add these styles to make the dynamic content look good */
#events-list {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.event-card {
  background-color: #1f2937;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sermon-card {
  background-color: #f9fafb;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

:root {
  --main-color: #FFA000;
  --secondary-color: #00008B;
  --primary-bg: #FFFFFF;
  --primary-text: #000000;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
}

.heading-font {
  font-family: 'Playfair Display', serif;
}

.hero-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
  url('https://picsum.photos/id/1015/2000/1200');
  background-size: cover;
  background-position: center;
}

.nav-link {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Flyer Modal */
#flyer-modal img {
  max-height: 90vh;
  width: auto;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgb(0, 0, 0 / 0.25);
}

/* Cursor Zoom In */
.cursor-zoom-in {
  cursor: zoom-in;
}

@media (max-width: 768px) {
  .hero-bg h1 {
    font-size: 2.5rem;
  }

  .nav-link {
    padding: 0.5rem;
  }
}

/* Language Toggle */
#lang-toggle {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  transition: background-color 0.3s;
}

#lang-toggle:hover {
  background-color: #e9e9e9;
}

#lang-toggle i {
  margin-left: 0.5rem;
}