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

body {
  font-family: Georgia, serif;
  color: #2c2c2c;
  background: #f9f7f2;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(26, 92, 42, 0.08) 35px, rgba(26, 92, 42, 0.08) 37px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(46, 139, 71, 0.06) 35px, rgba(46, 139, 71, 0.06) 37px);
}

/* NAV */
nav {
  background: #1a5c2a;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

nav .logo {
  color: #f0e68c;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 1rem 0;
  text-decoration: none;
}

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

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1rem;
  display: block;
  border-radius: 4px;
  transition: background 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  background: #2e8b47;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a5c2a 0%, #2e8b47 100%);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 { font-size: 2.8rem; margin-bottom: 0.8rem; }
.hero p  { font-size: 1.2rem; opacity: 0.9; }

/* MAIN CONTENT */
main {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.page-title {
  font-size: 2rem;
  color: #1a5c2a;
  border-bottom: 3px solid #f0e68c;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-top: 4px solid #2e8b47;
  display: flex;
  flex-direction: column;
}

.card h3 { color: #1a5c2a; margin-bottom: 0.5rem; }
.card p  { line-height: 1.6; color: #555; flex-grow: 1; }

/* SECTION BLOCKS */
.section-block {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  line-height: 1.8;
}

.section-block h2 { color: #1a5c2a; margin-bottom: 1rem; }

.section-block p + p { margin-top: 1rem; }

/* MEMBERSHIP TABLE */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th {
  background: #1a5c2a;
  color: white;
  padding: 0.8rem 1rem;
  text-align: left;
}

td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #e0e0e0;
}

tr:nth-child(even) td { background: #f4f9f5; }

.btn {
  display: inline-block;
  background: #1a5c2a;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 1.5rem;
  font-size: 1rem;
  transition: background 0.2s;
  text-align: center;
}

.btn:hover { background: #2e8b47; }

/* EVENTS */
.event-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid #e8e8e8;
}

.event-date {
  background: #1a5c2a;
  color: white;
  text-align: center;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  min-width: 80px;
  font-size: 0.85rem;
  line-height: 1.4;
  white-space: nowrap;
}

.event-date strong { display: block; font-size: 1.4rem; }
.event-info h3 { color: #1a5c2a; margin-bottom: 0.3rem; }
.event-info p  { color: #666; font-size: 0.95rem; }

/* PHOTO GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.gallery-item {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.tournament-gallery .gallery-item {
  height: auto;
}

.tournament-gallery .gallery-item img {
  object-fit: contain;
  height: 250px;
}

/* MEMORIAL */
.memorial-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-left: 5px solid #8b7355;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.memorial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #c8b89a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.memorial-info h3 { color: #5a3e28; margin-bottom: 0.3rem; }
.memorial-info .years { color: #8b7355; font-size: 0.9rem; margin-bottom: 0.5rem; }
.memorial-info p { color: #555; line-height: 1.7; }

/* FOOTER */
footer {
  background: #1a5c2a;
  color: #cde8d0;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}
