@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Permanent+Marker&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@400;500&display=swap');

:root {
  --green: #2d6a2d;
  --green-dark: #1a3f1a;
  --green-light: #4a9e4a;
  --gold: #c9a84c;
  --gold-light: #f0cc77;
  --cream: #f5f0e8;
  --off-white: #faf7f2;
  --brown: #5c3d1e;
  --red: #c0392b;
  --dark: #1a1a1a;
  --text: #2c2c2c;
  --nav-height: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='none'/%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%23000' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--green-dark);
  border-bottom: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-decoration: none;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

.nav-logo span {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ccc;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--gold);
  transition: all 0.3s;
  display: block;
}

/* ── HERO / PAGE HEADERS ── */
.page-hero {
  margin-top: var(--nav-height);
  background: var(--green-dark);
  padding: 4rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}

.page-hero::before {
  content: '⛳';
  position: absolute;
  font-size: 12rem;
  opacity: 0.04;
  right: -1rem;
  top: -2rem;
  transform: rotate(-15deg);
}

.page-hero::after {
  content: '🍺';
  position: absolute;
  font-size: 10rem;
  opacity: 0.04;
  left: -1rem;
  bottom: -2rem;
  transform: rotate(10deg);
}

.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--gold);
  letter-spacing: 4px;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.4);
  line-height: 1;
}

.page-hero .tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 0.75rem;
}

/* ── HOME HERO ── */
.home-hero {
  margin-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  background: var(--green-dark); /* fallback */
  background-size: cover;
  background-position: center top;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 28, 10, 0.72) 0%,
    rgba(10, 28, 10, 0.55) 40%,
    rgba(10, 28, 10, 0.75) 100%
  );
  z-index: 0;
}

.hero-flag {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: flag-wave 3s ease-in-out infinite;
  display: block;
  position: relative;
  z-index: 1;
}

@keyframes flag-wave {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.05); }
}

.home-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 14vw, 9rem);
  color: var(--gold);
  letter-spacing: 6px;
  text-shadow: 4px 4px 0 rgba(0,0,0,0.5), 0 0 60px rgba(201,168,76,0.2);
  line-height: 0.9;
  position: relative;
  z-index: 1;
}

.home-hero .subtitle {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(1rem, 3vw, 1.6rem);
  color: var(--green-light);
  margin: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto;
  position: relative;
  z-index: 1;
}

.home-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.hero-btn:hover {
  background: var(--gold-light);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
}

/* ── SCROLL ARROW ── */
.scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  opacity: 0.6;
  animation: bounce 2s infinite;
  font-size: 1.5rem;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── MAIN CONTENT AREA ── */
main {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── SECTIONS ── */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background: #f0ebe0;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--green-dark);
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}

.section-title .accent {
  color: var(--gold);
}

.section-subtitle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* ── HOME STATS BAR ── */
.stats-bar {
  background: var(--green);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
}

.stat {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat:last-child { border-right: none; }

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

/* ── CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border: 1px solid #e0d8cc;
  border-top: 4px solid var(--gold);
  padding: 1.75rem;
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 5px 8px 0 rgba(0,0,0,0.08);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* ── MEMBER CARDS ── */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.member-card {
  background: #fff;
  border: 1px solid #e0d8cc;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.member-card:hover { transform: translateY(-3px); }

.member-avatar {
  height: 140px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.member-photo {
  height: 260px;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.member-avatar::after {
  content: attr(data-initials);
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 4px;
}

.founding-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
}

.member-info {
  padding: 1.25rem;
}

.member-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-dark);
}

.member-nickname {
  font-family: 'Permanent Marker', cursive;
  font-size: 0.9rem;
  color: var(--gold);
  margin: 0.2rem 0 0.6rem;
}

.member-handicap {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.75rem;
}

.member-bio {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #555;
}

/* ── EVENTS ── */
.event-card {
  background: #fff;
  border: 1px solid #e0d8cc;
  border-left: 6px solid var(--gold);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 0 2px 2px 0;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: start;
}

.event-date-block {
  text-align: center;
  background: var(--green-dark);
  padding: 1rem;
  border-radius: 2px;
  color: #fff;
}

.event-month {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.event-day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
}

.event-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.event-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
}

.event-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.event-details {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.event-meta {
  margin-top: 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #888;
}

.event-meta span {
  margin-right: 1rem;
}

/* ── BYLAWS ── */
.bylaw-section {
  background: #fff;
  border: 1px solid #e0d8cc;
  border-top: 4px solid var(--green);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.bylaw-section h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--green-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #ccc;
}

.bylaw-section ol, .bylaw-section ul {
  padding-left: 1.5rem;
}

.bylaw-section li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 0.3rem;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid #e0d8cc;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #444;
}

.contact-detail .icon {
  font-size: 1.3rem;
  width: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #d0c8bc;
  border-radius: 2px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.submit-btn {
  background: var(--green-dark);
  color: var(--gold);
  border: none;
  padding: 1rem 2.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  width: 100%;
}

.submit-btn:hover {
  background: var(--green);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}

.form-success {
  display: none;
  background: #e8f5e9;
  border: 2px solid var(--green);
  padding: 1.5rem;
  border-radius: 2px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--green-dark);
}

/* ── HISTORY TIMELINE ── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--green));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2.4rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border: 3px solid var(--off-white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-year {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
}

.timeline-event {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0.25rem 0 0.5rem;
}

.timeline-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* ── FOOTER ── */
footer {
  background: var(--green-dark);
  border-top: 3px solid var(--gold);
  padding: 2.5rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 3px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.5rem;
}

/* ── UTILITY ── */
.tag {
  display: inline-block;
  background: var(--green-dark);
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.gold { color: var(--gold); }
.green { color: var(--green); }

blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: rgba(201,168,76,0.08);
  font-style: italic;
  font-size: 1.05rem;
  color: #444;
  margin: 1.5rem 0;
  border-radius: 0 2px 2px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 3px solid var(--gold);
    gap: 0;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; }
  .hamburger { display: flex; }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date-block {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
  }

  .event-day { font-size: 2rem; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
