/* ============================================
   Kurt Muse — Modern Redesign
   Clean • Simple • Easy Flowing • Patriotic
   ============================================ */

:root {
  --navy: #0A1628;
  --navy-light: #14233A;
  --charcoal: #1C2A3A;
  --gold: #C9A227;
  --gold-light: #E0B83A;
  --cream: #F8F6F1;
  --white: #FFFFFF;
  --text: #2C3A4A;
  --text-light: #5A6A7A;
  --border: #E5E0D8;
  --shadow: 0 4px 24px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.lead {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.bg-navy {
  background: var(--navy);
  color: var(--cream);
}

.bg-navy h2, .bg-navy h3 {
  color: var(--white);
}

.bg-navy p {
  color: rgba(248, 246, 241, 0.85);
}

.bg-charcoal {
  background: var(--charcoal);
  color: var(--cream);
}

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

/* ========== HEADER / NAV ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(248, 246, 241, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy) !important;
}

.nav-cta::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.7) 50%, rgba(10,22,40,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: rgba(248, 246, 241, 0.9);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: rgba(248, 246, 241, 0.5);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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

.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

.btn-gold-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

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

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.card-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.card-link:hover {
  color: var(--navy);
}

/* ========== FEATURE STRIP ========== */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.feature-item h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: rgba(248, 246, 241, 0.8);
  margin: 0;
}

/* ========== STORY / TIMELINE ========== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline-year {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

/* ========== MEDIA GRID ========== */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.media-grid.reverse {
  direction: rtl;
}

.media-grid.reverse > * {
  direction: ltr;
}

.media-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.media-img img {
  width: 100%;
  height: auto;
}

/* ========== GALLERY ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition);
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

/* ========== FOUNDATION ========== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem 0;
  align-items: stretch;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.partner-card img {
  height: 80px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.partner-card span {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.3;
}

.quote-block {
  background: var(--navy);
  color: var(--cream);
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 2.5rem 0;
}

.quote-block p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--white);
  margin-bottom: 1rem;
}

.quote-block cite {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

/* Quote framed in a strip of the Dietz rescue painting */
.quote-strip {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/dietz-clean.jpg') center 42% / cover no-repeat;
  background-color: var(--navy);
  overflow: hidden;
}

.quote-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.72) 0%,
    rgba(10, 22, 40, 0.55) 40%,
    rgba(10, 22, 40, 0.72) 100%
  );
  z-index: 1;
}

.quote-strip .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.quote-strip blockquote {
  margin: 0 auto;
  max-width: 780px;
}

.quote-strip blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.45;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.quote-strip blockquote cite {
  display: block;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
  .quote-strip {
    min-height: 220px;
    background-position: center 38%;
  }
  .quote-strip .container {
    padding: 2.5rem 1.25rem;
  }
}

/* ========== SPEAKING TOPICS ========== */
.topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.topic-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.topic-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.topic-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  color: rgba(248, 246, 241, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(248, 246, 241, 0.65);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  color: rgba(248, 246, 241, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(248, 246, 241, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  }

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

  .mobile-toggle {
    display: block;
  }

  .feature-strip,
  .media-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .media-grid.reverse {
    direction: ltr;
  }

  .hero {
    min-height: 70vh;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 0;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========== SOCIAL / STAY CONNECTED ========== */
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  flex-direction: row;   /* logo left, text right */
  align-items: center;
  gap: 0.5rem;
  color: rgba(248, 246, 241, 0.85);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

/* Logo always on the left of the text */
.social-links a img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  order: 0;
}

.social-links .foundation-social img {
  height: 26px;
  width: auto;
  max-width: 36px;
  object-fit: contain;
}

.footer-social {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(248, 246, 241, 0.12);
}

.footer-social h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}