/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #F4F4F4;
  color: #333;
}

/* HEADER & NAVIGATION (Sticky) */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #BF0A30;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #fff;
  margin: 0 1rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #dedede;
}

/* HERO SECTION (no background image) */
.hero {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 20vh;         /* Reduced height since no image is shown */
  min-height: 200px;    /* You can adjust this as you like */
  background-color: #F4F4F4; /* Or pick another color (e.g., #fff) */
  overflow: hidden;

  /* Subtle fade-in animation (starts hidden) */
  opacity: 0;
  transition: opacity 1s ease-out;
}

/* Hero transitions in when 'loaded' is added via JS */
.hero.loaded {
  opacity: 1;
}

/* Removed hero-overlay styles entirely */

/* HERO CONTENT (unchanged) */
.hero-content {
  position: relative;
  z-index: 2;         
  color: #000;       /* Switch text to black or your preferred color */
  max-width: 600px;
  margin-right: 2rem;
  text-align: right;
}

/* Increase the <h1> text size */
.hero-content h1 {
  font-size: 4rem; /* Enlarged text size */
  margin: 0;
}

/* On smaller screens, center the hero content */
@media (max-width: 768px) {
  .hero {
    justify-content: center;
    height: 30vh;   /* optional smaller hero on mobile */
  }
  .hero-content {
    margin-right: 0;
    text-align: center;
    padding: 0 1rem;
    max-width: 90%;
  }

 .hero-content h1 {
    font-size: 3rem; /* Slightly smaller on mobile */
 }
}


blockquote {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 1rem 0;
  color: #ea2525;
}

.verse-ref {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
}

/* MAIN CONTENT */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

section {
  background-color: #fff;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: inline-block;
  border-bottom: 3px solid #BF0A30;
  padding-bottom: 0.25rem;
}

#about p {
  margin-bottom: 1rem;
  text-align: justify;
}

/* GALLERY SECTION */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-container img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 2px solid #dedede;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-container img:hover {
  transform: scale(1.03);
  border-color: #BF0A30;
}

/* PUBLIC SPEAKING ONE-SHEETS */
.speaking-one-sheets {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.speaking-one-sheets img {
  max-width: 300px;
  height: auto;
  border: 2px solid #dedede;
  border-radius: 0.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.speaking-one-sheets img:hover {
  transform: scale(1.03);
  border-color: #BF0A30;
}

/* LIGHTBOX OVERLAY */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-img {
  display: block;
  margin: 5% auto;
  max-width: 90%;
  border: 2px solid #dedede;
  border-radius: 0.5rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* GALLERY RESPONSIVENESS */
.gallery-container img {
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
}

/* FADE-IN SECTIONS */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CONTACT SECTION */
#contact p {
  margin-bottom: 0.5rem;
}

/* FOOTER */
footer {
  background: #BF0A30;
  text-align: center;
  color: #fff;
  padding: 1rem 0;
  margin-top: 2rem;
}

footer p {
  font-size: 0.9rem;
}

/* ABOUT SECTION (Side-by-side portrait, if you’re using that) */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.cindy-portrait {
  max-width: 300px;
  height: auto;
  border-radius: 0.5rem;
  border: 2px solid #dedede;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.about-text {
  flex: 1;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }
  .cindy-portrait {
    margin-bottom: 1rem;
    max-width: 80%;
  }
}
