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

html, body {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #2F2F2F;
    line-height: 1.6;
    color: #ffffff;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;
}

/* Wrapper and Main Layout */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 20px;
}

/* CSS Variables for Consistency */
:root {
    --overlay-color: rgba(0, 0, 0, 0.5);
    --box-background: rgba(255, 255, 255, 0.1);
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    --text-color: #ffffff;
}

/* Intro Section Styling */
.intro-heading-section {
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
    border-radius: 10px;
}

.intro-heading {
    font-size: 3rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 5px;
}

.intro-heading:before, 
.intro-heading:after {
    content: "• • •";
    color: #ffffff;
    font-size: 1.5rem;
    display: block;
    text-align: center;
    margin-bottom: 5px;
}

/* Modal Styling */
.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.7);
}

.modal-content {
    background-color: #ffffff;
    color: #000000;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Generic Section Styling */
.generic-section {
    position: relative;
    padding: 100px 0;
    color: var(--text-color);
    background-size: cover;
    background-position: center;
}

.generic-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.generic-content-box {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--box-background);
    padding: 20px 40px;
    border-radius: 8px;
    display: flex;
    gap: 40px;
    box-shadow: var(--box-shadow);
    align-items: flex-start;
}

/* Text and Image Columns */
.generic-text {
    flex: 1;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.generic-text h2 {
    margin-top: 30px;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.generic-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: left;
}

.generic-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.generic-image {
    flex: 1 1 50%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.generic-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.generic-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Members Section */
.members-section {
    position: relative;
    margin-top: 110px;
    padding: 100px 0;
    color: var(--text-color);
    background-size: cover;
    background-position: center;
}

/* Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;    /* Center the focal point */
  background-attachment: fixed;   /* Desktop experience */
  height: 70vh;  
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: #ffffff;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    padding: 0 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.logo img {
    max-height: 90px;
    height: auto;
}

.logo a {
    cursor: pointer;
}

/* Menu Icon */
.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 200;
}

.menu-icon div {
    width: 30px;
    height: 3px;
    background-color: #2F2F2F;
    transition: all 0.3s ease-in-out;
}

.menu-icon.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.active .line:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav Links for Smaller Screens */
.nav-links {
    display: flex;
    align-items: center;
    margin-left: auto;
}



.nav-links a {
    color: #2F2F2F;
    text-decoration: none;
    margin: 10px 0;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #bbbbbb;
}

/* Language Switcher */
.language-switcher {
    margin-left: 20px;
}

.language-switcher a {
    color: #2F2F2F;
    text-decoration: none;
    font-weight: bold;
}

.language-switcher a:hover {
    color: #bbbbbb;
}

/* News & Events Section */
.news-events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.news-item {
    flex: 1 1 calc(33% - 20px);
    max-width: 300px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.news-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-image figcaption {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}


/* Footer Styling */
.site-footer {
    background-color: rgba(0, 0, 0, 0.85);
    color: #C0C0C0;
    padding: 30px 0;
    text-align: center;
    width: 100%;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border-top: 1px solid #444;
}

.site-footer p {
    margin: 10px 0;
}

.site-footer a {
    color: #C0C0C0;
    text-decoration: none;
}

.site-footer a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

figure img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

figcaption {
    text-align: center;
    font-size: 14px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
}

.events-section, .news-section {
    text-align: center;
    padding: 50px 20px;
}

.fb-page {
    margin: 20px auto;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.social-links a img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.2);
}

.footer-social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-social-links a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social-links a:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

/* Audio Container */
.audio-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
}

.audio-container audio {
    width: 250px;
    height: 32px;
    background-color: transparent;
    border: none;
}

.audio-container.hidden audio {
    display: none;
}

/* 
  ———————————————— 
  RESPONSIVE RULES
  ———————————————— 
*/

@media (max-width: 800px) {
  .menu-icon {
    display: flex;
  }

  /* Hide nav links by default on mobile */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  /* Optional: Animate the hamburger icon into an 'X' */
  .menu-icon.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-icon.active .line:nth-child(2) {
    opacity: 0;
  }
  .menu-icon.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Mobile nav link styling */
  .nav-links a {
    display: block;
    color: #fff;
    margin: 8px 0;
  }

  /* Hero section overrides for mobile */
  .hero-section {
    background-attachment: scroll;
    height: 60vh;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section p {
    font-size: 1.2rem;
  }

  /* Generic content box */
  .generic-content-box {
    flex-direction: column;
    padding: 15px;
  }

  .generic-image {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .site-footer {
    font-size: 0.8em;
    padding: 15px 0;
  }

  .news-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Even smaller screens (under 400px) */
@media (max-width: 400px) {
  .hero-section {
    height: 55vh;
  }
  .hero-section h1 {
    font-size: 1.8rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
  .generic-text p {
    font-size: 1rem;
  }
  .intro-heading {
    font-size: 2rem;
  }
}

