/*  Global Styles */
:root  {
  --primary-color: #5b2c6f;
  --secondary-color: #884ea0;
  --accent-color: #c39bd3;
  --light-color: #f5eef8;
  --dark-color: #333;
  --text-color: #444;
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  --serif-font: 'Crimson Text', serif;
  --transition: all 0.3s ease;
}
 

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--dark-color);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.divider {
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 0 0 1.5rem 0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

.btn-outline {
  display: inline-block;
  padding: 10px 25px;
  border: 2px solid var(--primary-color);
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-text {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 15px;
}

.btn-text:hover {
  color: var(--secondary-color);
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  background-color: #f0f0f0;
  color: var(--dark-color);
  border-radius: 4px;
  font-size: 0.9rem;
  transition: var(--transition);
  margin-right: 10px;
}

.btn-action:hover {
  background-color: #e0e0e0;
}

/* Header and Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  position: relative;
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--dark-color);
  font-weight: 600;
}

.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 4px;
}

.dropdown-content a {
  color: var(--dark-color);
  padding: 12px 16px;
  display: block;
  font-weight: 400;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-color);
  transition: var(--transition);
}

/*  Hero Section */
.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.8s ease;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

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

.slide-content h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.slide-content  p {
  font-family: var(--serif-font);
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
}
 

.swiper-button-next, .swiper-button-prev {
  color: white;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  opacity: 1;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: white;
  opacity: 1;
  transform: scale(1.2);
}

.swiper-container-fade .swiper-slide {
  transition-property: opacity;
}

.swiper-container-fade .swiper-slide-active {
  opacity: 1;
}
 

/* Welcome Section */
.welcome {
  padding: 5rem 0;
  text-align: center;
}

.welcome p {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

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

.feature-box {
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--light-color);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* Upcoming Events */
.upcoming-events {
  padding: 5rem 0;
  background-color: var(--light-color);
}

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

.event-card {
  display: flex;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  min-width: 80px;
}

.event-date .day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.event-details {
  padding: 1.5rem;
  flex-grow: 1;
}

.event-time, .event-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Sermon Highlight */
.sermon-highlight {
  padding: 5rem 0;
}

.sermon-card {
  display: flex;
  flex-wrap: wrap;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sermon-image {
  flex: 1;
  min-width: 300px;
}

.sermon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sermon-details {
  flex: 2;
  padding: 2rem;
  min-width: 300px;
}

.sermon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.sermon-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sermon-excerpt {
  margin-bottom: 1.5rem;
}

.sermon-actions {
  display: flex;
  align-items: center;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
}

.footer-top {
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-section p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: white;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Page Header */
.page-header {
  background-size: cover;
  background-position: center;
  position: relative;
  height: 40vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* About Page */
.about-content {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-top: 0;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.vision, .mission {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.value-item {
  text-align: center;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--light-color);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

.leader-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.leader-image {
  height: 250px;
  overflow: hidden;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-info {
  padding: 1.5rem;
}

.leader-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cta-section {
  padding: 5rem 0;
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
}

.cta-section h2 {
  color: white;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-section .btn {
  background-color: white;
  color: var(--secondary-color);
}

.cta-section .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/*  Sermons and Audio Pages */
.sermons-section,
.audio-section {
  padding: 5rem 0;
}

.sermons-filter,
.audio-filter {
  margin-bottom: 3rem;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.search-box {
  display: flex;
  flex: 1;
  min-width: 300px;
}

.search-box input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-box input:focus {
  border-color: var(--primary-color);
}

.search-box button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-box button:hover {
  background-color: var(--secondary-color);
}

.filter-select {
  min-width: 200px;
}

.filter-select select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  transition: border-color 0.3s ease;
}

.filter-select select:focus {
  border-color: var(--primary-color);
}

.sermons-grid,
.audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
 

.sermon-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.sermon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.sermon-image {
  height: 200px;
  overflow: hidden;
}

.sermon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sermon-details {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.sermon-actions {
  margin-top: auto;
  padding-top: 1rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: #f0f0f0;
  color: var(--dark-color);
  transition: var(--transition);
}

.pagination-item.active,
.pagination-item:hover {
  background-color: var(--primary-color);
  color: white;
}

.pagination-item:last-child {
  display: flex;
  align-items: center;
  gap: 5px;
  width: auto;
  padding: 0 15px;
}

.sermon-series {
  padding: 5rem 0;
  background-color: var(--light-color);
}

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

.series-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.series-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.series-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.series-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.series-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.9rem;
}

.series-details {
  padding: 1.5rem;
}

.series-details h3 {
  margin-bottom: 0.5rem;
}

.series-details p {
  margin-bottom: 1.5rem;
  color: #666;
}

/* Gallery Page */
.gallery-section {
  padding: 5rem 0;
}

.gallery-filter {
  margin-bottom: 3rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.filter-button {
  padding: 8px 20px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-button.active,
.filter-button:hover {
  background-color: var(--primary-color);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption h3 {
  color: white;
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}

.gallery-caption p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.load-more {
  text-align: center;
  margin-top: 2rem;
}

/* Contact Page */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background-color: #f9f9f9;
  padding: 3rem;
  border-radius: 8px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 50px;
  background-color: var(--light-color);
  border-radius: 50%;
  color: var(--primary-color);
}

.info-details h3 {
  margin-bottom: 0.5rem;
}

.social-connect {
  margin-top: 3rem;
}

.contact-form {
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
}

.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
}

.map-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.map-container {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid,
  .vision-mission,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .sermons-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media  (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .slide-content h1 {
    font-size: 2.5rem;
  }
 
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    padding: 2rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .dropdown-content {
    position: static;
    display: none;
    background-color: #f9f9f9;
    box-shadow: none;
    margin-top: 1rem;
    width: 100%;
  }
  
  .dropdown:hover .dropdown-content {
    display: none;
  }
  
  .dropdown.active .dropdown-content {
    display: block;
  }
  
  .hero {
    height: 70vh;
  }
  
  .sermon-card,
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    flex-direction: row;
    width: 100%;
    padding: 0.5rem;
    gap: 10px;
  }
  
  .sermon-image {
    flex: none;
  }
  
  .series-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .filter-options {
    flex-direction: column;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem;
  }
}
 