@font-face {
  font-family: 'Carlito';
  src: url('../fonts/Carlito-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Carlito';
  src: url('../fonts/Carlito-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Carlito';
  src: url('../fonts/Carlito-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Carlito';
  src: url('../fonts/Carlito-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Humanist777 BT';
  src: url('../fonts/humanist777-bt.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Humanist777 BT';
  src: url('../fonts/humanist777-bt.ttf') format('truetype');
  font-weight: 900;
}

@font-face {
  font-family: 'Humanist521 BT';
  src: url('../fonts/Humanst521 BT.ttf') format('truetype');
  font-weight: 300;
}

:root {
  --navy: #1a2a4a;
  --red: #c0392b;
  --tan: #f5f0e8;
}

body {
  font-family: 'Times New Roman', Times, serif;
  background: #fff;
  color: #222;
  margin: 0;
  padding: 0;
}

/* ════════════════════════════════
   HEADER — Desktop
   swoop.gif background, logos hang over hero, nav centered
════════════════════════════════ */
.site-header {
  position: relative;
  background-image: url('../images/swoop.gif');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 130px;
  z-index: 10;
  overflow: visible;
}

/* Desktop inner row: left-logo | nav | right-logo */
.site-header-inner {
  display: flex;
  align-items: flex-start;
  height: 100%;
  padding: 0;
}

/* ── Left logo ── */
.header-logo-left {
  flex-shrink: 0;
  position: relative;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  margin-left: 5rem;
}

.header-logo-left img {
  display: block;
}

/* ── Nav links (desktop only, centered in red area) ── */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 0 0.5rem;
  height: 52px;
  margin-top: 4px;
}

.header-nav a {
  color: #fff;
  font-family: 'Carlito', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.25rem 0.5rem;
}

.header-nav a:hover {
  color: #f5e090;
}

.content-section .container{
  max-width: 1320px;
  margin-top:100px;
  max-width: 100%; 
  padding: 4rem 1rem;
}

.content-body {
  font-family: 'Humanist777 BT', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #14060b;
  /* line-height: 1.75; */
  line-height: 1.2; 
  max-width: 900px;
  margin: 0 auto;
}
/* ── Right logo ── */
.header-logo-right {
  flex-shrink: 0;
  position: relative;
  z-index: 20;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-right: 5rem;
}

.header-logo-right img {
  display: block;
}

/* ── Hero ── */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  margin-top: -146px;
  position: relative;
  z-index: 5;
}

/* ════════════════════════════════
   MOBILE HEADER — Bootstrap navbar
   Hidden on desktop (lg+), shown below lg
════════════════════════════════ */
.mobile-header {
  display: none;
  background-color: #c0392b;
  position: relative;
  z-index: 30;
}

.mobile-header .navbar {
  background-color: transparent;
  padding: 0.5rem 1rem;
}

.mobile-header .navbar-brand img {
  height: 60px;
  width: auto;
}

.mobile-header .mobile-logo-right img {
  height: 60px;
  width: auto;
}

.mobile-header .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6);
}

.mobile-header .navbar-toggler-icon {
  filter: invert(1);
}

.mobile-header .navbar-collapse {
  background-color: rgba(0, 0, 0, 0.15);
  padding: 0.5rem 1rem 0.8rem;
}

.mobile-header .nav-link {
  color: #fff !important;
  font-family: 'Carlito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0 !important;
}

.mobile-header .nav-link:hover {
  color: #f5e090 !important;
}

/* ── TITLE BAND ── */
.title-band {
  background: #dddddd;
  text-align: center;
  /* padding: 2rem 1rem 1.5rem; */
}

.cursive-title {
  font-family: 'Times New Roman', cursive;
  font-size: 3rem;
  color: #222;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.signing-img {
  max-width: 420px;
  width: 85%;
  display: block;
  margin: 0 auto;
}

.signing-band {
  padding: 1.6rem 2rem;
}

/* ── QUOTE BAND ── */
.quote-band {
  background: #dddddd;
  padding: 1.6rem 2rem;
}

.quote-band blockquote {
  font-style: italic;
  font-size: 2rem;
  color: #14060b;
  max-width: auto;
  margin: 0 auto;
  text-align: center;
  /* line-height: 1.75; */
  line-height: 1.2; 
  font-family: 'Times New Roman', Times, serif;
}

.quote-band .attribution {
  font-style: normal;
  font-weight: 400;
  color: #14060b;
  font-size: 1.9rem;
  margin-top: 0.5rem;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
}

/* ── SECTION HEADING ── */
.section-heading {
  font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 900;         
  color: black;
  text-transform: uppercase;
  letter-spacing: 0em;
  margin-bottom: 1.5rem;
}
/*.section-heading {
  font-family: 'Arial Black', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
*/
/* ── EVENTS ── */
.events-section {
  padding: 3rem 0;
}

.event-item {
  margin-bottom: 2rem;
}

.event-img {
  width: auto;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.events-note {
  font-style: italic;
  font-size: 2rem;
  color: #14060b;
  max-width: 100%;
  margin: 0 auto 2rem;
  text-align: center;
  /* line-height: 1.75; */
  line-height: 1.2; 
  font-family: 'Times New Roman', Times, serif;
}

.event-title {
  font-family: 'Humanist777 BT', sans-serif;
  font-size: 2.2em;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.4rem;
  letter-spacing: 0em;
}

.event-date {
  font-family: 'Humanist777 BT', sans-serif;
  font-size: 1.4em;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.4rem;
  line-height: 1.2;
}

.event-desc {
  font-family: 'Humanist521 BT', sans-serif;
  font-size: 1.4em;
  font-weight: 300;
  color: #fff;
 /* line-height: 1.55; */
  line-height: 1.2; 
  margin: 0;
}

/* Event block background colors — one per item */
.event-item:nth-child(2) > div {
  background-color: #14405d;
  padding: 1rem;
  border-radius: 4px;
}

.event-item:nth-child(3) > div {
  background-color: #a02a26;
  padding: 1rem;
  border-radius: 4px;
}

.event-item:nth-child(4) > div {
  background-color: #6b4d1a;
  padding: 1rem;
  border-radius: 4px;
}

.event-item:nth-child(5) > div {
  background-color: #1a6139;
  padding: 1rem;
  border-radius: 4px;
}

.event-item:nth-child(6) > div {
  background-color: #48304a;
  padding: 1rem;
  border-radius: 4px;
}

.event-item:nth-child(7) > div {
  background-color: #4a3730;
  padding: 1rem;
  border-radius: 4px;
}

/* ── VOLUNTEER ── */
.volunteer-section {
  background: #fff;
  padding: 3rem 0 4rem;
}

.volunteer-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.volunteer-item img.bullet {
  width: auto;
  height: auto;
  flex-shrink: 0;
  margin-top: 2px;
}

.volunteer-item p {
  margin: 0;
  font-size: 1.5em;
  color: #333;
  /* line-height: 1.55; */
  line-height: 1.2; 
}

.volunteer-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem; /* increase this value for more space */
}
.btn-cta {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}

.btn-cta img {
  height: auto;
  width: auto;
}

.btn-cta:hover {
  opacity: 0.85;
}

.volunteer-img {
  display: block;
  margin: 0 auto 1.5rem;
}

.volunteer-section .mb-3 {
  font-size: 1.5em;
}

.volunteer-section .mb-3,
.volunteer-item p {
  font-family: 'Humanist777 BT', sans-serif;
  font-weight: 400;
}

/* ── SPONSORS ── */
.sponsors-section {
  padding: 3rem 0 8rem;
}

.sponsors-section .intro-text {
  font-style: italic;
  font-size: 2rem;
  color: #14060b;
  max-width: 100%;
  margin: 0 auto 2rem;
  text-align: center;
 /* line-height: 1.75; */
  line-height: 1.2; 
  font-family: 'Times New Roman', Times, serif;
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: center;
}

.sponsors-grid img {
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ── FOOTER ── */
footer {
  position: relative;
  background-image: url('../images/FlagFooter.gif');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: #1a2a6a;
  min-height: 500px;
}

.footer-flag {
  width: 100%;
  display: block;
  margin-bottom: -4px;
}

.footer-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 55%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.footer-name {
  font-family: 'Humanist777 BT', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}
.footer-name a {
  color: #fff;
  text-decoration: none;
}

.footer-name a:hover {
  text-decoration: underline;
}
.footer-info {
  font-size: 1.4rem;
  color: #fff;
  line-height: 1.75;
  font-family: 'Humanist777 BT', sans-serif;
  font-weight: 400;
}

.footer-info a {
  color: #fff;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.volunteer-list {
  padding-left: 2rem;
}

/* Events and Volunteer sections — narrower 1140px container */
.events-section .container,
.volunteer-section .container {
  max-width: 1140px;
}

/* Sponsors section — wider 1320px container */
.sponsors-section .container {
  max-width: 1320px;
}

hr.section-divider {
  border-color: #ddd;
  margin: 0;
}

@media (min-width: 992px) and (max-width: 1366px) {
  .site-header {
    height: 100px;
  }

  .header-logo-left img {
    height: 180px;
    width: auto;
  }

  .header-logo-right img {
    height: 175px;
    width: auto;
  }

  .header-nav {
    height: 42px;
    margin-top: 2px;
  }

  .header-nav a {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.3rem;
  }

  .hero-img {
    margin-top: -110px;
  }
}

/* ── Show/hide desktop vs mobile header ── */
@media (max-width: 991px) {
  .site-header {
    display: none;
  }

  .mobile-header {
    display: block;
  }

  .hero-img {
    margin-top: 0;
    height: 220px;
  }
}

@media (min-width: 992px) {
  .mobile-header {
    display: none;
  }
}

@media (max-width: 991px) {
  .mobile-header .navbar-brand img {
    height: 100px;
  }

  .mobile-header .mobile-logo-right img {
    height: 100px;
  }

  .mobile-header .d-flex.gap-2 {
    gap: 1rem !important;
  }
  
  	  .content-section {
  padding: 0rem 0 5rem;
  background: #fff;
}

.content-section .container {

  margin-top: 10px !important;
  max-width: 100%;
  padding: 1rem 1rem;
}
}

/* ── 768px: events stack, fonts scale ── */
@media (max-width: 768px) {
  .event-item {
    flex-direction: column;
  }

/*  .event-img {
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    background-color: #000;
    border-radius: 4px 4px 0 0;
  }
*/

.event-img {
  width: 100%;
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  background-image: url('https://johnstonnc.gov/a250/images/starbar.gif');
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  border-radius: 4px 4px 0 0;
}
  .event-item > div {
    border-radius: 0 0 4px 4px !important;
  }

  .event-title {
    font-size: 1.5em;
  }

  .event-date {
    font-size: 1.1em;
  }

  .event-desc {
    font-size: 1em;
  }

  .cursive-title {
    font-size: 2rem;
  }
/*
  .section-heading {
    font-family: 'Arial Black', sans-serif;
	font-size: 2rem;
  }
  */
  .section-heading {
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-weight: 900;         /* ← add this */
    font-size: 2rem;
  }
  .quote-band blockquote {
    font-size: 1.4rem;
  }

  .quote-band .attribution {
    font-size: 1.3rem;
  }

  .events-note {
    font-size: 1.3rem;
  }

  .sponsors-section .intro-text {
    font-size: 1.3rem;
  }

  .volunteer-item p {
    font-size: 1.1em;
  }

  .volunteer-section .mb-3 {
    font-size: 1.1em;
  }

  .signing-img {
    max-width: 90%;
  }

  .volunteer-img {
    max-width: 90%;
  }

  .footer-name {
    font-size: 1.1rem;
  }

  .footer-info {
    font-size: 1rem;
  }

  .events-section .container,
  .volunteer-section .container,
  .sponsors-section .container {
    max-width: 100%;
    padding: 0 1rem;
  }
}

/* ── 480px: phones ── */
@media (max-width: 480px) {
  .event-title {
    font-size: 1.2em;
  }

  .event-date {
    font-size: 1em;
  }

  .event-desc {
    font-size: 0.95em;
  }
/*
  .section-heading {
	  font-family: 'Arial Black', sans-serif;
    font-size: 1.6rem;
  }*/ 
 .section-heading {
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-weight: 900;        
    font-size: 1.6rem;
  }
  .cursive-title {
    font-size: 1.6rem;
  }

  .volunteer-list {
    padding-left: 0.5rem;
  }

  .sponsors-grid {
    gap: 1rem 1.5rem;
  }

  .sponsors-grid img {
    max-width: 100px;
  }

  .footer-name {
    font-size: 0.95rem;
  }

  .footer-info {
    font-size: 0.85rem;
  }
}

/* ════════════════════════════════
   ADA / ACCESSIBILITY
════════════════════════════════ */

/* Skip navigation link */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 0.6rem 1.2rem;
  z-index: 9999;
  font-size: 1rem;
  font-family: 'Times New Roman', Times, serif;
  text-decoration: none;
  border-bottom-right-radius: 4px;
}
.skip-nav:focus {
  top: 0;
}

/* Visible focus outlines for keyboard navigation */
a:focus,
button:focus,
.nav-link:focus,
.header-nav a:focus {
  outline: 3px solid #f5e090;
  outline-offset: 2px;
}

/* Focus inside dark sections */
.event-item a:focus,
.footer-info a:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
