/* =============================================
   ANNE HUGHES FOR STATE REPRESENTATIVE
   Brand Colors:
   - Sky Blue:  #26AAF3
   - Pink:      #F598FF
   - Dark Navy: #171D3A
   - Off-white: #FAF9F5
   ============================================= */

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

:root {
  --blue: #26AAF3;
  --blue-dark: #1E8FCC;
  --pink: #F598FF;
  --pink-dark: #E070ED;
  --navy: #171D3A;
  --navy-light: #1F2647;
  --cream: #FAF9F5;
  --white: #FFFFFF;
  --text: #171D3A;
  --text-light: #5A6078;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
}

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

.btn--pink:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 152, 255, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
}

/* SECTION HELPERS */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-tag--light {
  color: var(--pink);
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--navy);
}

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

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ANIMATIONS */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(23, 29, 58, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 48px;
  width: auto;
  transition: height var(--transition);
}

.nav.scrolled .nav__logo img {
  height: 38px;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__social {
  display: flex;
  gap: 12px;
}

.nav__social a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity var(--transition);
}

.nav__social a:hover {
  opacity: 1;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-menu__btn {
  margin-top: 16px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(38, 170, 243, 0.72) 0%,
    rgba(23, 29, 58, 0.6) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero__logo {
  width: 220px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.2));
  animation: fadeInDown 1s ease forwards;
}

.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 1s 0.2s ease forwards;
  opacity: 0;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s 0.4s ease forwards;
  opacity: 0;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s 0.6s ease forwards;
  opacity: 0;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* =============================================
   ISSUES BANNER
   ============================================= */
.issues-banner {
  background: var(--navy);
  padding: 80px 0;
}

.issues-banner__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.issues-banner__item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.issues-banner__item:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
}

.issues-banner__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(38, 170, 243, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
}

.issues-banner__item h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.issues-banner__item p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* =============================================
   ACCOMPLISHMENTS
   ============================================= */
.accomplishments {
  padding: 100px 0;
  background: var(--cream);
}

.accomplishments__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.accomplishment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  border: 1px solid rgba(23, 29, 58, 0.06);
  position: relative;
  overflow: hidden;
}

.accomplishment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(23, 29, 58, 0.1);
}

.accomplishment-card--featured {
  grid-column: 1 / -1;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-left: 5px solid var(--pink);
}

.accomplishment-card--featured h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.accomplishment-card--featured p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}

.accomplishment-card--featured .accomplishment-card__icon {
  color: var(--pink);
}

.accomplishment-card--featured .accomplishment-card__badge {
  background: var(--pink);
  color: var(--navy);
}

.accomplishment-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(38, 170, 243, 0.1);
  color: var(--blue);
  margin-bottom: 16px;
}

.accomplishment-card__icon {
  color: var(--blue);
  margin-bottom: 12px;
}

.accomplishment-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.accomplishment-card.accomplishment-card--featured h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.accomplishment-card.accomplishment-card--featured p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}

.accomplishment-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =============================================
   PHOTO BREAK
   ============================================= */
.photo-break {
  overflow: hidden;
}

.photo-break__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.photo-break__item {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.photo-break__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.photo-break__item:hover img {
  transform: scale(1.05);
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about__image {
  position: relative;
}

.about__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: 0 20px 60px rgba(23, 29, 58, 0.15);
}

.about__image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border-radius: var(--radius-lg);
  border: 3px solid var(--pink);
  z-index: -1;
}

.about__content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.about__content p strong {
  color: var(--navy);
}

/* =============================================
   WHY IT MATTERS
   ============================================= */
.matters {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.matters__bg {
  position: absolute;
  inset: 0;
}

.matters__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.matters__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(23, 29, 58, 0.78) 0%,
    rgba(38, 170, 243, 0.68) 100%
  );
}

.matters__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.matters__content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.matters__content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* =============================================
   ENDORSEMENTS
   ============================================= */
.endorsements {
  padding: 100px 0;
  background: var(--cream);
}

.endorsements__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.endorsement-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  border: 1px solid rgba(23, 29, 58, 0.08);
  transition: all var(--transition);
}

.endorsement-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 29, 58, 0.08);
}

.endorsement-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.endorsement-chip__dot--labor { background: var(--blue); }
.endorsement-chip__dot--env { background: #22C55E; }
.endorsement-chip__dot--rights { background: var(--pink); }
.endorsement-chip__dot--safety { background: #F59E0B; }
.endorsement-chip__dot--community { background: #8B5CF6; }

.endorsements__legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.endorsements__legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* =============================================
   CONTACT / VOLUNTEER
   ============================================= */
.contact {
  padding: 100px 0;
  background: var(--navy);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__info {
  color: var(--white);
}

.contact__info p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
}

.contact__detail svg {
  color: var(--pink);
  flex-shrink: 0;
}

.contact__social {
  display: flex;
  gap: 16px;
}

.contact__social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.contact__social-link:hover {
  opacity: 0.8;
}

.contact__form-wrap {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.1);
}

.contact__form-wrap h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(255,255,255,0.12);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo img {
  height: 36px;
  width: auto;
  opacity: 0.6;
}

.footer__text {
  text-align: center;
}

.footer__text p {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer__social a:hover {
  color: var(--pink);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .issues-banner__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .accomplishment-card--featured {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__social {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__actions .btn {
    display: none;
  }

  .hero__content {
    padding: 100px 20px 60px;
  }

  .hero__logo {
    width: 160px;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .issues-banner {
    padding: 60px 0;
  }

  .issues-banner__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .issues-banner__item {
    padding: 24px 16px;
  }

  .accomplishments {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .accomplishment-card {
    padding: 28px;
  }

  .photo-break__grid {
    grid-template-columns: 1fr;
  }

  .about {
    padding: 60px 0;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image-accent {
    display: none;
  }

  .matters {
    padding: 80px 0;
  }

  .endorsements {
    padding: 60px 0;
  }

  .endorsements__grid {
    gap: 8px;
  }

  .endorsement-chip {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .endorsements__legend {
    gap: 12px;
  }

  .contact {
    padding: 60px 0;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__form-wrap {
    padding: 28px;
  }

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

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px;
  }

  .accomplishment-card h3 {
    font-size: 1.05rem;
  }
}
