:root {
  --primary-color: #541a1a;
  --secondary-color: #ffd76c;
}

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

html, body {
  font-family: Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #ffffff;
}

/* ===============================
   Header & Navigation
   =============================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
   background-color: transparent; 
  z-index: 1000;
  transition: background-color 0.3s ease-in-out;
}

header.scrolled {
   background-color: rgba(84, 26, 26, 0.95); 
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  
}

.logo img {
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-family: "Helvetica Neue", sans-serif;
  transition: color 0.3s ease;
}

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

.burger-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu div {
  width: 30px;
  height: 3px;
  background-color: white;
  margin: 6px 0;
  transition: all 0.3s ease-in-out;
}

.close-menu {
  display: none;
}

/* ===============================
   Hero Section
   =============================== */
.hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  z-index: 10;
  font-family: "Helvetica Neue", sans-serif;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  margin-top: 10px;
}

.learn-more-btn {
  position: absolute;
  bottom: -70%;
  left: 10%;
  padding: 12px 24px;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  border: 2px solid white;
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.learn-more-btn:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

/* ===============================
   Carousel
   =============================== */
.carousel {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.carousel-container {
  display: flex;
  width: 500%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100vw;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  height: 100vh;
}

.carousel-slide picture,
.carousel-slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-slide .tint-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(84, 26, 26, 0.45);
  z-index: 1;
}

/* ===============================
   Church History
   =============================== */
.church-history {
  padding: 60px 20px;
  background-color: #f8f5f0;
  color: #333;
}

.history-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.history-image {
  flex: 1 1 40%;
}

.history-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.history-timeline {
  flex: 1 1 55%;
}

.history-timeline h2 {
  font-size: 2rem;
  color: #541a1a;
  margin-bottom: 20px;
}

.timeline {
  list-style: none;
  padding-left: 20px;
  border-left: 4px solid #541a1a;
}

.timeline li {
  margin-bottom: 15px;
  padding-left: 15px;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 6px;
  width: 10px;
  height: 10px;
  background-color: #ffd76c;
  border-radius: 50%;
}

.services-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-container h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.thumbnail-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.thumbnail {
  width: 200px;
  height: 150px;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.thumbnail:hover {
  transform: scale(1.05);
}

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

/* Lightbox Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;

}

.modal-content {
  max-width: 90vw;  /* Limits width to 90% of viewport */
  max-height: 90vh; /* Limits height to 90% of viewport */
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content img {
  max-width: 40%;  /* Ensures image doesn't exceed container */
  max-height: 40%; /* Prevents vertical overflow */
  object-fit: contain; /* Keeps aspect ratio intact */
  border-radius: 8px;
}

@media (max-width: 768px) {
  .thumbnail {
    width: 150px;
    height: 120px;
  }
}

/* ===============================
   Responsive
   =============================== */
@media (max-width: 768px) {
  html,
  body,
  header,
  header.scrolled,
  nav,
  .logo {
    background-color: transparent !important;
  }

  .logo img {
    background-color: transparent !important;
  }

  .carousel {
    display: block;
  }

  .carousel-container {
    width: 500%;
  }

  .hero-text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .learn-more-btn {
    font-size: 1rem;
    padding: 10px 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    text-align: center;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .burger-menu {
    display: block;
  }

  .close-menu {
    display: block;
    font-size: 1.8rem;
    color: white;
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
  }

  .nav-links ul {
    margin-top: 80px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .history-wrapper {
    flex-direction: column;
  }

  .history-image,
  .history-timeline {
    flex: 1 1 100%;
  }

  .history-image {
    display: none;
  }

  /* === Unfix the header on mobile === */

  header {
    position: absolute;
    background-color: transparent !important;
    z-index: 1001 !important;
  }
  
  header.scrolled {
    background-color: transparent !important;
  }
  
  nav {
    background-color: transparent !important;
  }
}

@media (min-width: 769px) {
  .close-menu {
    display: none !important;
  }

  .history-wrapper {
    flex-direction: row-reverse;
  }
}

.find-us {
  padding: 80px 20px;
  background-color: #fdfaf6;
  color: #333;
  font-family: "Helvetica Neue", sans-serif;
}

.find-us-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: stretch;
}

.find-us-details {
  flex: 1 1 45%;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--primary-color);
}

.find-us-details h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.find-us-details p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.find-us-details ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.find-us-details a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.find-us-details a:hover {
  text-decoration: underline;
  color: #7a2c2c;
}

.find-us-map {
  flex: 1 1 50%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-height: 320px;
}

.find-us-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .find-us-container {
    flex-direction: column;
  }

  .find-us-map iframe {
    height: 250px;
  }

  .find-us-details {
    padding: 20px;
  }

  .find-us-details h2 {
    font-size: 1.8rem;
  }
}

.daily-readings {
  padding: 60px 20px;
  background-color: #f8f5f0;
  color: #333;
  font-family: "Helvetica Neue", sans-serif;
}

.readings-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.6;
}

.readings-container h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-size: 2rem;
}

#orthocal-display h3 {
  margin: 15px 0 5px;
  color: var(--primary-color);
}

#orthocal-display ul {
  list-style: disc;
  padding-left: 20px;
}

#orthocal-display p {
  margin: 5px 0;
}
.reading-box {
  background-color: #fdfaf6;
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.reading-box p,
.reading-box li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.reading-box ul {
  list-style-type: disc;
  padding-left: 20px;
}

.reading-box .emoji {
  margin-right: 5px;
}

.site-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 40px 20px;
  font-family: "Helvetica Neue", sans-serif;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 60px;
  width: auto;
  object-fit: contain;
  
  transition: transform 0.3s ease;
}

.footer-logos img:hover {
  transform: scale(1.05);
}

.footer-info p {
  margin: 10px 0;
  font-size: 0.95rem;
}

.footer-info a {
  color: var(--secondary-color);
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-socials {
  margin-top: 15px;
}

.footer-socials a {
  color: white;
  margin: 0 10px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

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

#google_translate_element select {
  background: transparent;
  color: white;
  border: 2px solid rgb(156, 33, 33);
  padding: 5px;
  font-weight: bold;
  font-family: "Helvetica Neue", sans-serif;
  cursor: pointer;
}

.goog-te-banner-frame.skiptranslate,
body > .goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0px !important;
}

.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}
.goog-te-gadget-icon {
  display: none
}
#google_translate_element {
  margin-left: 10px;
}

#translate-btn img {
  border: 2px solid white;
  border-radius: 3px;
  padding: 2px;
  transition: transform 0.3s;
}

#translate-btn img:hover {
  transform: scale(1.1);
}

.clergy-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  background-color: #fff;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 30px;
}

.clergy-image {
  flex: 1 1 40%;
}

.clergy-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.clergy-text {
  flex: 1 1 55%;
}

.clergy-text h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.clergy-title {
  font-size: 1rem;
  font-weight: 600;
  color: #7a2c2c;
  margin-bottom: 15px;
}

.clergy-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .clergy-wrapper {
    flex-direction: column;
  }

  .clergy-image,
  .clergy-text {
    flex: 1 1 100%;
  }

  .clergy-image {
    margin-bottom: 20px;
  }
}

.section-title {
  max-width: 1200px;
  margin: 0 auto 30px auto;
  padding-left: 10px;
  padding-top: 20px;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: left;
  color: var(--primary-color);
  font-family: "Helvetica Neue", sans-serif;
}


.services-section {
  padding: 60px 0;
  background-color: #fdfaf6;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-image {
  max-width: 1200px;
  width: 90%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.services-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.services-section {
  padding: 60px 20px;
  background-color: #fdfaf6;
  text-align: center;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-container h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  font-family: "Helvetica Neue", sans-serif;
}

.services-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}
@media (max-width: 480px) {
  .thumbnail-gallery {
    flex-direction: column;
    align-items: center;
  }

  .thumbnail {
    width: 90vw;
    height: auto;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 40px 10px;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 40px 15px;
  }

  .thumbnail-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0 10px;
  }

  .thumbnail {
    width: 100%;
    max-width: 160px;
    height: auto;
    aspect-ratio: 4 / 3;
    flex: 1 1 auto;
  }

  .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .modal-content img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
  }
}

 

  

  


