:root {
  --primary-red: #cf2e2e;
  --primary-blue: #1e439c;
  --text-dark: #222222;
  --bg-light: #f9f9f9;
  --border-color: #e0e0e0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'PT Sans', sans-serif;
  color: var(--text-dark);
  background-color: #111111;
  line-height: 1.6;
}

/* Original GoodLayers centered fixed background styling */
.gdl-custom-full-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.gdl-custom-full-background img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}

.site-container {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

header {
  text-align: center;
  padding: 15px 10px;
  background: #ffffff;
}

header img {
  max-width: 100%;
  height: auto;
}

nav {
  background: #1e439c;
  border-top: 3px solid var(--primary-red);
  border-bottom: 3px solid var(--primary-red);
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a,
.nav-menu > li > span {
  display: flex;
  align-items: center;
  padding: 12px 18px; 
  color: #ffffff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; 
  text-decoration: none;
  letter-spacing: 1px;
  cursor: pointer;
  line-height: 1;
}

.nav-menu a:hover,
.nav-menu > li:hover > span {
  background-color: var(--primary-red);
  text-decoration: none;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #142f70;
  min-width: 180px;
  z-index: 100;
  list-style: none;
  padding-left: 0;
}

.nav-menu > li:hover .dropdown {
  display: block;
}

.dropdown a {
  font-size: 1.1rem;
  padding: 10px 15px;
}

.dropdown a:hover {
  text-decoration: none;
}

.page-header-banner {
  background: #f4f4f4;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 25px;
}

.page-header-banner h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: #111111;
  margin: 0;
  border: none;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 488px;
  overflow: hidden;
  background-color: #000000;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.4rem;
  z-index: 10;
  transition: background 0.2s ease;
}

.slider-btn:hover {
  background: var(--primary-red);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.dot.active {
  background-color: var(--primary-red);
  transform: scale(1.2);
  border-color: #ffffff;
}

.content-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  padding: 30px 20px;
}

.full-width-content {
  padding: 30px 25px;
}

@media (max-width: 980px) {
  .site-container {
    max-width: 100%;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .hero-slider-wrapper {
    height: 280px;
  }
}

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  color: #111111;
  margin-bottom: 15px;
}

h2, h3 {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 5px;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; margin-top: 25px; }
h3 { font-size: 1.4rem; margin-top: 20px; }
h4 { font-size: 1.2rem; margin: 0; border: none; padding: 0; }

p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

ul li, ol li {
  margin-bottom: 0;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 15px;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.widget {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 20px;
}

.widget-title {
  font-size: 1.4rem;
  border-bottom: 2px solid var(--primary-red);
  margin-bottom: 15px;
}

.btn-donate {
  display: block;
  background-color: var(--primary-blue);
  color: #ffffff;
  text-align: center;
  padding: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  text-decoration: none;
  border-radius: 4px;
  margin: 15px 0;
  transition: background-color 0.2s ease;
}

.btn-donate.disabled {
  background-color: #888888;
  color: #ffffff;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.85;
}

.widget img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 5px;
}

footer {
  background: #111111;
  color: #ffffff;
  padding: 30px 20px 15px;
  border-top: 4px solid var(--primary-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

footer h3 {
  color: #ffffff;
  border-bottom-color: #333333;
}

footer a {
  color: #cccccc;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  transition: opacity 0.2s ease;
}

.social-icons img:hover {
  opacity: 0.8;
}

.copyright {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #333333;
  font-size: 0.85rem;
  color: #888888;
}

.photo-album-item {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.photo-album-thumb { flex: 0 0 240px; }
.photo-album-thumb img { width: 100%; height: auto; border: 1px solid #ccc; padding: 4px; background: #fff; }
.photo-album-desc { flex: 1; min-width: 250px; }

/* Square Grid for Gallery Thumbnails */
.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.gallery-grid-full img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #ccc;
  padding: 3px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid-full img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Lightbox Modal CSS */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border: 3px solid #ffffff;
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.news-article-card {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.news-date {
  background: var(--primary-red);
  color: #fff;
  text-align: center;
  padding: 10px;
  min-width: 60px;
  font-family: 'Bebas Neue', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 80px;
}

.news-date .day { font-size: 1.8rem; line-height: 1; }
.news-date .month { font-size: 1rem; line-height: 1; }
.news-date .year { font-size: 0.9rem; color: #ffcccc; }

.news-thumb { flex: 0 0 200px; }
.news-thumb img { width: 100%; height: auto; border: 1px solid #ddd; }
.news-content { flex: 1; }
.news-content h3 { border: none; margin: 0 0 10px 0; font-size: 1.6rem; }
.blog-header { display: flex; gap: 20px; margin-bottom: 25px; border-bottom: 1px dotted var(--border-color); padding-bottom: 20px; }
.blog-title-wrap h2 { margin-top: 0; margin-bottom: 5px; border: none; }
.blog-body img { max-width: 100%; height: auto; margin-bottom: 15px; border: 1px solid #ddd; }
