/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #02522E;
  --green-light: #03693A;
  --green-dark: #013D22;
  --gold: #CF9F4D;
  --gold-hover: #967337;
  --white: #FFFFFF;
  --off-white: #F8F8F8;
  --light-gray: #F0F0F0;
  --text: #333333;
  --text-light: #666666;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-serif: 'Old Standard TT', serif;
  --max-width: 1200px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.3; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
p { margin-bottom: 1rem; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.btn-secondary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-secondary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--green);
}
.btn-white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  color: var(--green-dark);
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 60px; width: auto; }
.logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--green); line-height: 1.2; }
.logo-text small { display: block; font-size: 0.7rem; font-weight: 400; color: var(--text-light); letter-spacing: 0.5px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--green);
  background: rgba(2, 82, 46, 0.06);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px;
  z-index: 999;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--light-gray);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--green); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 84px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 82, 46, 0.85) 0%, rgba(1, 61, 34, 0.7) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 40px 24px;
  max-width: 800px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-family: var(--font-serif);
}
.hero-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--green);
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
  margin-top: 84px;
}
.page-hero h1 { color: var(--white); font-family: var(--font-serif); margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }

/* ========== ABOUT SECTION ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-light); }
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 400px; object-fit: cover; }

/* ========== MEMBER BARNS ========== */
.barns-section { background: var(--off-white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-header .accent-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

.barns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.barn-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.barn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.barn-card-img { height: 200px; overflow: hidden; }
.barn-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.barn-card:hover .barn-card-img img { transform: scale(1.05); }
.barn-card-body { padding: 20px; }
.barn-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--green); }
.barn-card-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 4px; }
.barn-card-body .barn-links { margin-top: 12px; display: flex; gap: 12px; }
.barn-card-body .barn-links a { font-size: 0.85rem; font-weight: 500; }

/* ========== CTA BANNER ========== */
.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 100px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; font-family: var(--font-serif); }
.cta-banner p { margin-bottom: 32px; font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ========== SPONSORSHIP CTA ========== */
.sponsor-cta {
  background: var(--green);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.sponsor-cta h2 { color: var(--white); margin-bottom: 12px; }
.sponsor-cta p { color: rgba(255,255,255,0.85); margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.sponsor-cta .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== CONTACT FORM ========== */
.contact-section { background: var(--off-white); }
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input, .contact-form textarea {
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition);
  width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.contact-form textarea { min-height: 150px; resize: vertical; }

/* ========== EVENTS ========== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  transition: transform var(--transition);
}
.event-card:hover { transform: translateY(-3px); }
.event-date-badge {
  background: var(--green);
  color: var(--white);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  text-align: center;
}
.event-date-badge .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.event-date-badge .day { font-size: 1.5rem; font-weight: 700; line-height: 1; margin: 4px 0; }
.event-date-badge .year { font-size: 0.7rem; opacity: 0.8; }
.event-card-body { padding: 20px; flex: 1; }
.event-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--green); }
.event-card-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0; }
.event-card-body .event-location { display: flex; align-items: flex-start; gap: 6px; }
.event-card-body .event-location::before { content: '📍'; flex-shrink: 0; }

/* ========== BOARD MEMBERS ========== */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.board-member {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--gold);
}
.board-member h4 { font-size: 0.95rem; margin-bottom: 4px; }
.board-member p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0; }

/* ========== SCHOLARSHIP ========== */
.scholarship-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  margin-bottom: 32px;
  border-top: 4px solid var(--green);
}
.scholarship-card h3 { color: var(--green); margin-bottom: 16px; font-size: 1.3rem; }
.scholarship-card ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.scholarship-card ul li { margin-bottom: 6px; color: var(--text-light); font-size: 0.95rem; }

/* ========== SPONSORS GALLERY ========== */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.sponsor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: transform var(--transition);
}
.sponsor-card:hover { transform: translateY(-3px); }
.sponsor-card img { max-height: 80px; object-fit: contain; }
.sponsor-placeholder {
  width: 100%;
  height: 80px;
  background: var(--light-gray);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========== TIP SECTION ========== */
.tip-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tip-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.tip-image img { width: 100%; height: 400px; object-fit: cover; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about .logo { margin-bottom: 16px; }
.footer-about .logo img { height: 50px; }
.footer-about .logo-text { color: var(--white); }
.footer-about .logo-text small { color: rgba(255,255,255,0.6); }
.footer-about p { font-size: 0.9rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact a { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--gold); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about-grid, .tip-content { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 70vh; }
  .section { padding: 60px 0; }
  .events-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .barns-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }
}

/* ========== UTILITY ========== */
.bg-light { background: var(--off-white); }
.bg-green { background: var(--green); color: var(--white); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* Info box */
.info-box {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.info-box p { margin-bottom: 0; }

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}
