/*COLOR PALETTE

Dark green    #3c8453
Sandy beige   #bcaa96
Dark gray     #222222
Light gray    #d3d4d6
Off-white     #f6f6f6
*/

/* GLOBAL STYLES
---------------------------*/

body {
    background: linear-gradient(to bottom, #bcaa96, white);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
}

h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 4rem;
    color: #222222;
    text-align: center;
}

header {
    position: relative;
    background-color: rgba(255 255 255 0.8);
    padding: 1rem;
}

header p {
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: italic;
}
.nav-wrapper {
    position: relative;
}

nav.main-nav {
    background: linear-gradient(90deg, #d3cbb8, #b0a895, #756c5b, #5c5341);
    padding: 10px;
    text-align: center;
}

nav.main-nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
}

nav.main-nav a:hover {
    background-color: rgba(255 255 255 0.2);
    transition: all 0.3s ease;
}

/* Hamburger - hidden on desktop */
.hamburger-btn {
    display: none;
    background: linear-gradient(90deg, #d3cbb8, #b0a895);
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 6px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-close {
    display: none;
}

.nav-overlay {
    display: none;
}

.content {
    padding: 20px;
    flex: 1;
}

#home, #about, #gallery, #contact, #events {
    display: none;
    background-color: rgba(255 255 255 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

#home {
    display: block;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: white;
    padding: 10px;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
}

i.fab {
    font-size: 30px; /* Adjust to size */
    color: #3f729b; /* Instagram color */
    margin-right: 10px; /* Add some space between icons */
    transition: color 0.3s ease;
}

i.fab:hover {
    color: black; /* Changes Color on hover */
}

i.fa-tiktok {
    color: #010101; /* Tiktok color */
    
}
/* Events Section - Professional Layout */
.events-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.events-section h2 {
    margin-bottom: 12px;
}

.events-subsection {
    margin-bottom: 48px;
}

.events-subsection:last-child {
    margin-bottom: 0;
}

.events-subsection-title {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.past-events-section {
    margin-top: 24px;
    background-color: rgb(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.past-events-toggle {
    cursor: pointer;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    user-select: none;
}

.past-events-toggle:hover {
    color: #3c8453;
}

.past-events-section .events-grid {
    margin-top: 20px;
}

.events-intro {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.event-placeholder {
    color: #888;
    font-style: italic;
    padding: 40px 20px;
    grid-column: 1 / -1;
    text-align: center;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    justify-items: center;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 320px;
    width: 100%;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.event-card-image {
    min-width: 300px;
    min-height: 300px;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.event-card-content {
    padding: 20px;
    text-align: center;
}

.event-card-content h3 {
    font-size: 1.25rem;
    color: #222222;
    margin: 0 0 16px 0;
    font-weight: 600;
}

.event-note {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

.event-card .purchase-tickets-link {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    margin: 0;
    background-color: #3c8453;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.event-card .purchase-tickets-link:hover {
    background-color: #2d6b40;
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        max-width: 100%;
    }
    
    .event-card-image {
        min-width: unset;
        min-height: 300px;
        aspect-ratio: 1;
    }
}

.event {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.event button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .event button:hover {
    background-color: #45a049;
  }
  #donateButton {
    background-color: #4CAF50;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
  }

  #donateButton:hover {
    background-color: #45a049;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  #donationAmount {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
  }
  
  .modal-content button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .modal-content button:hover {
    background-color: #45a049;
  }
main {
    padding: 2rem;
}

/* Thin footer - hidden on home, sticks to bottom on other pages */
.site-footer {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 6px 8px;
    margin: 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 12px;
}

.footer-logo {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.footer-credit {
    margin: 0;
    font-size: 0.8rem;
    color: #333;
}

.footer-copyright {
    margin: 0;
    font-size: 0.7rem;
    color: #666;
}

.social-icons a {
    font-size: 1.5rem;
    color: black;
    margin: 0 0.5rem;
    
}  
.video-container {
    position: relative;
    width: 100%;
    max-width: 1200px; /* or whatever maximum width you prefer */
    margin: 0 auto;
}

video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    margin: 10px 0;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .home-video {
      height: 300px;  /* Smaller height for mobile devices */
    }
    /* Hamburger menu - mobile */
    header {
      padding-right: 56px;
    }
    .nav-wrapper {
      position: absolute;
      top: 0;
      right: 0;
      display: flex;
      justify-content: flex-end;
      padding: 8px;
      background: transparent;
    }
    .hamburger-btn {
      display: flex;
    }
    nav.main-nav {
      display: flex;
      position: absolute;
      top: 100%;
      right: 0;
      margin-top: 4px;
      width: 160px;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      padding: 36px 12px 12px;
      z-index: 1001;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
      border-radius: 8px;
    }
    nav.main-nav.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    nav.main-nav .nav-close {
      display: block;
      position: absolute;
      top: 8px;
      right: 8px;
      background: none;
      border: none;
      color: white;
      font-size: 22px;
      cursor: pointer;
      line-height: 1;
      padding: 5px;
    }
    nav.main-nav a {
      display: block;
      padding: 8px 10px;
      margin: 2px 0;
      text-align: left;
      border-radius: 6px;
      font-size: 0.9rem;
    }
    .nav-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.4);
      z-index: 1000;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .nav-overlay.open {
      display: block;
      opacity: 1;
    }
  }

.home-video {
    position: relative;
}

h2{text-align: center; max-width: 800px; /* Match the max-width of the video if applicable */
    margin: 0 auto;   /* Centers the paragraph block */
    padding: 10px 0;
     font-size: 4rem; 
}
   .social-media-container {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      margin: 20px 0;
    }
    
    .social-link {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: #333;
      font-size: 1.2rem;
      transition: all 0.3s ease;
    }
  
    .social-link i {
      font-size: 2rem;
      margin-right: 10px;
    }

    /* Specific icon colors */
    .fa-instagram {
      color: #E1306C;
    }

    .fa-tiktok {
      color: #000000;
    }

    .social-link:hover {
      transform: translateY(-2px);
      opacity: 0.8;
    }
    .responsive-img {
      max-width: 100%;
      height: auto;
      display: block;
      margin: 0 auto;
      width: 300px;
  }
  
  .about-image {
      width: 100%;
      max-width: 300px;
      margin: 0 auto;
      padding: 0 15px;
  }
  
  /* For smaller screens */
  @media screen and (max-width: 768px) {
      .about-image {
          max-width: 250px;
          padding: 0 10px;
      }
  }
  #about .about-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: justify;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

#about p {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 1.5em;
    padding: 0 20px;
}

/* For smaller screens */
@media screen and (max-width: 768px) {
    #about p {
        padding: 0 10px;
    }
}
.main-paragraph h2 {
  font-size: 1.2em;  /* Larger font size for the main heading */
  text-align: center;
  margin-bottom: 20px;
  color: #333;  /* Optional: adds better contrast */
}

.about-column h3 {
  font-size: 2em;  /* Adjust this value as needed */
  text-align: center;
  margin-bottom: 15px;
  color: #333;  /* Optional: adds better contrast */
}

.main-paragraph p {
  font-size: 1.1em;  /* Slightly larger font size for main paragraph */
  line-height: 1.6;
  text-align: justify;
}

/* For smaller screens */
@media screen and (max-width: 768px) {
  .main-paragraph h2 {
      font-size: 2em;
  }
  
  .about-column h3 {
      font-size: 1.75em;
  }
  
  .main-paragraph p {
      font-size: 1em;
  }
} 
.about-image.main-image {
    width: 200px;
    height: auto;
    margin: 0 auto;
    padding: 0;
}

/* For smaller screens */
@media screen and (max-width: 768px) {
    .about-image.main-image {
        width: 180px;
    }
} 
.purchase-tickets-link {
  display: inline-block;
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 20px;
  margin-bottom: 20px;
}

.purchase-tickets-link:hover {
  background-color: #45a049;
}
.center-content {
text-align: center;
}

.centered-image {
display: block;
margin-left: auto;
margin-right: auto;
}
body {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background-color: #f4f4f4;
}

#gallery .gallery-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin: -8px 0 24px 0;
    font-weight: normal;
}

.gallery-section {
margin-bottom: 40px;
background-color: rgb(255,255,255,0.2);
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
padding: 20px;
}

.gallery-section h2 {
text-align: center;
color: #333;
border-bottom: 2px solid #e0e0e0;
padding-bottom: 10px;
font-size: 24px;
}

.gallery-section p {
font-size: 16px;
}

.image-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
}

.image-container img {
width: 250px;
height: 250px;
object-fit: cover;
border-radius: 8px;
transition: transform 0.3s ease;
cursor: pointer;
}

.image-container img:hover {
transform: scale(1.05);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 5px 10px;
}

.close-btn:hover {
    color: #bcaa96;
}

/* Add this CSS to your stylesheet */
#lightbox {
  display: none; /* Initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it appears above other content */
}

#lightbox-img {
  max-width: 90%; /* Limit the width to 90% of the viewport */
  max-height: 90%; /* Limit the height to 90% of the viewport */
}
.centered-image {
  display: block;
  margin: 0 auto;
}

/* ============================================
   MOBILE OPTIMIZATION - All Devices
   ============================================ */

/* Base mobile - prevent horizontal overflow */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

/* Tablet and below (768px) */
@media (max-width: 768px) {
  body {
    padding: 12px;
  }

  .content {
    padding: 12px;
  }

  #home, #about, #gallery, #contact, #events {
    padding: 16px;
    margin-top: 16px;
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    line-height: 1.2;
    word-wrap: break-word;
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2.25rem) !important;
    padding: 8px 0;
  }

  header p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  /* Touch targets - min 44px for accessibility */
  .hamburger-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 12px;
  }

  nav.main-nav a {
    min-height: 44px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
  }

  .nav-close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Video - responsive */
  .home-video {
    height: auto;
    min-height: 200px;
    max-height: 50vh;
  }

  .video-container {
    padding: 0 4px;
  }

  /* Gallery - mobile */
  .gallery-section {
    padding: 16px;
    margin-bottom: 24px;
  }

  .gallery-section h2 {
    font-size: 1.25rem !important;
  }

  .image-container {
    gap: 12px;
  }

  .image-container img {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    margin: 0 !important;
  }

  /* Footer - minimal on mobile */
  .site-footer {
    padding: 4px 6px;
    gap: 2px 8px;
  }

  .footer-logo {
    height: 18px;
  }

  .footer-credit {
    font-size: 0.7rem;
  }

  .footer-copyright {
    font-size: 0.65rem;
  }

  /* Events - mobile */
  .events-section {
    padding: 24px 12px;
  }

  .events-intro {
    font-size: 1rem;
    margin-bottom: 24px;
    padding: 0 8px;
  }

  .event-card-content {
    padding: 16px;
  }

  .event-card .purchase-tickets-link {
    min-height: 48px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Contact - mobile */
  .contact-info p {
    font-size: 1rem;
    word-break: break-word;
  }

  .social-media-container {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .social-link {
    min-height: 44px;
    padding: 8px 16px;
    font-size: 1rem;
  }

  /* About - mobile */
  #about {
    padding: 16px;
  }

  .about-column h3 {
    font-size: 1.35rem !important;
  }

  .main-paragraph p,
  .about-column p {
    font-size: 0.95rem;
  }

  /* Lightbox - mobile */
  .close-btn {
    top: 10px;
    right: 10px;
    font-size: 36px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 85vh;
  }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
  body {
    padding: 8px;
  }

  .content {
    padding: 8px;
  }

  #home, #about, #gallery, #contact, #events {
    padding: 12px;
    margin-top: 12px;
    border-radius: 8px;
  }

  h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  header {
    padding: 12px;
    padding-right: 52px;
  }

  .events-section {
    padding: 20px 8px;
  }

  .events-grid {
    gap: 20px;
  }

  .event-card-content h3 {
    font-size: 1.1rem;
  }

  .image-container img {
    max-width: 100%;
  }

  .gallery-section {
    padding: 12px;
  }
}

/* Extra small phones (360px and below) */
@media (max-width: 360px) {
  body {
    padding: 6px;
  }

  header {
    padding-right: 48px;
  }

  nav.main-nav {
    width: 140px;
  }

  .events-intro {
    font-size: 0.9rem;
  }
}

/* Safe area insets for notched devices (iPhone X+, etc) */
@supports (padding: max(0px)) {
  body {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  @media (max-width: 480px) {
    body {
      padding-left: max(8px, env(safe-area-inset-left));
      padding-right: max(8px, env(safe-area-inset-right));
    }
  }

  .hamburger-btn {
    margin-right: env(safe-area-inset-right, 0);
  }
}

/* Prevent zoom on input focus (iOS) - optional, improves UX on some forms */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px;
  }
}