/* ============================================================
   18th and Spring Inc. — Global Stylesheet
   CSS3 Pure | Gradient Red Charity Brand System
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  --red-deep:    #8B0000;
  --red-primary: #C0392B;
  --red-mid:     #E74C3C;
  --red-light:   #F1948A;
  --red-pale:    #FDEDEC;
  --grad-hero:   linear-gradient(135deg, #8B0000 0%, #C0392B 45%, #E74C3C 100%);
  --grad-card:   linear-gradient(135deg, #C0392B 0%, #E74C3C 100%);
  --grad-dark:   linear-gradient(135deg, #5D0000 0%, #8B0000 100%);
  --white:       #FFFFFF;
  --off-white:   #FAF9F7;
  --gray-light:  #F5F5F5;
  --gray-mid:    #9E9E9E;
  --gray-dark:   #424242;
  --text-main:   #1A1A1A;
  --text-sub:    #555555;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.18);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Inter', -apple-system, sans-serif;
  --max-width:   1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-sub); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout Utilities ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 110px 0; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-red    { color: var(--red-primary); }
.bg-off-white { background: var(--off-white); }
.bg-gray-light { background: var(--gray-light); }
.bg-dark     { background: var(--text-main); }

/* ---- Section Label ---- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-primary);
  margin-bottom: 12px;
}
.section-label.white { color: rgba(255,255,255,0.75); }

/* ---- Section Title Block ---- */
.section-title { margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-sub); max-width: 640px; }
.section-subtitle.center { margin: 0 auto; }

/* ---- Divider ---- */
.divider {
  width: 56px; height: 4px;
  background: var(--grad-card);
  border-radius: 2px;
  margin: 16px 0 32px;
}
.divider.center { margin: 16px auto 32px; }
.divider.white  { background: rgba(255,255,255,0.6); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-card);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(192,57,43,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,57,43,0.45);
}
.btn-outline {
  border: 2px solid var(--red-primary);
  color: var(--red-primary);
}
.btn-outline:hover {
  background: var(--red-primary);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--red-primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: var(--red-pale);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ---- Arrow Icon ---- */
.arrow { font-style: normal; transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}
.navbar.scrolled .nav-link { color: var(--text-main); }
.navbar.scrolled .nav-logo-text { color: var(--red-primary); }
.navbar.scrolled .nav-logo-sub  { color: var(--text-sub); }
.navbar.scrolled .btn-nav { background: var(--grad-card); color: var(--white); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  width: 44px; height: 44px;
  background: var(--grad-card);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 900;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.nav-logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  background: var(--red-pale);
  color: var(--red-primary);
}
.btn-nav {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  transition: var(--transition);
  margin-left: 8px;
}
.btn-nav:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--white);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--text-main); }

/* ============================================================
   PAGE HERO BANNERS (inner pages)
   ============================================================ */
.page-hero {
  background: var(--grad-hero);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-primary);
  background: var(--red-pale);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.card-title { font-size: 1.15rem; margin-bottom: 10px; color: var(--text-main); }
.card-date  { font-size: 0.82rem; color: var(--gray-mid); margin-bottom: 10px; }
.card-text  { font-size: 0.92rem; color: var(--text-sub); margin-bottom: 16px; }
.card-link  { font-size: 0.88rem; font-weight: 600; color: var(--red-primary); display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 10px; }

/* ---- Stat Cards ---- */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red-primary);
}
.stat-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--red-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: var(--text-sub); font-weight: 500; }

/* ---- Icon Feature Cards ---- */
.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.feature-card:hover {
  border-bottom-color: var(--red-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 60px; height: 60px;
  background: var(--red-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }

/* ============================================================
   ANNOUNCEMENT BANNER
   ============================================================ */
.announcement-bar {
  background: var(--grad-dark);
  color: var(--white);
  padding: 12px 24px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}
.announcement-bar a { color: var(--red-light); font-weight: 700; margin-left: 8px; }
.announcement-bar a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0F0F0F;
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 0.9rem; margin: 16px 0 24px; line-height: 1.8; }
.footer-logo-icon {
  width: 50px; height: 50px;
  background: var(--grad-card);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--white);
  font-family: var(--font-head); font-weight: 900;
  margin-bottom: 16px;
}
.footer-logo-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo-sub { font-size: 0.72rem; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; text-transform: uppercase; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-weight: 700;
}
.social-btn:hover { background: var(--red-primary); color: var(--white); }
.footer-heading {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--red-light); }
.footer-contact-item {
  display: flex; gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}
.footer-contact-icon { color: var(--red-light); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--red-light); }
.ein-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #E0E0E0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red-primary), var(--red-light));
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute;
  left: -33px; top: 4px;
  width: 18px; height: 18px;
  background: var(--red-primary);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--red-light);
}
.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.timeline-title { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-text  { font-size: 0.92rem; color: var(--text-sub); }

/* ============================================================
   SCHEDULE / TRIP CARDS
   ============================================================ */
.trip-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--red-primary);
  transition: var(--transition);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.trip-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.trip-date-block {
  background: var(--grad-card);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
  min-width: 80px;
  flex-shrink: 0;
}
.trip-month { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }
.trip-day   { font-size: 1.8rem; font-weight: 900; font-family: var(--font-head); line-height: 1; }
.trip-year  { font-size: 0.72rem; opacity: 0.75; }
.trip-info  { flex: 1; }
.trip-title { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-main); }
.trip-desc  { font-size: 0.9rem; color: var(--text-sub); margin-bottom: 10px; }
.trip-meta  { display: flex; gap: 16px; flex-wrap: wrap; }
.trip-meta span { font-size: 0.8rem; color: var(--gray-mid); display: flex; align-items: center; gap: 5px; }

/* ============================================================
   QUOTE / TESTIMONIAL
   ============================================================ */
.quote-block {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: '"';
  position: absolute;
  top: -20px; left: 24px;
  font-family: var(--font-head);
  font-size: 14rem;
  color: rgba(255,255,255,0.07);
  line-height: 1;
}
.quote-text {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--white);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 28px;
  position: relative;
}
.quote-author { display: flex; align-items: center; gap: 16px; }
.quote-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.4);
}
.quote-name { font-weight: 700; color: var(--white); font-size: 1rem; }
.quote-role { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

/* ============================================================
   PROGRESS BARS
   ============================================================ */
.progress-item { margin-bottom: 20px; }
.progress-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.88rem; font-weight: 600; }
.progress-bar { height: 8px; background: #EEE; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--grad-card); border-radius: 4px; transition: width 1s ease; }

/* ============================================================
   DONATION TIERS
   ============================================================ */
.tier-card {
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 2px solid #E8E8E8;
  transition: var(--transition);
  background: var(--white);
}
.tier-card:hover, .tier-card.featured {
  border-color: var(--red-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.tier-card.featured { background: var(--grad-hero); color: var(--white); }
.tier-card.featured .tier-price,
.tier-card.featured h3,
.tier-card.featured p { color: var(--white); }
.tier-card.featured .tier-feature { color: rgba(255,255,255,0.85); }
.tier-price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--red-primary);
  line-height: 1;
  margin: 16px 0 8px;
}
.tier-price sup { font-size: 1.2rem; vertical-align: super; }
.tier-period { font-size: 0.82rem; color: var(--gray-mid); margin-bottom: 20px; }
.tier-features { margin: 20px 0 28px; text-align: left; }
.tier-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-sub);
  margin-bottom: 10px;
}
.tier-feature::before { content: '✓'; color: var(--red-primary); font-weight: 700; flex-shrink: 0; }
.tier-card.featured .tier-feature::before { color: rgba(255,255,255,0.9); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section    { padding: 60px 0; }
  .section-lg { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .trip-card { flex-direction: column; }
  .quote-block { padding: 40px 28px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
}
