/* ===== GLOBAL STYLES ===== */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    line-height: 1.6;
  }
  
  h1, h2 {
    color: #003366;
  }
  
  main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
  }
  
  /* ===== HEADER & NAVIGATION ===== */
  /* ===== STICKY HEADER ===== */
/* --- Sticky header & nav --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;              /* above page content */
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}
  
  .mobile-banner {
    width: 100%;
    max-width: 400px;
  }
  
  /* Ensure nav sticks properly within header */
/* Your nav styling can stay; ensure it's inside header */
nav {
  background: #fff;
  padding: 12px 0;
  text-align: center;
  border-bottom: 1px solid #ddd;
}
  
  nav a {
    color: #005eb8;
    margin: 0 15px;
    font-weight: bold;
    text-decoration: none;
  }
  
  nav a.active {
    border-bottom: 2px solid #f7a81b;
    text-decoration: none;
  }
  
  nav a:hover {
    text-decoration: underline;
  }
  
  .login-link {
    color: #f7a81b;
  }
  
  .admin-link {
    color: #f7a81b;
  }
  
  /* --- Sticky construction banner below header --- */
.construction-banner {
  position: sticky;
  top: 0;                     /* stick just under the top; header is also sticky */
  z-index: 999;               /* just beneath header if they overlap momentarily */
  background-color: #fff3cd;
  color: #856404;
  padding: 12px 40px 12px 12px;
  border-top: 1px solid #ffeeba;
  border-bottom: 1px solid #ffeeba;
}
  
  .banner-close {
    position: absolute;
    right: 10px;
    top: 5px;
    background: none;
    border: none;
    font-size: 18px;
    color: #856404;
    cursor: pointer;
  }
  
  /* ===== FOOTER ===== */
  footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
  }
  
  footer a {
    color: #ffdd57;
    text-decoration: none;
  }
  
  /* ===== GALLERY ===== */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .gallery img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  /* ===== MEMBERS ===== */
  .member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }
  
  .member-card {
    background: white;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
  }
  
  .member-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }
  
  /* ===== FORMS ===== */
  form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }

  form label { font-weight: 600; margin-top: 8px; display:block; }
  
  input, textarea, button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
  }
  
  button {
    background: #003366;
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px;
  }
  
  button:hover {
    background: #002244;
  }
  
  /* ===== GROUP PHOTO ===== */
  .group-photo {
    text-align: center;
    margin: 20px auto;
  }
  
  .responsive-photo {
    max-width: 900px; /* Desktop max */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  /* ===== RESPONSIVE ===== */
  @media (max-width: 768px) {
    nav a {
      margin: 10px 8px;
      display: inline-block;
    }
  
    main {
      padding: 15px;
    }
  
    .responsive-photo {
      max-width: 95%;
    }
  }