/* ===== Base Styles ===== */
:root {
  --primary-color: #005e6e;
  --secondary-color: #007b8f;
  --accent-color: #00a5c0;
  --light-bg: #f9fafb;
  --text-color: #333;
  --text-light: #666;
  --white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}
/* Add this to your CSS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* Specific section overrides */
.about-section, 
.mvv-section,
.activities-section,
.team-section,
.gallery-section,
.events-section,
.contact-section,
.donation-section,
.location-section {
  padding: 4rem 0;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

/* ===== Navigation ===== */
.site-header {
  background-color: #039b9b;
  padding: 1rem 2rem;
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  margin: 0;
  font-size: 1rem;
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

.main-nav {
  display: flex;
  gap: 2rem; /* space between links */
  background: none; /* remove your old background-color */
  box-shadow: none; /* remove your old shadow */
  position: static; /* reset positioning */
  padding: 0;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: var(--transition);
}

.main-nav a:hover {
  color: #cceff5;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}


/* ===== Section Styling ===== */
section {
  padding: 4rem 2rem;
  margin: 0 auto;
}

section h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

/* ===== About Section ===== */
.about-section {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin: 2rem auto;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.about-text p {
  margin-bottom: 1.5rem;
}

/* ===== MVV Section ===== */
.mvv-section {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: var(--light-bg);
  flex-wrap: wrap;
}

.mvv-box {
  flex: 1;
  min-width: 280px;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.mvv-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.mvv-box h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.mvv-box p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== Activities Section ===== */
.activities-section {
  background-color: var(--white);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.activity-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.activity-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.activity-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 500;
}

.activity-body {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Team Section ===== */
.team-section {
  background-color: var(--light-bg);
  padding: 4rem 0;
}

.team-container {
  display: flex; /* Side-by-side columns */
  gap: 4rem; /* Space between columns */
  justify-content: center; /* Center columns */
}
.team-column {
  display: flex;
  flex-direction: column;
  gap: 4rem; /* 👈 This controls spacing BETWEEN MEMBERS in the same column */
  width: 280px;
}

.team-grid {
  display: flex; /* Change from grid to flex */
  flex-wrap: nowrap; /* Prevent wrapping */
  gap: 2.5rem;
  padding: 1rem 2rem; /* Add some padding on sides */
  width: max-content; /* Allow content to expand beyond viewport */
}

.team-member {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: var(--transition);
}

.team-member img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

/* Hide scrollbar but keep functionality */
.team-container::-webkit-scrollbar {
  display: none;
}

.team-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.team-section {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-member img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.team-member:hover img {
  transform: scale(1.05);
}

.team-member h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.team-member p {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 500;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 1rem;
}

/* ===== Gallery Section ===== */
.gallery-section {
  background-color: var(--white);
}

.gallery-container {
  overflow-x: auto; /* Enable horizontal scrolling */
  padding-bottom: 2rem; /* Space for scrollbar */
  margin-top: 2rem; /* Space below title */
}

.gallery-grid {
  display: flex; /* Change from grid to flex */
  flex-wrap: nowrap; /* Prevent wrapping */
  gap: 1.5rem;
  padding: 1rem 2rem; /* Add some padding on sides */
  width: max-content; /* Allow content to expand beyond viewport */
}

.gallery-item {
  flex: 0 0 auto; /* Don't grow or shrink */
  width: 300px; /* Fixed width for each item */
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* Hide scrollbar but keep functionality */
.gallery-container::-webkit-scrollbar {
  display: none;
}

.gallery-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 1rem 0 0.5rem;
  padding: 0 1rem;
}

.gallery-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  padding: 0 1rem 1.5rem;
  line-height: 1.6;
}

/* ===== Donation Section ===== */
.donation-section {
  background-color: #fff8e1;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  max-width: 800px;
  margin: 3rem auto;
}

.donation-section h2 {
  color: var(--primary-color);
}

.donation-info {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Location Section ===== */
.location-section {
  background-color: var(--light-bg);
  text-align: center;
}

.location-section h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .main-nav {
    flex-wrap: wrap;
    padding: 1rem;
  }
  
  .main-nav a {
    margin: 0.5rem 1rem;
    font-size: 1rem;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  .mvv-section {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .mvv-box {
    min-width: 100%;
  }
  
  .team-grid, .activities-grid, .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 2.5rem 1rem;
  }
  
  section h2 {
    font-size: 1.8rem;
  }
  
  .about-text, .donation-info {
    font-size: 1rem;
  }
}

/* Events Section */
.events-section {
  padding: 4rem 2rem;
  background: #f8f9fa;
}

.events-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.event-card {
  display: flex;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.event-date {
  min-width: 80px;
  background: #007b8f;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.event-date .day {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.event-details {
  padding: 1.5rem;
  flex-grow: 1;
}

.event-time, .event-location {
  color: #666;
  font-size: 0.95rem;
  margin: 0.3rem 0;
}

.event-rsvp {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background: #007b8f;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

.view-all {
  display: block;
  text-align: center;
  margin-top: 2rem;
  color: #007b8f;
  font-weight: 600;
}

/* Events Page Specific */
.events-page {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.events-page .event-card {
  margin-bottom: 2rem;
}

/* Hero Section */
.hero {
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}
/* Hero Slider Styles */
.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}

.dot.active {
  background-color: white;
  transform: scale(1.2);
}

.dot:hover {
  background-color: rgba(255,255,255,0.8);
}

.hero-content h1, .hero-content p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}


.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
}
/* Contact Form */
.contact-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.submit-btn {
  background: #007b8f;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #005e6e;
}

.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 999;
}
.hidden { display: none; }



.site-footer {
  background-color: #005e6e; /* or tie to a Hugo param if you like */
  color: white;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-social a {
  margin-left: 1rem;
  color: #cceff5;
  font-size: 1.2rem;
  text-decoration: none;
}

.footer-social a:hover {
  color: white;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 100px; /* Adjust this to your preferred logo height */
  width: auto;
  transition: transform 0.3s ease;
}

.site-logo:hover img {
  transform: scale(1.05);
}

/*footer*/
/* Footer Styles */
.site-footer {
  background-color: #005e6e; /* Dark blue-green matching your theme */
  color: white;
  padding: 2.5rem 1rem;
  margin-top: 4rem;
  text-align: center;
  align-items: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-copy {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: #cceff5;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  color: white;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .footer-social {
    gap: 1.75rem;
  }
}
@media (max-width: 768px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }
}
.social-icon {
  width: 24px;
  height: 24px;
  fill: #cceff5;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.social-icon:hover {
  fill: white;
  transform: translateY(-2px);
}