/* Reset basics */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; color: #333; background: #f8f8f8; }

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #002b45;
  padding: 0.5rem 1rem;
  color: #fff;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 0.5rem;
  object-fit: cover;
  background: #fff; /* temp background until logo is loaded */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO */
.hero {
  background: url('hero-placeholder.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}


/* MAIN CONTENT */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #002b45;
}

.card p {
  margin-bottom: 1rem;
}

.card a {
  color: #c0392b;
  font-weight: bold;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: #002b45;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #002b45;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  nav ul.nav-active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
/* PAGE HERO (used on inner pages like Events, Classes) */
.page-hero {
  background: #002b45;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.page-hero h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  max-width: 600px;
  margin: auto;
  font-size: 1rem;
}

/* Highlight current menu item */
nav a.active {
  border-bottom: 2px solid #c0392b;
}

/* List styling inside cards */
.card ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.card ul li {
  margin-bottom: 0.5rem;
}

/* Apply section */
.apply-section {
  background: #fff;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.apply-section p {
  margin: 0.5rem 0;
}

/* Legal Notice Style */
p.legal-notice {
  font-style: italic;
  font-size: 0.9rem; /* slightly smaller than normal */
  color: #666;       /* softer gray for subtlety */
  margin-top: 1rem;
}

.bylaws-section {
  background: #fff;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}
.bylaws-section p {
  margin-bottom: 1rem;
}

/* Ballistic Page Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card h3 {
  color: #002b45;
}



/* Ballistic Page Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card h3 {
  color: #002b45;
}




/* Update this card link rule so it doesn’t affect .btns */
.card a:not(.btn) {
  color: #c0392b;
  font-weight: bold;
  text-decoration: none;
}

.card a:not(.btn):hover {
  text-decoration: underline;
}

/* Final button style (place at end of file) */
.btn {
  display: inline-block; /* makes padding apply properly */
  background: #c0392b;
  color: #fff !important; /* force white text */
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.btn:hover {
  background: #a93226;
}

div.table-div {
	text-align: center;
}

div.infoBody {
	text-align: left;
}

.centered-content {
  max-width: 600px;       /* restrict width */
  margin: 0 auto;         /* center horizontally */
  text-align: center;     /* center text inside */
}

.centered-content ul.link-list {
  list-style-position: inside; /* optional, looks nicer centered */
  padding-left: 0;
}

.centered-content ul.link-list li {
  margin-bottom: 0.75rem;
}

.centered-content ul.link-list li a {
  text-decoration: none;
  color: #c0392b;
  font-weight: bold;
}

.centered-content ul.link-list li a:hover {
  text-decoration: underline;
}

.centered-content .note {
  font-style: italic;
  color: #666;
  margin-top: 1rem;
}

.centered-content .back-to-top a {
  color: #002b45;
  font-weight: bold;
  text-decoration: none;
}

.centered-content .back-to-top a:hover {
  text-decoration: underline;
}


