
/* Font Face Declarations */
@font-face {
  font-family: 'luna';
  src: url('luna/Luna.ttf');
}
@font-face {
  font-family: 'nourd';
  src: url('Nourd-Font/nourd_regular.ttf');
}
@font-face {
  font-family: 'genty';
  src: url('genty/GentyDemo-Regular.ttf');
}

/* Root Variables for Consistent Styling */
:root {
  --paragraph-font: 'nourd', Arial, sans-serif;
  --headline-font: 'luna', Georgia, serif;
  --small-heading-font: 'genty', Helvetica, sans-serif;
  --nav-background-color: #ffa141;
  --nav-link-color: #e8dcce;
  --nav-hover-link-color: #fff;
  --nav-hover-background-color: #579aab;
  --paragraph-background-color: #6b8b80;
  --headline-color-on-color: #e8dcce;
  --headline-color-on-white: #333;
  --accent1-color: #579aab;
  --background-color: #ADC8DB;
}

/* General Body Styling */
body {
  font-family: var(--paragraph-font);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1600px;
}

/* Header Styling */
header {
  background-color: var(--nav-background-color);
  display: grid;
  grid-template-columns: 150px auto;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Navigation Styling */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: var(--nav-background-color);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

nav li {
  position: relative;
}

nav a {
  color: var(--nav-link-color);
  text-decoration: none;
  font-family: var(--small-heading-font);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 25px;
}

nav a:hover {
  color: var(--nav-hover-link-color);
  background-color: var(--nav-hover-background-color);
}

nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--nav-background-color);
  padding: 10px 0;
  list-style: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav li:hover ul {
  display: block;
}

nav li ul li {
  width: 200px;
}

nav li ul li a {
  display: block;
  padding: 10px;
  color: var(--nav-link-color);
  text-decoration: none;
}

nav li ul li a:hover {
  background-color: var(--nav-hover-background-color);
  color: var(--nav-hover-link-color);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background-color: #ffa141;
  color: var(--nav-link-color);
  padding: 10px 15px;
  font-size: 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-family: var(--small-heading-font);
  
}

.dropbtn i {
  margin-left: 5px;
}

.dropbtn:hover {
  background-color: #e68a00;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--background-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1000;
}

.dropdown-content a {
  color: #FF6EA7;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

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

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Logo Styling */
#logo {
  width: 100px;
  height: 100px;
}

/* Gallery Styling */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  gap: 20px;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  box-sizing: border-box;
}

.polaroid {
  position: relative;
  background: #fff;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #ddd;
  text-align: center;
  transition: transform 0.3s ease;
  font-family: 'luna';
  font-size: 10px;
  color: #34586E;
  text-decoration: none;
}

.polaroid:hover {
  transform: translateY(-10px);
}

.polaroid img {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 5px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: 'nourd';
 
}
.caption a{
  text-decoration: none;
}

.polaroid:hover .caption {
  opacity: 1;
}

/* Footer Styling */
footer {
  background-color: var(--nav-background-color);
  color: var(--headline-color-on-color);
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--paragraph-font);
  width: 100%;
  box-sizing: border-box;
}

footer p {
  font-size: 10px;
  margin: 0;
  font-family: 'luna';
}

footer a {
  color: var(--headline-color-on-color);
  text-decoration: none;
  font-size: 20px;
  padding: 5px 10px;
}

footer a:hover {
  background-color: var(--accent1-color);
  color: var(--headline-color-on-white);
}

footer .social-icons {
  display: flex;
  gap: 10px;
}

footer .social-icons img {
  width: 30px;
  height: 30px;
}
/* Container for the image and text */
.img-placeholder {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 20px;
}


.img-placeholder img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

h1 {
  font-size: 45px;
  text-align: center;
  color: #FF6EA7;
  margin-bottom: 15px;
  font-family: var(--small-heading-font);
  text-shadow: 2px 2px 2px #34586E;
}

.description {
  font-family: var(--paragraph-font);
  font-size: 16px;
  line-height: 1.6;
  color: #34586E;
  text-align: justify;
  margin: 0 auto;
  max-width: 800px; /* Keeps the text narrow for better readability */
}
/* List Items */
.list-item {
  margin-bottom: 40px;
  text-align: center; /* Center-align all content within the list item */
}

.list-item h2 {
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
  font-family: var(--headline-font);
  color: #FF6EA7;
  margin-left: 50px;
  text-shadow: 2px 2px 2px #34586E;
}

.video-placeholder iframe {
  display: block;
  width: 560px;
  max-width: 560px;
  margin: 10px auto; /* Center-align the video */
  border-radius: 5px;
  border: 1px solid #ccc;
}

.list-item p {
  font-size: 16px;
  color: #34586E;
  line-height: 1.5;
  margin-top: 10px;
  text-align: center; /* Center-align the text under the video */
  margin-left: 300px;
  margin-right: 300px;
  
}

.hero {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: #333;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 24px;
  padding: 0 20px;
}
.hero-text2 {
  position: relative;
  color: #fff;
  text-align: center;
  font-size: 24px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); 
  margin-top: 0px; 
  margin-bottom: 50px;
}
.hero-text h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero-text2 p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.navigation {
  text-align: center;
  margin-top: 20px;
}
.navigation button {
  background-color: #FF6EA7;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
}
.navigation button:hover {
  background-color: #e68a00;
}

#devotionalTitle{
  text-align: center;
  color: #34586E;
  font-family: var(--headline-font);
  font-size: 20px;
}

#devotionalText{
  text-align: center;
  max-width: 800px;
  color: #34586E;
  font-family: var(--paragraph-font);
}
.slideshow-container {

  position: relative;

  max-width: 100%;

  margin: auto;

}


.slide {

  display: none;

}



.slide.active {

  display: block;

}

/* Responsive Design */
@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  footer .social-icons {
    justify-content: center;
    margin-top: 10px;
  }
}

