/* ============================================
   SAROSH JAFRI FOR HUTTO — Campaign Website
   Colors from campaign sign: Navy, Red, Orange
   ============================================ */

/* --- Design Tokens --- */
:root {
  --color-navy: #1b2a5b;
  --color-navy-dark: #111d40;
  --color-red: #cc2233;
  --color-red-dark: #a81c2a;
  --color-orange: #d4832c;
  --color-orange-light: #e89e4c;
  --color-blue: #2b4a8e;
  --color-white: #ffffff;
  --color-off-white: #fafafa;
  --color-light-gray: #f4f4f4;
  --color-text: #1a1a1a;
  --color-text-mid: #444444;
  --color-text-light: #666666;
  --color-border: #ddd;

  --font-heading: 'Oswald', 'Impact', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 17px;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--color-orange-light);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.center {
  text-align: center;
}

/* --- Title Underline Motif --- */
.title-underline {
  width: 60px;
  height: 4px;
  background: var(--color-red);
  margin-bottom: var(--space-lg);
}

.title-underline.center-line {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.btn-secondary {
  background: var(--color-red);
  color: var(--color-white);
}
.btn-secondary:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
}

.btn-nav {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  background: var(--color-red);
  color: var(--color-white);
}
.btn-nav:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 3px solid var(--color-red);
  transition: all var(--transition);
}

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

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
}

/* --- Hippo Icon --- */
.hippo-icon {
  display: inline-block;
  vertical-align: middle;
}

.hippo-nav {
  width: 34px;
  height: 32px;
  margin-right: 0.35rem;
  flex-shrink: 0;
  align-self: center;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-navy);
  letter-spacing: 0.05em;
}

.logo-sep {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text-light);
}

.logo-office {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-orange);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  padding: 100px 1.5rem 40px;
  text-align: center;
  overflow: hidden;
}

.hero-stars {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.2rem;
  color: var(--color-white);
  background: var(--color-red);
  padding: 0.6rem 0;
  width: 100%;
  letter-spacing: 0.1em;
}

.hero-stars-top {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
}

.hero-stars-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-navy);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-name {
  margin-bottom: var(--space-sm);
}

.hero-first {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.05em;
  line-height: 1;
}

.hero-last {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.04em;
  line-height: 0.9;
  -webkit-text-stroke: 2px var(--color-navy);
  text-shadow: 3px 3px 0 var(--color-navy);
}

.hero-divider {
  margin: var(--space-sm) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  width: 120px;
  height: 2px;
  background: var(--color-orange);
}

.hero-for {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--color-text-light);
}

.hero-office-band {
  background: linear-gradient(135deg, rgba(212,131,44,0.15) 0%, var(--color-orange) 40%, var(--color-orange) 60%, rgba(212,131,44,0.15) 100%);
  padding: 0.6rem 2rem;
  margin: 0 auto var(--space-md);
  max-width: 500px;
}

.hero-office {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.12em;
  margin: 0;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-text-mid);
  margin-bottom: var(--space-lg);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Section Base --- */
.section {
  padding: var(--space-2xl) 0;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

/* --- About Section --- */
.about {
  background: var(--color-white);
  border-top: 4px solid var(--color-navy);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--color-navy);
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.about-content p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-mid);
}

.about-content .btn-outline {
  margin-top: var(--space-md);
}

/* --- Story / Chapters --- */
.story {
  background: var(--color-light-gray);
}

.story-chapters {
  max-width: 760px;
  margin: 0 auto;
}

.chapter {
  padding: var(--space-lg) 0;
}

.chapter h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.chapter-photo {
  display: block;
  width: 100%;
  max-width: 480px;
  border: 4px solid var(--color-navy);
  margin: var(--space-md) auto 0;
}

.chapter p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-mid);
}

.chapter p:last-child {
  margin-bottom: 0;
}

.chapter-divider {
  text-align: center;
  padding: var(--space-xs) 0;
  color: var(--color-orange);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
}

/* --- Priorities Section --- */
.priorities {
  background: var(--color-navy);
  color: var(--color-white);
}

.priorities .section-title {
  color: var(--color-white);
}

.priorities .title-underline {
  background: var(--color-orange);
}

.priorities-list {
  max-width: 800px;
  margin: 0 auto;
}

.priority-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.priority-item:last-child {
  border-bottom: none;
}

.priority-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1;
  min-width: 60px;
}

.priority-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}

.priority-content p {
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  font-size: 1rem;
}

/* --- Values Banner --- */
.values-banner {
  background: var(--color-white);
  padding: var(--space-xl) 0;
  text-align: center;
  border-top: 4px solid var(--color-red);
  border-bottom: 4px solid var(--color-red);
}

.values-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  letter-spacing: 0.06em;
}

.values-banner p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--color-text-mid);
  line-height: 1.7;
}

.values-closing {
  margin-top: var(--space-md) !important;
  color: var(--color-orange) !important;
  font-weight: 700;
  font-size: 1.15rem !important;
  font-style: italic;
}

/* --- Get Involved --- */
.involved {
  background: var(--color-light-gray);
}

.involved-container {
  max-width: 700px;
  text-align: center;
}

.involved-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-mid);
  margin-bottom: var(--space-lg);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.form-row {
  display: flex;
  gap: var(--space-sm);
  width: 100%;
}

.signup-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 2px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
  transition: border-color var(--transition);
}

.signup-form input:focus {
  outline: none;
  border-color: var(--color-navy);
}

.signup-form .btn {
  margin-top: var(--space-xs);
  min-width: 200px;
}

.form-success {
  text-align: center;
  padding: var(--space-lg) 0;
}

.form-success h3 {
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.form-success p {
  color: var(--color-text-mid);
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: var(--space-sm);
}

/* --- Donate Section --- */
.donate {
  background: var(--color-white);
}

.donate-container {
  max-width: 640px;
  text-align: center;
}

.donate-text {
  color: var(--color-text-mid);
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}

.donate-amounts {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.donate-amount {
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-navy);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 80px;
  letter-spacing: 0.02em;
}

.donate-amount:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.donate-amount.active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.donate-btn {
  margin-bottom: var(--space-md);
}

.donate-disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* --- Footer --- */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
  display: block;
}

.footer-for {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  display: block;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

.footer-links a:hover {
  color: var(--color-orange);
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  color: var(--color-orange);
  display: block;
  font-size: 0.9rem;
}

.footer-contact span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom {
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-md);
    gap: 0;
    border-top: 2px solid var(--color-red);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }

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

  .nav-links li {
    padding: 0.75rem 0;
  }

  .nav-links .btn-nav {
    display: inline-block;
    margin-top: var(--space-xs);
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 110px 1.5rem 60px;
  }

  .hero-stars {
    gap: 0.8rem;
    font-size: 1rem;
  }

  .hero-divider::before,
  .hero-divider::after {
    width: 60px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-image-placeholder {
    aspect-ratio: 16/9;
    max-height: 280px;
  }

  .priority-item {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .form-row {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .donate-amounts {
    gap: 0.5rem;
  }

  .donate-amount {
    min-width: 70px;
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }
}

/* --- Scroll Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .priority-item,
  .chapter {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .priority-item.visible,
  .chapter.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
