/* Alpine Sports Club — Community Organization */
@import url('../shared.css');

:root {
  --blue: #1e40af;
  --blue-dark: #1e3a8a;
  --light-blue: #dbeafe;
  --red: #dc2626;
  --text: #1e293b;
  --muted: #64748b;
  --white: #ffffff;
  --bg: #f8fafc;
  --border: #e2e8f0;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ==============================
   NAV
   ============================== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  height: 60px;
  background: var(--blue);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-mountain {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 16px solid var(--white);
  opacity: 0.9;
}
.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.45rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: #b91c1c !important;
  transform: translateY(-1px);
}

/* ==============================
   HERO
   ============================== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem 0;
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 5rem;
}
.hero-badge {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 0.3rem 1.25rem;
  border-radius: 100px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-btn {
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.hero-btn-primary {
  background: var(--red);
  color: var(--white);
}
.hero-btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.hero-mountains {
  position: relative;
  z-index: 1;
  height: 80px;
  margin-top: -1px;
  background: var(--bg);
  clip-path: polygon(0% 100%, 0% 60%, 8% 30%, 15% 55%, 22% 20%, 30% 50%, 38% 10%, 48% 45%, 55% 15%, 62% 40%, 70% 5%, 78% 35%, 85% 55%, 92% 25%, 100% 50%, 100% 100%);
}

/* ==============================
   QUICK STATS
   ============================== */
.stats {
  max-width: 1100px;
  margin: -2rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 3;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-top: 4px solid var(--blue);
  transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==============================
   EVENTS
   ============================== */
.events {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}
.events h2 { font-size: 1.8rem; margin-bottom: 2rem; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.event-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.event-date {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 1.25rem 1rem;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-day { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.event-month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; margin-top: 0.2rem; }
.event-body { padding: 1.25rem; flex: 1; }
.event-tags { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.event-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag-running { background: #dcfce7; color: #166534; }
.tag-climbing { background: #fef3c7; color: #92400e; }
.tag-social { background: #dbeafe; color: #1e40af; }
.tag-competition { background: #fce7f3; color: #9d174d; }
.event-badge-soldout {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--red);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.event-body h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.event-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ==============================
   SPORTS PROGRAMS
   ============================== */
.programs {
  background: var(--white);
  padding: 5rem 2rem;
}
.programs h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}
.programs-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.program-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.program-accent { height: 5px; }
.program-card[data-accent="blue"] .program-accent { background: var(--blue); }
.program-card[data-accent="red"] .program-accent { background: var(--red); }
.program-card[data-accent="green"] .program-accent { background: #16a34a; }
.program-card[data-accent="orange"] .program-accent { background: #ea580c; }
.program-card[data-accent="teal"] .program-accent { background: #0891b2; }
.program-card[data-accent="purple"] .program-accent { background: #7c3aed; }
.program-card h3 {
  padding: 1.25rem 1.5rem 0;
  font-size: 1.05rem;
}
.program-card p {
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.program-meta {
  padding: 0.75rem 1.5rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.program-schedule {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.program-level {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
}
.dot.filled { background: var(--blue); }
.dot.empty { background: transparent; }

/* ==============================
   PHOTO GALLERY
   ============================== */
.gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.gallery h2 { font-size: 1.8rem; margin-bottom: 2rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 160px);
  gap: 1rem;
  grid-template-areas:
    "a a b c"
    "a a d e"
    "f g h h";
}
.gi-1 { grid-area: a; }
.gi-2 { grid-area: b; }
.gi-3 { grid-area: c; }
.gi-4 { grid-area: d; }
.gi-5 { grid-area: e; }
.gi-6 { grid-area: f; }
.gi-7 { grid-area: g; }
.gi-8 { grid-area: h; }

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}
.gi-1 { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.gi-2 { background: linear-gradient(135deg, #64748b, #475569); }
.gi-3 { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.gi-4 { background: linear-gradient(135deg, #475569, #64748b); }
.gi-5 { background: linear-gradient(135deg, #2563eb, #1e40af); }
.gi-6 { background: linear-gradient(135deg, #334155, #475569); }
.gi-7 { background: linear-gradient(135deg, #1e40af, #2563eb); }
.gi-8 { background: linear-gradient(135deg, #64748b, #334155); }

.gallery-item span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,64,175,0.6);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover {
  transform: scale(1.03);
}
.gallery-item:hover span {
  opacity: 1;
}

/* ==============================
   NEWS
   ============================== */
.news {
  background: var(--white);
  padding: 5rem 2rem;
}
.news-inner {
  max-width: 900px;
  margin: 0 auto;
}
.news h2 { font-size: 1.8rem; margin-bottom: 2rem; }
.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}
.news-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.news-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pill-results { background: #dcfce7; color: #166534; }
.pill-partnership { background: #dbeafe; color: #1e40af; }
.pill-facility { background: #fef3c7; color: #92400e; }
.pill-event { background: #fce7f3; color: #9d174d; }
.news-item h3 { font-size: 0.95rem; font-weight: 500; }
.news-date {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  margin-left: 2rem;
}

/* ==============================
   MEMBERSHIP
   ============================== */
.membership {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.membership h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.membership-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.membership-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.membership-card:hover { border-color: var(--blue); }
.membership-card-featured {
  border-color: var(--blue);
  box-shadow: 0 8px 30px rgba(30,64,175,0.12);
}
.membership-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  padding: 0.3rem 1.25rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.membership-card h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.membership-price {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.membership-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}
.membership-table {
  width: 100%;
  text-align: left;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  border-collapse: collapse;
}
.membership-table tr { border-bottom: 1px solid #f1f5f9; }
.membership-table td { padding: 0.5rem 0.25rem; }
.membership-table td:first-child { color: var(--muted); }
.membership-table td:last-child { text-align: right; width: 32px; }
.membership-table .check { color: #16a34a; font-weight: 700; }
.membership-table .cross { color: #d1d5db; }
.membership-table tr:nth-child(even) { background: #f8fafc; }
.membership-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.65rem 1.75rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.membership-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* ==============================
   COMMITTEE / BOARD
   ============================== */
.committee {
  background: var(--white);
  padding: 5rem 2rem;
}
.committee h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}
.committee-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.committee-member {
  text-align: center;
  position: relative;
  cursor: default;
}
.committee-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.committee-member:hover .committee-avatar {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(30,64,175,0.25);
}
.committee-name {
  font-size: 0.9rem;
  font-weight: 600;
}
.committee-role {
  font-size: 0.78rem;
  color: var(--muted);
}
/* CSS-only tooltip */
.committee-member::after {
  content: attr(data-title);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--text);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.committee-member:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==============================
   TIMELINE (ALTERNATING)
   ============================== */
.timeline-section {
  padding: 5rem 2rem;
}
.timeline-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 3rem;
}
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--light-blue);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  display: flex;
  width: 50%;
  padding-bottom: 3rem;
}
/* Odd items: left side */
.timeline-item:nth-child(odd) {
  align-self: flex-start;
  margin-left: 0;
  padding-right: 3rem;
  justify-content: flex-end;
}
/* Even items: right side */
.timeline-item:nth-child(even) {
  align-self: flex-end;
  margin-left: 50%;
  padding-left: 3rem;
  justify-content: flex-start;
}
.timeline-dot {
  position: absolute;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid var(--light-blue);
  z-index: 2;
}
.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}
.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}
.timeline-card {
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  max-width: 320px;
}
.timeline-year {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}
.timeline-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.timeline-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ==============================
   CONTACT & LOCATION
   ============================== */
.contact {
  background: var(--white);
  padding: 5rem 2rem;
}
.contact h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
}
.contact-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3,
.contact-hours h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--blue);
}
.contact-detail {
  margin-bottom: 1.25rem;
}
.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.contact-detail p {
  font-size: 0.9rem;
  line-height: 1.6;
}
.contact-hours {
  overflow-x: auto;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 280px;
}
.hours-table thead th {
  background: var(--blue);
  color: var(--white);
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
}
.hours-table thead th:first-child { border-radius: 8px 0 0 0; }
.hours-table thead th:last-child { border-radius: 0 8px 0 0; }
.hours-table tbody td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.hours-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.hours-table tbody tr:last-child td { border-bottom: none; }

/* ==============================
   SPONSORS
   ============================== */
.sponsors {
  padding: 4rem 2rem;
  text-align: center;
}
.sponsors > p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.sponsors-bar {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.sponsor-box {
  width: 130px;
  height: 50px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: border-color 0.2s, color 0.2s;
}
.sponsor-box:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ==============================
   SITE FOOTER
   ============================== */
.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 3.5rem 2rem 2rem;
}
.footer-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.35rem;
}
.social-icons {
  display: flex;
  gap: 0.75rem;
}
.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7) !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  margin-bottom: 0;
}
.social-circle:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white) !important;
}
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.murikual-footer { background: var(--blue-dark); border-top: 1px solid rgba(255,255,255,0.1); }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 160px);
    grid-template-areas:
      "a a"
      "b c"
      "d e"
      "f g";
  }
  .gi-8 { grid-area: auto; display: none; }
}

@media (max-width: 768px) {
  .nav { padding: 0 1.5rem; flex-wrap: wrap; height: auto; padding: 0.75rem 1.5rem; }
  .nav-links { gap: 1rem; flex-wrap: wrap; }
  .hero { padding: 4rem 1.5rem 0; }
  .hero h1 { font-size: 2rem; }
  .hero-mountains { height: 50px; }
  .stats { margin-top: -1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .events-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "a" "b" "c" "d" "e" "f";
  }
  .gi-7, .gi-8 { display: none; }
  .gallery-grid .gallery-item { min-height: 140px; }
  .membership-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .news-item { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .news-date { margin-left: 0; }
  .committee-grid { gap: 1.5rem; }
  .committee-avatar { width: 56px; height: 56px; font-size: 0.95rem; }
  /* Timeline stacks on mobile */
  .timeline::before { left: 16px; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 3rem;
    padding-right: 0;
    justify-content: flex-start;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 8px;
    right: auto;
  }
  .timeline-card { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .social-icons { justify-content: center; }
  .sponsors-bar { gap: 1rem; }
  .sponsor-box { width: 110px; height: 44px; font-size: 0.72rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 1.25rem 1rem; }
  .stat-number { font-size: 1.75rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero h1 { font-size: 1.75rem; }
  .events h2,
  .programs h2,
  .gallery h2,
  .news h2,
  .membership h2,
  .committee h2,
  .timeline-section h2,
  .contact h2 {
    font-size: 1.5rem;
  }
  .timeline-card { padding: 1rem; }
  .timeline-card h3 { font-size: 0.9rem; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 2.25rem;
  }
  .timeline::before { left: 12px; }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 4px;
  }
  .hours-table { font-size: 0.78rem; }
  .hours-table thead th { padding: 0.5rem; font-size: 0.72rem; }
  .hours-table tbody td { padding: 0.45rem 0.5rem; }
  .event-card { flex-direction: column; }
  .event-date { min-width: auto; flex-direction: row; gap: 0.5rem; padding: 0.75rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .sponsor-box { width: 100%; }
}
