/* ========================================
   UFCR — University of Florida College Republicans
   Premium Political Campaign Site
   ======================================== */

:root {
  --blue: #0021A5;
  --orange: #FA4616;
  --gold: #F0A830;
  --white: #FFFFFF;
  --navy: #001845;
  --dark: #0A0E1A;
  --gray-100: #F5F5F7;
  --gray-200: #E8E8ED;
  --gray-600: #86868B;
  --gray-900: #1D1D1F;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-heading: 'Oswald', 'Inter', sans-serif;
  --nav-height: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: #e03a0e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(250,70,22,0.3);
}

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

.btn-sm {
  padding: 10px 24px;
  font-size: 0.8rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn-sm:hover { background: #e03a0e; }

.btn-donate {
  background: var(--navy);
  color: var(--gold);
  font-size: 1.2rem;
  padding: 20px 60px;
  letter-spacing: 0.15em;
}
.btn-donate:hover {
  background: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,33,165,0.4);
}

/* ========== NAV ========== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.4s var(--ease);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(0,24,69,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.15);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: auto;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: white;
  padding: 2px;
}
.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-donate {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
}
.nav-donate::after { display: none !important; }
.nav-donate:hover {
  background: #e03a0e !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

.nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,24,69,0.85) 0%,
    rgba(0,24,69,0.7) 40%,
    rgba(0,24,69,0.9) 100%
  );
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0;
}

.hero-cta { opacity: 0; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========== SECTIONS ========== */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-light { background: var(--gray-100); }
.section-dark { background: var(--dark); color: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-gold { background: linear-gradient(135deg, var(--gold) 0%, #D4920A 100%); }

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-dark .section-label,
.section-navy .section-label { color: var(--gold); }

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ========== CARDS (What Sets Us Apart) ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 48px 36px;
  transition: all 0.4s var(--ease);
}
.card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-8px);
  border-color: var(--orange);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--orange);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}

/* ========== EVENTS ========== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.event-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.event-img {
  height: 220px;
  overflow: hidden;
}
.event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.event-card:hover .event-img img {
  transform: scale(1.05);
}

.event-info {
  padding: 28px;
}

.event-date {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.event-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 8px 0 12px;
  letter-spacing: 0.01em;
}

.event-info p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

/* ========== PHOTOS ========== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.photo-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.photo-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.photo-item:hover img { transform: scale(1.08); }

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,24,69,0);
  transition: background 0.3s;
}
.photo-item:hover .photo-overlay {
  background: rgba(0,24,69,0.2);
}

/* ========== LIGHTBOX ========== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 16px;
  transition: opacity 0.3s;
  z-index: 10;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 0.7; }
.lightbox-close { top: 20px; right: 30px; font-size: 3rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); font-size: 4rem; }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); font-size: 4rem; }

/* ========== BLOG ========== */
.blog-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('assets/images/crumpled-paper.jpg') center center / cover no-repeat !important;
  color: var(--gray-900) !important;
}

/* Paper edge vignette */
.blog-section::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 80px rgba(0,0,0,0.1);
  pointer-events: none;
  z-index: 1;
}

/* The rubber stamp handle coming from above */
.blog-stamp-handle {
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.stamp-handle-grip {
  width: 60px;
  height: 120px;
  background: linear-gradient(180deg, #8B6914 0%, #A0792A 30%, #6B4F0E 100%);
  border-radius: 8px 8px 0 0;
  box-shadow: -3px 0 6px rgba(0,0,0,0.2), 3px 0 6px rgba(0,0,0,0.2);
}

.stamp-handle-base {
  width: 220px;
  height: 30px;
  background: linear-gradient(180deg, #5C3D0A 0%, #7A5518 50%, #4A3008 100%);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.stamp-face {
  width: 200px;
  height: 8px;
  background: #C41E1E;
  margin-top: -1px;
}

/* The stamped imprint on the paper */
.blog-stamp-imprint {
  position: relative;
  z-index: 10;
  text-align: center;
  opacity: 0;
}

.stamp-border {
  display: inline-block;
  border: 4px solid #C41E1E;
  border-radius: 8px;
  padding: 30px 50px;
  position: relative;
  transform: rotate(-3deg);
}

.stamp-border::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid #C41E1E;
  border-radius: 4px;
  opacity: 0.5;
}

.stamp-text-main {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #C41E1E;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  /* Ink texture effect */
  background: 
    radial-gradient(circle at 20% 30%, transparent 1px, #C41E1E 1px, #C41E1E 2px, transparent 2px),
    radial-gradient(circle at 80% 60%, transparent 1px, #C41E1E 1px, #C41E1E 2px, transparent 2px),
    #C41E1E;
  -webkit-background-clip: text;
  background-clip: text;
}

.stamp-text-sub {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #C41E1E;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.8;
}

/* Content below stamp */
.blog-reveal-content {
  text-align: center;
  position: relative;
  z-index: 10;
  margin-top: 40px;
}

.blog-reveal-content .blog-desc,
.blog-reveal-content .blog-cta {
  opacity: 0;
  transform: translateY(20px);
}

.blog-section .blog-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(60,50,30,0.7);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

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

.blog-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px;
  transition: all 0.4s var(--ease);
}
.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.blog-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 16px;
}

.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.25;
}

.blog-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ========== FEATURED / SOCIAL PROOF ========== */
.stats-counter {
  text-align: center;
  margin-bottom: 40px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

/* Progress bar */
.progress-track {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 40px;
  margin: 32px auto 0;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--orange), #FF2D2D);
  border-radius: 18px;
  transition: none;
  box-shadow: 0 0 0px rgba(250,70,22,0);
}

.progress-glow {
  position: absolute;
  top: -4px; bottom: -4px; left: 0;
  width: 0%;
  border-radius: 22px;
  background: transparent;
  pointer-events: none;
  transition: none;
}

/* Cracks that appear near the end */
.progress-crack {
  position: absolute;
  background: var(--orange);
  opacity: 0;
  z-index: 5;
}
.crack-1 {
  right: 8px; top: -6px;
  width: 3px; height: 14px;
  transform: rotate(25deg);
}
.crack-2 {
  right: 20px; bottom: -8px;
  width: 2px; height: 16px;
  transform: rotate(-15deg);
}
.crack-3 {
  right: 2px; top: 50%;
  width: 18px; height: 3px;
  transform: translateY(-50%) rotate(5deg);
}

/* Shards that fly out on break */
.progress-shards {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 60px;
  pointer-events: none;
  z-index: 10;
}

.shard {
  position: absolute;
  background: var(--orange);
  border-radius: 2px;
  opacity: 0;
}
.shard-1 { width: 8px; height: 4px; top: 10px; left: 5px; }
.shard-2 { width: 6px; height: 6px; top: 20px; left: 10px; }
.shard-3 { width: 10px; height: 3px; top: 30px; left: 0; }
.shard-4 { width: 5px; height: 8px; top: 15px; left: 15px; }
.shard-5 { width: 7px; height: 5px; top: 40px; left: 8px; background: #FF2D2D; }
.shard-6 { width: 4px; height: 7px; top: 5px; left: 20px; background: var(--gold); }
.shard-7 { width: 9px; height: 3px; top: 45px; left: 15px; background: #FF2D2D; }
.shard-8 { width: 5px; height: 5px; top: 25px; left: 25px; background: var(--gold); }

/* Explosion flash */
.progress-explosion {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,70,22,0.6) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 8;
}

/* Broken state */
.progress-track.broken {
  border-color: var(--orange);
  animation: trackShake 0.5s ease-out;
}
.progress-track.broken .progress-fill {
  box-shadow: 0 0 30px rgba(250,70,22,0.6), 0 0 60px rgba(255,45,45,0.3);
}

@keyframes trackShake {
  0%, 100% { transform: translateX(0); }
  10% { transform: translateX(-4px) rotate(-0.5deg); }
  30% { transform: translateX(3px) rotate(0.3deg); }
  50% { transform: translateX(-2px); }
  70% { transform: translateX(1px); }
}

.featured-desc {
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 48px;
}

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

.featured-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.featured-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.featured-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.featured-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== SOCIALS ========== */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.social-card {
  display: block;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.social-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-6px);
  border-color: var(--orange);
}

.social-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--orange);
}

.social-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.social-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 1024px) {
  .socials-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .socials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== SPONSOR ========== */
.sponsor-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.sponsor-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.sponsor-code {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

/* ========== DONATE ========== */
.donate-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.donate-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.donate-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.8;
  margin-bottom: 40px;
}

/* ========== FOOTER ========== */
#footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  width: auto;
  height: 56px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-links h4, .footer-social h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--gold);
}

.footer-links a, .footer-social a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  transition: color 0.3s;
}
.footer-links a:hover, .footer-social a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .cards-grid, .events-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-item:nth-child(1) { grid-column: span 1; grid-row: span 1; aspect-ratio: 1; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right 0.4s var(--ease);
  }
  .nav-links.open { right: 0; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image { order: -1; }
  .about-image img { height: 300px; }

  .cards-grid, .events-grid, .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .section { padding: 80px 0; }

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

/* Fallback: if GSAP fails, ensure content is visible */
.cards-grid .card,
.events-grid .event-card {
  visibility: visible;
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}
