* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    background: #0b4f6c;
    color: #fff;
    flex-wrap: wrap;
}

header nav a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
}

.hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    display: none;
}

.carousel img.active {
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 8px;
}

.section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.section.alt {
    background: #f4f4f4;
}

.columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.activities {
    list-style: none;
    padding: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
}

.btn {
    padding: 12px;
    background: #0b4f6c;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #08384d;
}

footer {
    text-align: center;
    padding: 20px;
    background: #0b4f6c;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }
}
.carousel {
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}
.event-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.event-card h3 {
    margin-bottom: 10px;
    color: #0b4f6c;
}
.map-container {
    max-width: 1100px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
}
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px;
    background: #0b4f6c;
    color: white;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
}

.site-header nav a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        text-align: center;
    }

    .logo-container {
        margin-bottom: 10px;
    }

    .site-header nav a {
        margin: 8px;
        display: inline-block;
    }
}
.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.what-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.what-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.what-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.what-card h3 {
    padding: 15px 20px 5px;
    color: #0b4f6c;
}

.what-card p {
    padding: 0 20px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.vm-card {
    background: white;
    padding: 30px 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.vm-card h3 {
    color: #0b4f6c;
    margin-bottom: 12px;
}

.vm-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Mobile fine-tuning */
@media (max-width: 480px) {
    .vm-card {
        padding: 25px 20px;
    }

    .vm-icon {
        font-size: 2.5rem;
    }
}
/* Section Styling */
.event-section {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.section-title {
  text-align: center; /* Centering the H2 as discussed */
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 2rem;
}

/* Event Card Layout */
.event-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex; /* Aligns image and text side-by-side */
  flex-wrap: wrap; /* Makes it responsive for mobile */
}

/* Image Styling */
.event-image {
  flex: 1 1 300px; /* Takes up proportional space */
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image doesn't stretch */
}

/* Text Details Styling */
.event-details {
  flex: 1 1 300px;
  padding: 30px;
}

.event-details h3 {
  margin-top: 0;
  color: #e67e22; /* A warm orange accent color */
}

.event-description {
  color: #666;
  line-height: 1.6;
}

.detail-item {
  margin: 10px 0;
  color: #333;
}

/* Button Styling */
.btn-rsvp {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #27ae60; /* Irish Green accent */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn-rsvp:hover {
  background-color: #219150;
}

/* Responsive adjustment for small screens */
@media (max-width: 600px) {
  .event-card {
    flex-direction: column;
  }
}
.gallery-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* The Scroller */
.horizontal-scroller {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth; /* Essential for the glide effect */
  scrollbar-width: none; /* Hides scrollbar for Firefox */
  padding: 10px;
}

.horizontal-scroller::-webkit-scrollbar {
  display: none; /* Hides scrollbar for Chrome/Safari */
}

/* Gallery Cards */
.gallery-card {
  flex: 0 0 300px; /* Fixed width for each card */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.gallery-card img {
  width: 100%;
  border-radius: 12px 12px 0 0;
  display: block;
}

.gallery-card p {
  padding: 10px;
  font-weight: bold;
}

/* Hover Effect */
.gallery-card:hover {
  transform: translateY(-5px);
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  transition: background 0.3s;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.left { left: -10px; }
.right { right: -10px; }
/* 1. Horizontal Strip Styling */
.photo-strip-container {
  width: 100%;
  padding: 20px 0;
  background: #eee;
}

.photo-strip {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px;
  scroll-behavior: smooth;
}

.photo-strip img {
  height: 150px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s;
  flex-shrink: 0;
}

.photo-strip img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* 2. Lightbox (Hidden by Default) */
.lightbox {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 5px;
  animation: zoom 0.3s ease-out;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Animation */
@keyframes zoom {
  from {transform: scale(0.5); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

function openLightbox(element) {
  const lightbox = document.getElementById("lightbox");
  const fullImg = document.getElementById("fullImage");
  const caption = document.getElementById("caption");

  lightbox.style.display = "flex";
  fullImg.src = element.src; // Set the large image to the clicked image source
  caption.innerHTML = element.alt; // Use the Alt text as a caption
}

function closeLightbox() {
  document.getElementById("lightbox").style.display = "none";
}


