/* ===============================
   FINAL ENHANCED STYLES
================================= */

:root {
  --navy: #0b1f3a;
  --navy-2: #12345c;
  --navy-3: #183f70;
  --gold: #d4a63a;
  --gold-dark: #a97913;
  --cream: #fff7e6;
  --light: #f7f8fb;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #667085;
  --border: rgba(11, 31, 58, 0.12);
  --shadow-sm: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.12);
  --radius: 18px;
  --radius-lg: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background: var(--white);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

img {
  max-width: 100%;
}

p {
  font-size: 1.08rem;
  line-height: 1.7;
}

a,
button {
  transition: all 0.22s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.04);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
}

.logo {
  height: 56px;
  width: auto;
  flex: 0 0 auto;
}

.brand-name {
  max-width: 230px;
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  color: var(--navy);
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 99px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #171100;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(212, 166, 58, 0.24);
}

.nav-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(212, 166, 58, 0.34);
}

.nav-donate.active {
  background: var(--navy);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 99px;
}

/* HERO */

.hero {
  position: relative;
  padding: 112px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 14%, rgba(212, 166, 58, 0.26), transparent 28%),
    linear-gradient(135deg, var(--navy), var(--navy-2) 58%, var(--navy-3));
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-label,
.card-kicker {
  margin: 0 0 14px;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(2.65rem, 6vw, 5rem);
}

.hero-subtitle,
.page-hero-text {
  max-width: 730px;
  margin: 24px 0 0;
  font-size: 1.22rem;
  line-height: 1.65;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-card,
.site-form,
.feature-card,
.ticket-card,
.donation-card,
.contact-card,
.mini-card,
.doc-item,
.event-card,
.trust-box,
.cta-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  color: var(--text);
  padding: 34px;
}

.hero-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.small-note,
.form-note {
  color: var(--muted);
  font-size: 0.96rem;
}

/* PAGE HERO */

.page-hero {
  padding: 92px 0 60px;
  background:
    linear-gradient(135deg, rgba(255, 247, 230, 0.95), rgba(247, 248, 251, 1));
}

.page-hero h1 {
  max-width: 900px;
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

.page-hero-text {
  color: var(--muted);
}

/* SECTIONS */

.section {
  padding: 88px 0;
}

.light-bg {
  background: var(--light);
}

.split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
  align-items: start;
}

.reverse-mobile {
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

h2,
h3 {
  font-family: "Poppins", sans-serif;
  color: var(--navy);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.95rem, 4vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.large-text {
  margin-top: 0;
  font-size: 1.32rem;
  line-height: 1.58;
  color: var(--navy);
}

.clean-list,
.feature-card ul,
.ticket-card ul,
.donation-purpose ul {
  padding-left: 20px;
}

.clean-list li,
.feature-card li,
.ticket-card li,
.donation-purpose li {
  margin: 10px 0;
  line-height: 1.55;
}

/* CARDS AND GRIDS */

.card-grid,
.program-meta-grid,
.mini-card-row,
.support-grid,
.ticket-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three,
.support-grid,
.program-meta-grid,
.mini-card-row {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.ticket-card,
.donation-card,
.mini-card,
.contact-card {
  padding: 30px;
}

.feature-card:hover,
.ticket-card:hover,
.event-card:hover,
.contact-card:hover,
.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  color: var(--gold-dark);
}

.highlight-card {
  border-color: rgba(212, 166, 58, 0.5);
  box-shadow: 0 24px 70px rgba(212, 166, 58, 0.18);
}

.price {
  margin: 6px 0 20px;
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
}

/* BUTTONS AND LINKS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #171100;
  box-shadow: 0 14px 30px rgba(212, 166, 58, 0.24);
}

.btn-primary:hover {
  background: #e3b548;
}

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover,
.btn-light {
  background: var(--white);
  color: var(--navy);
}

.full-width {
  width: 100%;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--gold-dark);
}

/* FORMS */

.site-form {
  padding: 34px;
}

.site-form label {
  display: block;
  margin: 18px 0;
  font-weight: 700;
  color: var(--navy);
}

.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--text);
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  outline: 3px solid rgba(212, 166, 58, 0.24);
  border-color: var(--gold);
}

.site-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.giving-toggle,
.amount-row {
  display: grid;
  gap: 12px;
}

.giving-toggle {
  grid-template-columns: 1fr 1fr;
  margin: 18px 0;
}

.amount-row {
  grid-template-columns: repeat(4, 1fr);
}

.giving-toggle button,
.amount-row button {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 800;
}

.giving-toggle button:hover,
.amount-row button:hover,
.giving-toggle button.active {
  background: var(--navy);
  color: var(--white);
}

/* EVENT AND GALA */

.event-mini {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.event-mini div,
.impact-list div {
  padding: 18px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid rgba(212, 166, 58, 0.22);
}

.event-mini span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.event-mini strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
}

.event-list {
  display: grid;
  gap: 24px;
}

.event-card {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 24px;
  padding: 26px;
}

.event-card.featured {
  border-color: rgba(212, 166, 58, 0.5);
}

.event-date {
  min-height: 100px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 22px;
  background: var(--navy);
  color: var(--white);
}

.event-date span,
.event-date strong {
  display: block;
}

.event-date strong {
  color: var(--gold-soft, #f2d27c);
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.event-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 18px 0 18px 22px;
  border-left: 4px solid var(--gold);
}

.timeline-item strong {
  display: block;
  color: var(--navy);
}

.calendar-mock {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: white;
  box-shadow: var(--shadow-sm);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: var(--navy);
  color: white;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.calendar-grid div {
  min-height: 90px;
  padding: 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-weight: 800;
  color: var(--navy);
}

/* IMPACT / CTA / TRUST */

.impact-band,
.cta-section {
  background: var(--white);
}

.impact-panel,
.cta-box,
.trust-box,
.contact-panel {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-lg);
}

.impact-panel,
.contact-panel {
  background:
    radial-gradient(circle at 92% 10%, rgba(212, 166, 58, 0.22), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  box-shadow: var(--shadow);
}

.impact-panel h2,
.contact-panel h2 {
  color: var(--white);
}

.impact-panel p,
.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.impact-list {
  display: grid;
  gap: 14px;
}

.impact-list strong {
  display: block;
  color: var(--navy);
}

.impact-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.cta-box,
.trust-box {
  border: 1px solid var(--border);
  background: var(--cream);
}

.contact-details {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

/* PROGRAM DETAILS */

.program-detail-list {
  display: grid;
  gap: 30px;
}

.program-detail-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.program-detail-number {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

/* DOCUMENTS / CONTACT */

.doc-list,
.contact-card-list {
  display: grid;
  gap: 16px;
}

.doc-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.doc-item strong,
.doc-item span {
  display: block;
}

.doc-item span {
  color: var(--muted);
}

/* GALLERY */

.photo-grid,
.gallery-grid,
.social-feed-mock {
  display: grid;
  gap: 16px;
}

.photo-grid {
  grid-template-columns: 1fr 1fr;
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
}

.photo-placeholder,
.gallery-item,
.social-post {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.76), rgba(24, 63, 112, 0.48)),
    linear-gradient(45deg, #d9dee8, #f8edd0);
  box-shadow: var(--shadow-sm);
}

.photo-placeholder {
  min-height: 190px;
}

.photo-placeholder.tall {
  grid-row: span 2;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.photo-placeholder span,
.gallery-overlay span,
.social-post span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  font-weight: 800;
}

.social-feed-mock {
  grid-template-columns: 1fr;
}

.social-post {
  min-height: 130px;
  padding: 24px;
}

.social-post p {
  position: absolute;
  left: 20px;
  bottom: 12px;
  margin: 0;
  color: white;
  font-weight: 700;
}

/* FOOTER */

.site-footer {
  padding: 54px 0 26px;
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 34px;
}

.footer-logo {
  height: 56px;
  margin-bottom: 12px;
  background: white;
  border-radius: 12px;
  padding: 6px;
}

.footer-grid h3 {
  color: var(--white);
  font-size: 1rem;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 1080px) {
  .brand {
    min-width: auto;
  }

  .brand-name {
    max-width: 170px;
    font-size: 0.7rem;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 900px) {
  .nav-wrap {
    min-height: 76px;
  }

  .brand-name {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding: 80px 0 70px;
  }

  .hero-grid,
  .split,
  .impact-panel,
  .cta-box,
  .trust-box,
  .contact-panel,
  .program-detail-card,
  .footer-grid,
  .card-grid.three,
  .card-grid.four,
  .support-grid,
  .program-meta-grid,
  .mini-card-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .hero-card,
  .site-form,
  .impact-panel,
  .cta-box,
  .trust-box,
  .contact-panel {
    padding: 28px;
  }

  .form-row,
  .amount-row,
  .giving-toggle {
    grid-template-columns: 1fr;
  }

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

  .event-date {
    width: 110px;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .logo {
    height: 48px;
  }

  .nav-donate {
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
  }

  .page-hero h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .doc-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
