/* ----------------------------------
   Global Reset & Layout
---------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background-color: #f9f9f9;
  line-height: 1.6;
  font-size: 16px; /* Base font size */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* ----------------------------------
   Header & Navigation
---------------------------------- */
header {
  background-color: #355E3B; /* Hunter Green */
  color: #fff;
  padding: 15px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header .logo-text {
  font-size: 2.2rem;
  font-family: 'Verdana', sans-serif;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  font-size: 1.1rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffd700; /* Gold accent */
}

/* ----------------------------------
   Hero Section (Home Page) - Side by Side
---------------------------------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 20px;
  background-color: #f9f9f9;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 300px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #355E3B; /* Hunter Green */
}

.hero-text p {
  font-size: 1.3rem;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image img {
  width: 35%;
  height: auto;
  border-radius: 10px;
}

/* ----------------------------------
   Three Pillars Cards
---------------------------------- */
.cards {
  display: flex;
  gap: 30px;
  margin: 50px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  width: 280px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.card h3 {
  margin-bottom: 15px;
  color: #355E3B; /* Hunter Green */
}

.card p {
  font-size: 1rem;
  color: #444;
}

/* ----------------------------------
   Footer
---------------------------------- */
footer {
  background-color: #355E3B; /* Hunter Green */
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  font-size: 1rem;
}

/* ----------------------------------
   Responsive
---------------------------------- */
@media (max-width: 1000px) {
  .container {
    width: 95%;
  }
}


@media (max-width: 700px) {
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .card {
    width: 280px;
    max-width: calc(100% - 40px);
  }

  header {
    flex-direction: column;
    align-items: center;
  }
}


@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-text p {
    font-size: 1.1rem;
  }
}

.success-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.success-box h2 {
  color: #103515; /* hunter green */
  margin-bottom: 20px;
}

.success-box ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.back-btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #103515;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.back-btn:hover {
  background-color: #004d00;
}

.success-box.simple {
  text-align: center;
  padding: 40px;
}

.success-center {
  text-align: center;
  padding: 40px 0;
}

.page-header {
  text-align: center;
  padding: 60px 20px 30px 20px;
}

.page-header h1 {
  font-size: 3rem;
  color: #355E3B; /* Hunter Green */
  margin-bottom: 10px;
}

.page-header .subtitle {
  font-size: 1.3rem;
  color: #444;
}


/* ===== Mobile-friendly ticket purchase section ===== */

.ticket-options {
  width: 100%;
  max-width: 560px;
  margin: 32px auto;
}

.ticket-card {
  box-sizing: border-box;
  width: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid #e2e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.ticket-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ticket-heading h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #172d3a;
}

.ticket-price {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #234b5d;
  white-space: nowrap;
}

.ticket-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: #667681;
}

.ticket-description {
  margin: 14px 0 24px;
  color: #53616b;
  line-height: 1.6;
}

.purchase-field {
  margin-bottom: 22px;
}

.purchase-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #263943;
}

.purchase-field label span {
  font-weight: 400;
  color: #687780;
}

.purchase-field select,
.purchase-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #cbd5dc;
  border-radius: 7px;
  background: #fff;
  color: #172d3a;
  font: inherit;
}

.purchase-field select:focus,
.purchase-field input:focus {
  outline: 2px solid #7ba8b8;
  outline-offset: 2px;
}

.input-with-prefix {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5dc;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.input-with-prefix > span {
  padding-left: 14px;
  color: #53616b;
}

.input-with-prefix input {
  border: none;
  border-radius: 0;
  min-width: 0;
}

.input-with-prefix input:focus {
  outline: none;
}

.input-with-prefix:focus-within {
  outline: 2px solid #7ba8b8;
  outline-offset: 2px;
}

.field-help {
  margin: 7px 0 0;
  color: #687780;
  font-size: 0.88rem;
  line-height: 1.5;
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  margin-top: 4px;
  border-top: 1px solid #e2e7eb;
  font-size: 1.05rem;
}

.order-total strong {
  font-size: 1.6rem;
  color: #172d3a;
}

.buy-btn {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 14px 20px;
  border: none;
  border-radius: 7px;
  background: #234b5d;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.buy-btn:hover {
  background: #183746;
}

.buy-btn:focus-visible {
  outline: 3px solid #7ba8b8;
  outline-offset: 3px;
}

.buy-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.checkout-message {
  margin: 12px 0 0;
  color: #a12b2b;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .ticket-options {
    margin: 24px auto;
  }

  .ticket-card {
    padding: 22px 18px;
    border-radius: 10px;
  }

  .ticket-heading h2 {
    font-size: 1.35rem;
  }

  .ticket-price {
    font-size: 1.3rem;
  }

  .order-total strong {
    font-size: 1.45rem;
  }
}


/* Donation page card */
.donation-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 24px;
}

.amount-btn {
  min-height: 44px;
  padding: 10px;
  border: 1px solid #cbd5dc;
  border-radius: 7px;
  background: #fff;
  color: #234b5d;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.amount-btn:hover,
.amount-btn:focus-visible {
  background: #edf4f6;
  border-color: #234b5d;
}

.donation-amounts + label,
.ticket-card > label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #263943;
}

.ticket-card #donationAmount {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #cbd5dc;
  border-radius: 7px;
  background: #fff;
  color: #172d3a;
  font: inherit;
}

.ticket-card #donationAmount:focus {
  outline: 2px solid #7ba8b8;
  outline-offset: 2px;
}

/* Remove number input arrows in Chrome, Edge, Safari */
.ticket-card #donationAmount::-webkit-inner-spin-button,
.ticket-card #donationAmount::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove number input arrows in Firefox */
.ticket-card #donationAmount {
  -moz-appearance: textfield;
}

@media (max-width: 480px) {
  .donation-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Donation page layout */
.ticket-options {
  width: 100%;
  max-width: 560px;
  margin: 32px auto;
}

.ticket-card {
  box-sizing: border-box;
  width: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid #e2e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.ticket-heading h2 {
  margin: 0;
  color: #172d3a;
  font-size: 1.5rem;
}

.ticket-description {
  margin: 12px 0 22px;
  color: #53616b;
  line-height: 1.6;
}

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.amount-btn {
  min-width: 0;
  min-height: 44px;
  padding: 10px 6px;
  border: 1px solid #cbd5dc;
  border-radius: 7px;
  background: #fff;
  color: #234b5d;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.amount-btn:hover,
.amount-btn:focus-visible {
  background: #edf4f6;
  border-color: #234b5d;
}

.purchase-field {
  margin-bottom: 22px;
}

.purchase-field label {
  display: block;
  margin-bottom: 8px;
  color: #263943;
  font-weight: 600;
}

.input-with-prefix {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5dc;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.input-with-prefix > span {
  padding-left: 14px;
  color: #53616b;
}

.input-with-prefix input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 12px;
  border: none;
  outline: none;
  background: transparent;
  color: #172d3a;
  font: inherit;
  -moz-appearance: textfield;
}

.input-with-prefix input::-webkit-inner-spin-button,
.input-with-prefix input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-with-prefix:focus-within {
  outline: 2px solid #7ba8b8;
  outline-offset: 2px;
}

.buy-btn {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 14px 20px;
  border: none;
  border-radius: 7px;
  background: #234b5d;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.buy-btn:hover {
  background: #183746;
}

.buy-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.checkout-message {
  margin: 12px 0 0;
  color: #a12b2b;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .ticket-options {
    margin: 24px auto;
  }

  .ticket-card {
    padding: 22px 18px;
  }

  .donation-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Fix double border on donation amount input */
.input-with-prefix {
  border: 1px solid #cbd5dc;
  border-radius: 7px;
  overflow: hidden;
}

.input-with-prefix input,
.input-with-prefix input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0;
}

.input-with-prefix:focus-within {
  outline: 2px solid #7ba8b8;
  outline-offset: 2px;
}

.content a {
  color: #234b5d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content a:hover {
  color: #183746;
}

.event-indent {
  margin-left: 0;
  padding-left: 75px;
}

.event-indent2 {
  margin-left: 0;
  padding-left: 46px;
}


.benefit-night-banner {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto 16px;
}

@media (max-width: 600px) {
  .benefit-night-banner {
    max-width: 100%;
  }
}