@charset "UTF-8";
/* CSS Document */

/* Theme colors (CSS variables) */

:root {
  --accent: #DE2121;
  --muted: #666666;
  --bg: #ffffff;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  line-height: 1.5;
  margin: 0;
  background: var(--bg);      /* was var(#ffffff) – fixed */
  color: #111;
}

.container {
	max-width: 960px;
  margin: 0 auto;
  padding: 24px;
}

/* Red → light gold gradient header */
header {
  background: linear-gradient(90deg, var(--accent), #FFF1BF); /* was var(#DE2121) – fixed */
  color: #fff;
  padding: 18px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 20px;
}

nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 600;
}

.cta-button {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cta-button.primary:hover {
  background: #c01414;
  color: #fff;
}

.cta-button.secondary:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}



.hero-wrapper {
  position: relative;
  width: 100%;
  max-width: 3000px;
  margin: 0 auto;
  min-height: clamp(500px, 90vh, 1300px);
  overflow: hidden;
}
/* Top hero image (full width, centered) */
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
	height: 100%;
  object-fit: cover;
  display: block;
}
/* text that will flash on top of image*/


/* text layered on image (redundant/delete)*/

.hero-text {position: absolute;
  bottom: 120px;   /* moves text up from bottom */
  left: 50%;
  transform: translateX(-50%);
	color: #fff;
  padding: 20px 28px; /* former was 12px 20px*/ 
  border-radius: 10px; /* former was 6px*/
  font-size: 25px;
	line-height: 1.2;
  text-align: center;
	text-shadow: 0 4px 8px rgba(0,0,0,0.7);
  width: 90%;
  max-width: 1000px;
opacity: 0; /* start invisible */
animation: fadeInText 2s ease-out forwards; /* fade-in animation */
  z-index: 1;}
/* Logo under the hero – smaller and centered */
.logo {
  width: 100%;
  max-width: 260px;      /* controls logo size */
  height: auto;
  display: block;
  margin: 0 auto 16px;   /* centers logo and adds space below */
}

@media (min-width: 1200px) {
  .logo {
    max-width: 380px;
  }
}

@media (min-width: 1500px) {
  .logo {
    max-width: 620px;
  }
}

/* Fade‑in keyframes for quote */
@keyframes fadeInText {
0% { opacity: 0; transform: translate(-50%, 20px); }
100% { opacity: 1; transform: translate(-50%, 0); }
}
/*donate button*/
.hero-button {
  position: absolute;
  left: 100px;
  bottom: 20px;                  /* adjust how far above the bottom */
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: 0.3s ease;
  opacity: 0;
  animation: fadeInButton 2.5s ease-out forwards;
  z-index: 1;
}
/*hover effect on donate button*/
.hero-button:hover {
  background: #b81010;
  transform: translateX(-50%) scale(1.05);
}
/* Fade-in animation for donation button */
@keyframes fadeInButton {
  0% { opacity: 0; transform: translate(-50%, 20px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

/* Center text in the hero area */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: 36px 0;
  text-align: center;    /* centers h1 and p text */
}

/* Right-hand callout box */
.hero .cta {
  background: var(--card);  /* was var(#fff) – fixed */
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(30, 40, 60, 0.08);
}

h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

p.lead {
  margin: 0;
  color: var(--muted);   /* was var(#666) – fixed */
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.media-section {
  margin-top: 32px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

@media (min-width: 900px) {
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .media-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.media-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(30, 40, 60, 0.08);
  background: var(--card);
  aspect-ratio: 16 / 9; /* keep every tile consistent */
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.media-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}



/* Lightbox modal for media */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lightbox__figure {
  margin: 0;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.lightbox__figure img {
  display: block;
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
}

.lightbox__figure figcaption {
  color: #f5f5f5;
  font-size: 14px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.6);
}

.lightbox__close {
  position: absolute;
  top: -36px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.lightbox__nav {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.lightbox__nav:hover {
  background: rgba(0,0,0,0.8);
}

.card {
  background: var(--card);
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(30, 40, 60, 0.06);
}

h2 {
  margin-top: 0;
}

.section-title {
  margin: 32px 0 12px;
  font-size: 32px;
  text-align: left;
}

.form-embed {
  margin-top: 12px;
}

.form-embed iframe {
  width: 100%;
  min-height: 950px;
  border: 0;
}

/* Wider layout for large desktops */
@media (min-width: 1400px) {
  .container {
    max-width: 1500px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (min-width: 1700px) {
  .container {
    max-width: 1800px;
  }

  .grid {
    gap: 40px;
  }
}

/* Larger typography on big screens */
@media (min-width: 1200px) {
  body { font-size: 18px; }
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .lead { font-size: 18px; }
}

@media (min-width: 1600px) {
  body { font-size: 19px; }
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  .lead { font-size: 19px; }
}

/* Small-screen refinements */
@media (max-width: 640px) {
  .container {
    padding: 16px;
  }

  .hero {
    text-align: left;
    gap: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .cta-button {
    width: 100%;
  }

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

  .logo {
    max-width: 70%;
  }
}

form input,
form textarea,
form button,
.input {
  width: 100%;
  padding: 10px;
  border: 1px solid #e2e6ee;
  border-radius: 8px;
}

form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

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

.muted {
  color: var(--muted);
  font-size: 14px;
}

.card ul {
  padding-left: 20px;
  margin: 8px 0 12px;
  list-style: disc;
}

.card ul li {
  margin-bottom: 6px;
}

footer {
  padding: 24px 0;
  color: var(--muted);
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }

  nav a {
    display: none;
  }

  .mobile-nav {
    display: block;
  }
}

.mobile-nav {
  display: none;
}

.small {
  font-size: 14px;
}

/* Text grids: stack and soften padding on smaller screens */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card {
    width: 95%;
    padding: 16px;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card {
    padding: 12px;
  }
}

/* Tablet: slightly smaller text & closer to bottom */
@media (max-width : 903px ){
  .hero-text {
    bottom: 300px;
    font-size: 40px;
    padding: 10px 16px;
    max-width: 90%;
  }
}

/* Small phones: smaller text, tighter padding */
@media (max-width: 600px) {
  .hero-text {
    bottom: 40px;
    font-size: 20px;
    padding: 8px 12px;
    width: 94%;
  }

  .hero-text strong {
    display: block;          /* puts “Jamie Adams” on its own line */
    margin-top: 4px;
  }
}

/* Mobile improvements for quote */
@media  (max-width: 720px) {
.hero-text {
bottom: 80px;
font-size: 24px;
padding: 12px 16px;
max-width: 95%;
border-radius: 8px;
}
}

/* Desktop enhancements for quote*/
@media (min-width: 1050px) {
.hero-text {
bottom: 110px; /* move higher up */
font-size: 50px; /* make text bigger */
max-width: 2000px; /* wider banner */
padding: 30px 40px; /* more breathing room */
border-radius: 12px;
}
}

/* Desktop enhancements for quote*/
@media (min-width: 1500px) {
.hero-text {
bottom: 200px; /* move higher up */
font-size: 70px; /* make text bigger */
max-width: 2000px; /* wider banner */
padding: 30px 40px; /* more breathing room */
border-radius: 12px;
}
}


/* Desktop enhancements for quote*/
@media (min-width: 1670px) {
.hero-text {
bottom: 280px; /* move higher up */
font-size: 70px; /* make text bigger */
max-width: 2000px; /* wider banner */
padding: 30px 40px; /* more breathing room */
border-radius: 12px;
}
}

/* Mobile adjustments for donation button*/
@media (max-width: 720px) {
  .hero-button {
    bottom: 50px;
    font-size: 16px;
    padding: 10px 18px;
  }
}
/* Mobile adjustments for smaller phones donation button*/
@media (max-width: 600px) {
  .hero-button {
    bottom: 30px;
    font-size: 16px;
    padding: 10px 18px;
  }
}

/* Desktop-large enhancements for donation button */
@media (min-width: 1050px) {
  .hero-button {
    left: 200px;
	  bottom: 40px;
    font-size: 32px;
    padding: 20px 36px;
    border-radius: 12px;
  }
}

/* Desktop-large enhancements for donation button */
@media (min-width: 1500px) {
  .hero-button {
    left: 500px;
	  bottom: 120px;
    font-size: 32px;
    padding: 20px 36px;
    border-radius: 12px;
  }
}

/* Desktop-large enhancements for donation button */
@media (min-width: 1670px) {
  .hero-button {
    left: 500px;
	  bottom: 220px;
    font-size: 32px;
    padding: 20px 36px;
    border-radius: 12px;
  }
}


