/* === BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff8f2;
  color: #3c2f2f;
  line-height: 1.6;
}

/* === COLORS === */
:root {
  --primary: #dca45c;
  --accent: #f4e7da;
  --dark-text: #3c2f2f;
  --light-bg: #fff8f2;
  --heading: #7b4f25;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  color: var(--heading);
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

/* === CONTAINERS === */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: #c18a49;
}

/* === HEADER / HERO === */
header {
  background: linear-gradient(rgba(255, 240, 220, 0.85), rgba(255, 240, 220, 0.85)),
              url('hero-image.jpg') center/cover no-repeat;
  text-align: center;
  padding: 100px 20px;
}

header h1 {
  font-size: 3rem;
  color: var(--heading);
}

header p {
  font-size: 1.25rem;
  margin: 10px 0 20px;
}

/* === GALLERY === */
.gallery-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.gallery-preview img {
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* === FOOTER === */
footer {
  background: var(--accent);
  padding: 30px 20px;
  text-align: center;
  color: var(--heading);
  font-size: 0.9rem;
}

footer p {
  margin: 8px 0;
}
/* === NAVIGATION BAR === */
.navbar {
  background-color: var(--accent);
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--heading);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--heading);
  cursor: pointer;
}

/* === VIDEO GRID === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.video-grid iframe, video {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
video {
  border-radius: 10px;
  max-height: 450px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* === PHOTO GRID === */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.photo-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.03);
}
/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lightbox .close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === LIGHTBOX ARROWS === */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  z-index: 10001;
}

.nav-arrow:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-arrow.left {
  left: 40px;
}

.nav-arrow.right {
  right: 40px;
}
/* === EVENT GRID === */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.event-card {
  background-color: var(--accent);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
}

.event-card h3 {
  margin-bottom: 10px;
  color: var(--heading);
}

.event-date {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 8px;
}


/* === PASTOR SECTION === */
.pastor-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.pastor-img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pastor-info {
  flex: 1;
  max-width: 600px;
}

/* === SERVICE TIMES === */
.service-times {
  list-style: none;
  padding-left: 0;
  max-width: 600px;
  margin: 20px auto;
  font-size: 1.1rem;
}

.service-times li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}


/* === RESPONSIVE === */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .gallery-preview {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: var(--accent);
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}




