/* File: css/style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

#calendar {
  width: 100%;
  height: 80vh;
}

header .nav-link {
  font-weight: 500;
  padding: 0 12px;
  line-height: 1;
}
header .nav-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background-image: url('wtc-bg-fullscreen.jpg');
  background-size: cover;
  background-position: center;
  margin-top: 0 !important;
  padding-top: 0 !important;
  height: 80vh;
  min-height: 500px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero .btn-primary {
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
  background-color: #0d47a1;
  border-color: #0d47a1;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.section-box {
  border: 1px solid #ccc;
  padding: 30px;
  margin-bottom: 40px;
  border-radius: 8px;
  background-color: #fff;
}

.btn-home-section {
  display: block;
  background-color: #e6f0ff;
  border: 1px solid #b3d1ff;
  color: #000;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-home-section:hover {
  background-color: #cce5ff;
  text-decoration: none;
}

.btn-home-section h3 {
  margin-bottom: 10px;
}

.btn-home-section p {
  margin: 0;
  font-size: 1.1rem;
}

.bordered-image {
  max-width: 100%;
  border: 4px solid #cce5ff;
  border-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

/* Make sure the offcanvas sits above everything on iOS */
#mobileMenu.offcanvas-end { z-index: 2000; }
.offcanvas-backdrop { z-index: 1990; }

/* Smooth scrolling inside on iOS */
#mobileMenu .offcanvas-body { -webkit-overflow-scrolling: touch; }


/* Apply to ALL sections that use .thumbs */
/* Thumbnail strip for Mission / Get Involved / Who We Are */
.section-box .thumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.section-box .thumbs img {
  width: 240px;        /* Desktop size */
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* On small screens (phones) make thumbnails smaller */
@media (max-width: 576px) {
  .section-box .thumbs img {
    width: 140px;      /* adjust as needed */
    height: 186px;     /* keep same aspect ratio */
  }
}


