/* Reset and basic styles */
html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Lob', sans-serif;
  height: 103%;
}

/* General Body Styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    color: #000;
}

/* Intro Box */
.intro-box {
    border: 2px solid #007bff;
    border-radius: 8px;
    background-color: #f1f9ff;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Content Styling */
.content {
    padding: 20px;
    margin-bottom: 50px; /* Space for the bottom bar */
    padding-top: 80px; /* Make this at least equal to the navbar height */
    padding-left: calc(50% - 600px);
    padding-right: calc(50% - 600px);
    box-sizing: border-box;
}

/* Bottom Bar Container */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(154, 69, 69, 0.9);
    color: white;
    border-top: 2px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    z-index: 1001;
    font-family: 'Lobster', sans-serif; /* Change this font-family as needed */
    font-size: 1rem;
}

/* Left, Center, Right Sections within Bottom Bar */
.bottom-bar-left,
.bottom-bar-center,
.bottom-bar-right {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

/* Align Left Section */
.bottom-bar-left {
    justify-content: flex-start;
    flex: 1; /* Allow it to grow */
}

/* Align Center Section */
.bottom-bar-center {
    justify-content: center;
    flex: 1; /* Allow it to grow */
    text-align: center;
}

/* Align Right Section */
.bottom-bar-right {
    justify-content: flex-end;
    flex: 1; /* Allow it to grow */
}

/* Example Content Styling */
.bottom-bar-left p,
.bottom-bar-center p,
.bottom-bar-right p {
    margin: 0;
    padding: 0;
    font-size: 0.9rem; /* Adjust font size as needed */
}

/* Link and Interactive Element Styling */
.bottom-bar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
}

.bottom-bar a:hover {
    text-decoration: underline;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #004085;
  color: #ffffff;
}

.navbar-brand {
  font-size: 24px;
  font-weight: bold;
}

.navbar-toggler {
  background-color: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  display: none; /* Hidden on larger screens */
  cursor: pointer;
}

#navbarMenu {
  display: none; /* Hidden by default for mobile view */
}

#navbarMenu.active {
  display: flex; /* Show the menu when toggled */
}

.navbar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-menu li {
  padding: 10px 20px;
}

.navbar-menu a {
  text-decoration: none;
  color: #ffffff;
}

.phone-number {
  font-weight: bold;
  color: #ffffff;
}

/* Responsive Styles */
@media (min-width: 768px) {
  #navbarMenu {
    display: flex;
    flex-direction: row;
    position: static;
  }

  .navbar-toggler {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-toggler {
    display: inline;
  }

  #navbarMenu {
    display: none;
    flex-direction: column;
    background-color: rgba(72, 45, 45, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  #navbarMenu.active {
    display: flex;
  }
}

/* Side Pane (Left Sidebar) */
.side-pane {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px; /* Adjust the width as needed */
  height: 100%;
  background-color: #f0f0f0;
  border-right: 1px solid #ddd;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

@media (max-width: 768px) {
  .side-pane {
    display: none;
  }
}

/* Right Sidebar (Bottom Bar as Sidebar) */
.bottom-bar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background-color: rgba(154, 69, 69, 0.8);
  color: white;
  border-left: 2px solid #ddd;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  z-index: 1001;
}

.bottom-bar .bottom-bar-menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0.3em;
  margin: 0;
  align-items: center;
  flex: 1;
}

.bottom-bar .bottom-bar-menu li {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  transition: background-color 0.3s ease;
  padding: 0.2em 0.5em;
  text-align: center;
  width: 100%;
}

.bottom-bar .bottom-bar-menu li:hover {
  background-color: rgba(0, 128, 0, 0.5);
}

.bottom-bar .bottom-bar-menu li.active {
  background-color: rgba(0, 128, 0, 0.8);
}

.bottom-bar .bottom-bar-menu li a {
  color: white;
  text-decoration: none;
  padding: 0.2em;
  display: block;
}

.bottom-bar .bottom-bar-menu li a:hover {
  color: #b2f5b2; /* Light green color on hover */
}

.footer-center {
    color: white; /* Make text color white */
}

.footer-center a {
    color: white; /* Make link color white */
    text-decoration: none; /* Optional: Remove underline from links */
}

.footer-center a:hover {
    text-decoration: underline; /* Optional: Add underline on hover */
}

/* Content Layout */
header, .content, footer {
  margin-left: 100px;
  margin-right: 100px;
  padding: 1rem;
}

@media (max-width: 768px) {
  header, .content, footer {
    margin-left: 0;
    margin-right: 0;
    padding: 1rem;
  }
}

/* Centering the Logo */
.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.logo {
  width: 65%;
  height: auto;
}

/* Phone Number Styling */
.side-pane .phone-number {
  padding: 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #ed0f0f;
  border-top: 1px solid #ddd;
  margin-top: auto;
}

/* Footer */
footer {
  padding: 1rem;
  background-color: #f0f0f0;
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}

footer .end1, footer .end2, footer .end3 {
  margin-bottom: 10px;
  text-align: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lob', sans-serif;
  color: #000;
}

p, ul, li, footer {
  font-family: 'Light', sans-serif;
  color: #000;
}

/* Center content on large screens */
.content {
  padding-left: calc(50% - 600px);
  padding-right: calc(50% - 600px);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Team Member Styles */
.team-member {
  background-color: #cec1c1; /* Medium dark gray for team member bios */
  border: 2px solid #ccc; /* Box around the bio */
  border-radius: 10px; /* Rounded corners */
  padding: 15px;
  margin-bottom: 20px;
  display: flex; /* Align photo and text in a row */
  align-items: center; /* Center items vertically */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Shadow effect */
  transition: box-shadow 0.3s; /* Smooth transition for shadow */
}

.team-member:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Darker shadow on hover */
}

.team-photo {
  width: 70px; /* Small size for the photo */
  height: 70px; /* Small size for the photo */
  border-radius: 50%; /* Make the photo oval */
  margin-right: 20px; /* Space between photo and text */
}

/* Call to Action Button Styles */
.btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px 0;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
}

.btn:hover {
  background-color: #0056b3;
}

/* New styles for the contact form box */
.contact-form {
  border: 2px solid #808080; /* Gray border */
  padding: 20px; /* Space inside the box */
  border-radius: 8px; /* Rounded corners */
  background-color: #f9f9f9; /* Light grey background */
  margin: 20px 0; /* Space around the form */
}

/* Initially hide elements with the .hidden class */
.hidden {
  display: none;
}

/* .visible class will show the elements */
.visible {
  display: block;
}

/* Event Styles */
.completed-event {
  position: relative;
}

.completed-event::before {
  content: "Successfully Completed";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 2rem;
  font-weight: bold;
  color: white;
  background-color: rgba(255, 0, 0, 0.8);
}
    
.thumbnail:hover {
  transform: scale(1.1);
}

/* Scroll buttons */
.scroll-button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.scroll-button.left {
  margin-right: 5px;
}

.scroll-button.right {
  margin-left: 5px;
  border: 3px solid red;
  text-align: center;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upcoming-event {
  position: relative;
}

.upcoming-event::before {
  content: "Upcoming Event";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 2rem;
  font-weight: bold;
  color: white;
  background-color: rgba(0, 255, 0, 0.8);
  padding: 10px 30px;
  border: 3px solid green;
  text-align: center;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.white-text {
    color: #fff !important;
}
body .event-details {
    color: #fff;
}

    /* Slideshow container */


/* Main slideshow images */

.slideshow img:first-child {
  display: block;
}

/* Thumbnail container */
.thumbnail-container {
  display: flex;
  align-items: center;
  margin-top: 10px;
  position: relative;
}

/* Thumbnails row with overflow hidden */
.thumbnails {
  display: flex;
  overflow-x: hidden;
  max-width: 90%;
  scroll-behavior: smooth;
}

.thumbnail {
  width: 100px;
  height: 75px;
  object-fit: cover;
  margin: 0 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}



  /* Slideshow container */
  .mySlides img {
    max-width: 100%;
    max-height: 350px; /* Adjust this value for the desired max height */
    object-fit: scale-down; /* Ensures images fit neatly within the container */
  }

.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow-y: scroll;
}

.mySlides {
  display: none;
}

img {
  vertical-align: middle;
}

.caption {
  color: #fff;
  font-size: 18px;
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

/* Navigation arrows */
.prev, .next {
  cursor: pointer;
  position: absolute; /* Change from relative to absolute */
  top: 50%;
  width: auto;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.6s ease;
  user-select: none;
  z-index: 999; /* Ensure arrows stay on top of slideshow */
}

.prev {
  left: 15px; /* Position left arrow */
}

.next {
  right: 15px; /* Position right arrow */
}

.prev:hover, .next:hover {
  color: #007bff;
}


/* Slideshow container */
.slideshow-container {
  width: 90%; /* Use 90% of the screen width */
  max-width: 800px; /* Max width for larger screens */
  text-align: center;
  position: relative;
  margin: auto; /* Centers the slideshow */
  overflow: hidden; /* Prevents unwanted overflow */
}

/* Main slideshow images */
.slideshow img {
  width: 100%; /* Ensure images scale with the container */
  max-height: 400px; /* Limit the image height */
  object-fit: contain; /* Maintain aspect ratio, no cropping */
  display: none;
}

/* Show the first image */
.slideshow img:first-child {
  display: block;
}

/* Media queries for responsiveness */

/* Adjust styles for devices with a screen width less than 768px (tablets and phones) */
@media (max-width: 768px) {
  .slideshow-container {
    width: 95%; /* Reduce container width slightly */
    max-width: 100%; /* Allow it to stretch to fit the screen */
  }

  .slideshow img {
    max-height: 300px; /* Reduce max height for smaller screens */
  }
}

/* Further adjustments for small phones with screen widths under 480px */
@media (max-width: 480px) {
  .slideshow-container {
    width: 100%; /* Take full width of the screen */
    padding: 0 10px; /* Add some padding for better spacing */
  }

  .slideshow img {
    max-height: 250px; /* Keep images smaller for better fit */
  }
}

/* Thumbnail container */
.thumbnail-container {
  background-color: gray;
  display: flex;
  align-items: center;
  margin-top: 10px;
  margin-left: 250px;
  position: relative;
  padding: 70pt;
}

/* Thumbnails row with overflow hidden */
.thumbnails {
  display: flex;
  overflow-x: hidden;
  max-width: 90%;
  scroll-behavior: smooth;
}

.thumbnail {
  width: 100px;
  height: 75px;
  object-fit: cover;
  margin: 23 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.1);
}
.event-category {
    padding: 20px; 
}

/* Scroll buttons */
.scroll-button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.scroll-button.left {
  margin-right: 5px;
}

.scroll-button.right {
  margin-left: 5px;
}