/* ============================================
   Rock Robotics - Team 35806
   FTC Website Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --navy-darkest: #060E1A;
  --navy-dark: #0B1A2E;
  --navy: #122240;
  --navy-medium: #1E3A5F;
  --blue: #3B6FB5;
  --blue-light: #5A8FD4;
  --gold: #D4A843;
  --gold-light: #E8C46A;
  --gold-dark: #B08A2E;
  --white: #FFFFFF;
  --gray-light: #E8ECF1;
  --gray: #94A3B8;
  --gray-dark: #475569;
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--navy-darkest);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.section-title h2 span {
  color: var(--gold);
}

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

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-darkest);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--navy-darkest);
  transform: translateY(-2px);
}

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

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--navy-darkest);
  transform: translateY(-2px);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 111, 181, 0.15);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(6, 14, 26, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 45px;
  width: auto;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-text .team-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-brand-text .team-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(212, 168, 67, 0.1);
}

.nav-links .btn-primary {
  color: var(--navy-darkest);
  margin-left: 0.5rem;
  padding: 0.5rem 1.25rem;
}

.nav-links .btn-primary:hover {
  color: var(--navy-darkest);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy-dark) 50%, var(--navy) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(59, 111, 181, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 168, 67, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(59, 111, 181, 0.05) 0%, transparent 50%);
}

/* Circuit line decorations */
.hero-circuit {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.15;
}

.hero-circuit::before,
.hero-circuit::after {
  content: '';
  position: absolute;
  background: var(--gold);
}

.hero-circuit::before {
  width: 1px;
  height: 200px;
  top: 15%;
  left: 10%;
  box-shadow:
    200px 100px 0 0 var(--blue),
    400px -50px 0 0 var(--gold),
    -50px 300px 0 0 var(--blue);
}

.hero-circuit::after {
  width: 200px;
  height: 1px;
  bottom: 25%;
  right: 5%;
  box-shadow:
    -100px -200px 0 0 var(--gold),
    50px 100px 0 0 var(--blue);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 0.5rem;
  color: var(--white);
}

.hero h1 span {
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Section Base --- */
section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--navy-darkest);
}

.section-darker {
  background: var(--navy-dark);
}

.section-accent {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
  border: 1px solid rgba(59, 111, 181, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-text h2 {
  margin-bottom: 0.5rem;
}

.about-text h2 span {
  color: var(--gold);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.value-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.value-item h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* --- Card Styles --- */
.card {
  background: linear-gradient(135deg, rgba(18, 34, 64, 0.8) 0%, rgba(30, 58, 95, 0.4) 100%);
  border: 1px solid rgba(59, 111, 181, 0.15);
  border-radius: 8px;
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* --- Season Section --- */
.season-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.season-info h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.season-info h2 {
  margin-bottom: 1rem;
}

.season-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.season-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.season-detail {
  background: rgba(18, 34, 64, 0.6);
  border: 1px solid rgba(59, 111, 181, 0.15);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.season-detail .detail-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.season-detail .detail-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}

.season-image-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
  border: 1px solid rgba(59, 111, 181, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Team Members --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.member-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(18, 34, 64, 0.8) 0%, rgba(30, 58, 95, 0.4) 100%);
  border: 1px solid rgba(59, 111, 181, 0.15);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  transition: all var(--transition);
}

.member-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
}

.member-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-medium) 0%, var(--blue) 100%);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(212, 168, 67, 0.3);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
}

.member-card h4 {
  color: var(--white);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.member-card .member-role {
  color: var(--gold);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Sponsors Section --- */
.sponsor-tiers {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.sponsor-tier {
  text-align: center;
}

.sponsor-tier h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.sponsor-logo-placeholder {
  width: 180px;
  height: 90px;
  background: rgba(18, 34, 64, 0.6);
  border: 1px solid rgba(59, 111, 181, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.sponsor-logo-placeholder:hover {
  border-color: rgba(212, 168, 67, 0.3);
  background: rgba(18, 34, 64, 0.9);
}

.sponsor-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.05) 0%, rgba(212, 168, 67, 0.02) 100%);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: 12px;
}

.sponsor-cta h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.sponsor-cta p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Sponsorship Packages --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.package-card {
  background: linear-gradient(135deg, rgba(18, 34, 64, 0.8) 0%, rgba(30, 58, 95, 0.4) 100%);
  border: 1px solid rgba(59, 111, 181, 0.15);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.package-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
}

.package-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.08) 0%, rgba(18, 34, 64, 0.8) 100%);
}

.package-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-darkest);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 50px;
}

.package-card h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.package-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.package-price span {
  font-size: 1rem;
  color: var(--gray);
}

.package-features {
  text-align: left;
  margin-bottom: 2rem;
}

.package-features li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(59, 111, 181, 0.1);
  font-size: 0.9rem;
  padding-left: 1.5rem;
  position: relative;
}

.package-features li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* --- Donate Section --- */
.donate-hero {
  text-align: center;
  padding: 6rem 0 3rem;
  background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy-dark) 100%);
}

.donate-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.donate-info h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.donate-info p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.donate-impact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.impact-item {
  background: rgba(18, 34, 64, 0.6);
  border: 1px solid rgba(59, 111, 181, 0.15);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.impact-item .impact-amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.impact-item .impact-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.donate-box {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.08) 0%, rgba(18, 34, 64, 0.8) 100%);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
}

.donate-box h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.donate-box p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.donate-box .btn {
  font-size: 1.1rem;
  padding: 1rem 3rem;
}

.tax-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
}

/* --- Outreach Section --- */
.outreach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.outreach-card {
  background: linear-gradient(135deg, rgba(18, 34, 64, 0.8) 0%, rgba(30, 58, 95, 0.4) 100%);
  border: 1px solid rgba(59, 111, 181, 0.15);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
}

.outreach-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-4px);
}

.outreach-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.outreach-card-content {
  padding: 1.5rem;
}

.outreach-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.outreach-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(18, 34, 64, 0.6);
  border: 1px solid rgba(59, 111, 181, 0.2);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

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

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: linear-gradient(135deg, rgba(18, 34, 64, 0.8) 0%, rgba(30, 58, 95, 0.4) 100%);
  border: 1px solid rgba(59, 111, 181, 0.15);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.contact-card h4 {
  color: var(--white);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--blue), var(--gold));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy-darkest);
  transform: translateX(-6px);
}

.timeline-item h4 {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.1em;
}

.timeline-item h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(59, 111, 181, 0.15);
  padding: 4rem 0 0;
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(59, 111, 181, 0.15);
  border: 1px solid rgba(59, 111, 181, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: rgba(212, 168, 67, 0.15);
  border-color: rgba(212, 168, 67, 0.3);
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(59, 111, 181, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--gray);
  font-size: 0.85rem;
}

.footer-bottom .first-link {
  color: var(--gold);
}

/* --- Page Header (for inner pages) --- */
.page-header {
  padding: 8rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy-dark) 50%, var(--navy) 100%);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header h1 span {
  color: var(--gold);
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.1) 0%, rgba(59, 111, 181, 0.1) 100%);
  border-top: 1px solid rgba(212, 168, 67, 0.2);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  text-align: center;
  padding: 4rem 0;
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner h2 span {
  color: var(--gold);
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

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

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
  border: 1px solid rgba(59, 111, 181, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  overflow: hidden;
  transition: all var(--transition);
}

.gallery-item:hover {
  border-color: rgba(212, 168, 67, 0.3);
}

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

/* --- Resources List --- */
.resources-list {
  max-width: 700px;
  margin: 0 auto;
}

.resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(18, 34, 64, 0.6);
  border: 1px solid rgba(59, 111, 181, 0.15);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all var(--transition);
}

.resource-item:hover {
  border-color: rgba(212, 168, 67, 0.3);
}

.resource-item h4 {
  color: var(--white);
  font-size: 1rem;
}

.resource-item p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* --- FIRST Values --- */
.first-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.first-value-card {
  background: linear-gradient(135deg, rgba(18, 34, 64, 0.8) 0%, rgba(30, 58, 95, 0.4) 100%);
  border: 1px solid rgba(59, 111, 181, 0.15);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.first-value-card:hover {
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-2px);
}

.first-value-card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.first-value-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid,
  .packages-grid,
  .first-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transition: right var(--transition);
    border-left: 1px solid rgba(59, 111, 181, 0.2);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .nav-links .btn-primary {
    margin-left: 0;
    margin-top: 1rem;
    text-align: center;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .about-grid,
  .season-content,
  .donate-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .outreach-grid,
  .packages-grid,
  .first-values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .donate-impact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

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

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

/* --- Mobile menu overlay --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Scroll to top --- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy-darkest);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}
