/* ===== Base ===== */
:root {
  --gold: #F1B82D;
  --gold-dark: #D4A128;
  --black: #000000;
  --dark-gray: #1a1a1a;
  --warm-cream: #FAF7F2;
  --tan: #D4A574;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
  background: var(--white);
  color: var(--dark-gray);
  transition: background 0.3s, color 0.3s;
}

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

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

/* ===== Dark Mode ===== */
body.dark {
  --white: #0f0f0f;
  --warm-cream: #1a1a1a;
  --dark-gray: #ededed;
  background: #0f0f0f;
  color: #ededed;
}

body.dark .card {
  background: #1e1e1e;
  border-color: #2a2a2a;
}

body.dark .card-cream {
  background: #252525;
}

body.dark .text-muted { color: #999; }
body.dark .text-body { color: #ccc; }
body.dark .text-heading { color: #f0f0f0; }
body.dark .bg-cream { background: #1a1a1a; }
body.dark .bg-white-section { background: #0f0f0f; }
body.dark .nav-solid { background: #0f0f0f; }

body.dark .faq-item { background: #1e1e1e; }
body.dark .footer { background: #0a0a0a; }

body.dark .date-badge { background: rgba(241,184,45,0.15); }

/* ===== Utility ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-gold { color: var(--gold); }
.text-muted { color: #6b7280; }
.text-body { color: #374151; }
.text-heading { color: #1a1a1a; }
.bg-cream { background: var(--warm-cream); }
.bg-white-section { background: var(--white); }

.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--tan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(241,184,45,0.25);
}
.btn-gold-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: 2px solid var(--gold);
  cursor: pointer;
}
.btn-gold-outline:hover {
  background: rgba(241, 184, 45, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(241,184,45,0.15);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 1rem;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled, .nav-solid {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
body.dark .navbar.scrolled { background: #0f0f0f; box-shadow: 0 1px 3px rgba(255,255,255,0.05); }

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s;
}
.navbar.scrolled .nav-brand { color: var(--dark-gray); }
body.dark .navbar.scrolled .nav-brand { color: #ededed; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.navbar.scrolled .nav-links a { color: #374151; }
body.dark .nav-links a { color: rgba(255,255,255,0.85); }
body.dark .navbar.scrolled .nav-links a { color: #ccc; }
.nav-links a:hover { color: var(--gold); }

/* Scroll spy active link */
.nav-links a.active:not(.nav-cta):not(.dark-toggle) { color: var(--gold); }
.nav-links a.active:not(.nav-cta):not(.dark-toggle)::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: #000 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold-dark); }
.nav-cta-outline {
  background: transparent !important;
  color: var(--gold) !important;
  border: 1.5px solid var(--gold);
}
.nav-cta-outline:hover {
  background: rgba(241, 184, 45, 0.1) !important;
}

/* Dark mode toggle */
.dark-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0.5rem;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color 0.2s;
}
.navbar.scrolled .dark-toggle { border-color: #d1d5db; }
body.dark .dark-toggle { border-color: #444; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--dark-gray); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #f3f4f6;
  padding: 1rem;
}
body.dark .mobile-menu { background: #0f0f0f; border-color: #222; }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}
body.dark .mobile-menu a { color: #ccc; }
.mobile-menu a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-dark { display: block !important; }
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #2a2a2a 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-orb-1 {
  position: absolute;
  top: -160px;
  right: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(241,184,45,0.1);
  filter: blur(120px);
}
.hero-orb-2 {
  position: absolute;
  bottom: -160px;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(212,165,116,0.1);
  filter: blur(100px);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(241,184,45,0.3);
  background: rgba(241,184,45,0.1);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.02em;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--gold), #f5ce5e, var(--tan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #d1d5db;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

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

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance */
.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.hero-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Section ===== */
.section {
  padding: 6rem 1rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
}
.section-header p {
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0 auto;
}

/* ===== Cards Grid ===== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 0.5rem 0; }
.card p { font-size: 0.875rem; line-height: 1.7; margin: 0; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1.5rem 0;
}
.about-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 0 0 1rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
body.dark .stat-card { background: #1e1e1e; }
.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 0.5rem 0;
}
.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Gallery ===== */
.gallery {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.gallery-window {
  flex: 1;
  overflow: hidden;
  border-radius: 1rem;
}

.gallery-track {
  display: flex;
  transition: transform 0.4s ease;
}

.gallery-slide {
  min-width: 100%;
  padding: 0 0.25rem;
}

.gallery-placeholder {
  width: 100%;
  height: 520px;
  background: #f5f5f5;
  border: 2px dashed #ddd;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #ccc;
  transition: all 0.3s ease;
}

.gallery-placeholder span {
  font-size: 1rem;
  font-weight: 600;
  color: #aaa;
}

.gallery-placeholder:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gallery-placeholder:hover span {
  color: var(--gold-dark);
}

body.dark .gallery-placeholder {
  background: #1a1a1a;
  border-color: #333;
  color: #444;
}

body.dark .gallery-placeholder span { color: #555; }

body.dark .gallery-placeholder:hover {
  border-color: var(--gold);
  color: var(--gold);
}

body.dark .gallery-placeholder:hover span { color: var(--gold); }

.gallery-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 1rem;
}

.gallery-arrow {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark-gray);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.gallery-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

body.dark .gallery-arrow {
  background: #1e1e1e;
  border-color: #444;
  color: #ccc;
}

body.dark .gallery-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

body.dark .gallery-dot { background: #444; }
body.dark .gallery-dot.active { background: var(--gold); }

@media (max-width: 640px) {
  .gallery-placeholder, .gallery-slide img { height: 320px; }
  .gallery-arrow { width: 36px; height: 36px; }
}

/* ===== Events ===== */
.event-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.date-badge {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: rgba(241,184,45,0.1);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.date-badge .month {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.date-badge .day {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  margin-top: 0.75rem;
}

/* ===== Events Calendar Layout ===== */
.events-layout {
  display: grid;
  grid-template-columns: 58% 1fr;
  gap: 2rem;
  align-items: start;
}

/* --- Calendar Widget --- */
.calendar-widget {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

body.dark .calendar-widget {
  background: #1a1a1a;
  border-color: #2a2a2a;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.calendar-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calendar-month-label {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  min-width: 180px;
  text-align: center;
}

.calendar-today-btn {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-gray);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.calendar-today-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

body.dark .calendar-today-btn {
  border-color: #444;
  color: #ccc;
}

body.dark .calendar-today-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.calendar-nav {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark-gray);
  transition: all 0.25s ease;
}

.calendar-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  transform: scale(1.1);
}

body.dark .calendar-nav {
  border-color: #444;
  color: #ccc;
}

body.dark .calendar-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
}

body.dark .calendar-weekdays {
  border-color: #2a2a2a;
  color: #555;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

/* --- Day Cells --- */
.calendar-day {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  padding: 0.4rem 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem;
  cursor: default;
  position: relative;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.calendar-day-num {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #666;
}

body.dark .calendar-day-num {
  color: #888;
}

.calendar-day.other-month {
  opacity: 0.3;
}

.calendar-day.today {
  background: rgba(241,184,45,0.1);
  border-color: var(--gold);
}

body.dark .calendar-day.today {
  background: rgba(241,184,45,0.08);
  border-color: var(--gold);
}

.calendar-day.today .calendar-day-num {
  color: var(--gold-dark);
  font-weight: 800;
}

body.dark .calendar-day.today .calendar-day-num {
  color: var(--gold);
}

/* --- Event Day Cells --- */
.calendar-day.has-event {
  cursor: pointer;
  background: #fffdf5;
  border-color: rgba(241,184,45,0.15);
}

body.dark .calendar-day.has-event {
  background: rgba(241,184,45,0.05);
  border-color: rgba(241,184,45,0.15);
}

.calendar-day.has-event .calendar-day-num {
  color: var(--gold-dark);
  font-weight: 800;
}

body.dark .calendar-day.has-event .calendar-day-num {
  color: var(--gold);
}

.calendar-event-title {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-top: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body.dark .calendar-event-title {
  color: #e0e0e0;
}

.calendar-day.has-event:hover {
  background: rgba(241,184,45,0.12);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(241,184,45,0.12);
  transform: translateY(-1px);
}

.calendar-day.has-event.active {
  background: rgba(241,184,45,0.15);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(241,184,45,0.2);
}

/* --- Detail Panel (right side) --- */
.event-detail-panel {
  position: sticky;
  top: 80px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

body.dark .event-detail-panel {
  background: #1a1a1a;
  border-color: #2a2a2a;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

/* Selected event detail card */
.detail-panel-content {
  animation: detailFadeIn 0.3s ease;
}

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

.detail-date-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--gold-dark);
}

body.dark .detail-date-label {
  color: var(--gold);
}

.detail-card {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-left: 3px solid var(--gold);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}

body.dark .detail-card {
  background: #222;
  border-color: #333;
  border-left-color: var(--gold);
}

.detail-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.detail-card-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.detail-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.detail-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* All upcoming events list */
.detail-all-events {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

body.dark .detail-all-events {
  border-color: #2a2a2a;
}

.detail-all-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
  margin: 0 0 1rem 0;
}

.detail-event-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

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

.detail-event-item:hover {
  background: rgba(241,184,45,0.06);
}

.detail-event-item.active {
  background: rgba(241,184,45,0.1);
}

body.dark .detail-event-item {
  border-color: #2a2a2a;
}

body.dark .detail-event-item:hover {
  background: rgba(241,184,45,0.08);
}

.detail-event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.4rem;
  flex-shrink: 0;
}

.detail-event-info {
  flex: 1;
  min-width: 0;
}

.detail-event-date {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.detail-event-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.detail-event-loc {
  font-size: 0.75rem;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .events-layout {
    grid-template-columns: 1fr;
  }
  .event-detail-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .calendar-day {
    min-height: 52px;
    padding: 0.2rem;
  }
  .calendar-event-title {
    font-size: 0.55rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .calendar-widget {
    padding: 1rem;
  }
  .calendar-month-label {
    font-size: 1.125rem;
  }
}

/* ===== Team ===== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.team-grid .team-card {
  flex: 0 1 calc(33.333% - 1.34rem);
  min-width: 260px;
}
@media (max-width: 640px) {
  .team-grid .team-card {
    flex: 0 1 100%;
    min-width: 0;
  }
}

.team-card { text-align: center; }
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(241,184,45,0.2), rgba(212,165,116,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
}
.avatar-img {
  object-fit: cover;
  background: none;
}
.team-card .role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  margin: 0.25rem 0;
}
.team-card .major {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.team-card .linkedin-link {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s;
}
.team-card .linkedin-link:hover { color: var(--gold); }

/* ===== Projects ===== */
.project-card { display: flex; flex-direction: column; }

.project-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}

.project-card p { flex: 1; }
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 1rem;
}
.tech-tag {
  background: rgba(241,184,45,0.1);
  color: var(--gold-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
body.dark .tech-tag { color: var(--gold); }
.project-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  transition: color 0.2s;
}
.project-link:hover { color: var(--gold-dark); }

.project-card.coming-soon {
  position: relative;
  opacity: 0.65;
}

.coming-soon-badge {
  display: inline-block;
  background: rgba(241,184,45,0.15);
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

body.dark .coming-soon-badge {
  color: var(--gold);
}

.project-link-disabled {
  cursor: default;
  opacity: 0.5;
}

.project-link-disabled:hover {
  color: var(--gold);
}

/* ===== FAQ ===== */
.faq-list { max-width: 48rem; margin: 0 auto; }

.faq-item {
  background: #fff;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: inherit;
  font-family: inherit;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--gold);
  transition: transform 0.3s ease;
  margin-left: 1rem;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
}
.faq-answer-inner p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Connect Section ===== */
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}
.connect-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
body.dark .connect-card {
  background: #1a1a1a;
  border-color: #2a2a2a;
}
.connect-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(241, 184, 45, 0.12);
  transform: translateY(-2px);
}
.connect-card-primary {
  grid-column: 1 / -1;
  background: var(--black);
  border-color: var(--gold);
  color: #fff;
}
body.dark .connect-card-primary {
  background: #111;
  border-color: var(--gold);
}
.connect-card-primary .connect-desc {
  color: #9ca3af;
}
.connect-card-primary .connect-arrow {
  color: var(--gold);
}
.connect-card-primary:hover {
  box-shadow: 0 4px 24px rgba(241, 184, 45, 0.2);
}
.connect-card-signup {
  grid-column: 1 / -1;
  border-color: var(--gold);
  background: rgba(241, 184, 45, 0.04);
}
body.dark .connect-card-signup {
  background: rgba(241, 184, 45, 0.06);
  border-color: var(--gold);
}
.connect-card-signup .connect-icon {
  fill: var(--gold);
}
.connect-card-signup .connect-arrow {
  color: var(--gold);
}
.connect-card-signup:hover {
  background: rgba(241, 184, 45, 0.1);
  box-shadow: 0 4px 24px rgba(241, 184, 45, 0.15);
}
.connect-icon {
  width: 28px;
  height: 28px;
  fill: #6b7280;
  flex-shrink: 0;
  transition: fill 0.2s;
}
.connect-card-primary .connect-icon {
  fill: var(--gold);
}
.connect-card:hover .connect-icon {
  fill: var(--gold);
}
.connect-card-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.connect-label {
  font-weight: 600;
  font-size: 1rem;
}
.connect-desc {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.125rem;
}
.connect-arrow {
  font-size: 1.25rem;
  color: #9ca3af;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}
.connect-card:hover .connect-arrow {
  color: var(--gold);
  transform: translateX(3px);
}
@media (max-width: 640px) {
  .connect-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  background: #1a1a1a;
  color: #9ca3af;
  padding: 4rem 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
}
.footer h3, .footer h4 {
  color: #fff;
  margin: 0 0 1rem 0;
}
.footer h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d1d5db;
}
.footer p { font-size: 0.875rem; line-height: 1.7; margin: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer a {
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer a:hover { color: var(--gold); }

/* Footer social icons */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background 0.2s, transform 0.2s;
}
.social-icon:hover {
  background: rgba(241,184,45,0.2);
  transform: translateY(-2px);
}
.social-icon svg {
  width: 20px;
  height: 20px;
  fill: #9ca3af;
  transition: fill 0.2s;
}
.social-icon:hover svg { fill: var(--gold); }

.footer-bottom {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
}
.footer-bottom a { color: var(--tan); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--tan), var(--gold));
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  z-index: 100;
  transition: width 0.1s linear;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== Hero Particles Canvas ===== */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ===== Parallax Orbs ===== */
.parallax-orb {
  transition: transform 0.1s linear;
  will-change: transform;
}


/* ===== 3D Tilt Card ===== */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow 0.2s;
}
.tilt-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
body.dark .tilt-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ===== Glowing Border on Hover ===== */
.glow-border {
  position: relative;
  overflow: hidden;
}
.glow-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: conic-gradient(
    from 0deg,
    var(--gold),
    var(--tan),
    var(--gold-dark),
    var(--gold)
  );
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: rotate-border 3s linear infinite;
}
.glow-border:hover::before {
  opacity: 1;
}
.glow-border::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: calc(1rem - 2px);
  z-index: -1;
}
body.dark .glow-border::after {
  background: #1e1e1e;
}

@keyframes rotate-border {
  100% { transform: rotate(360deg); }
}

/* ===== Magnetic Button ===== */
.magnetic {
  transition: transform 0.2s ease-out;
  will-change: transform;
}

/* ===== Nav link animated underline ===== */
.nav-links a:not(.nav-cta):not(.dark-toggle) {
  position: relative;
}
.nav-links a:not(.nav-cta):not(.dark-toggle)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):not(.dark-toggle):hover::after {
  width: 100%;
}

/* ===== Pulse glow on gold CTA ===== */
.btn-gold {
  position: relative;
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  box-shadow: 0 0 20px rgba(241,184,45,0.4);
  opacity: 0;
  animation: pulse-glow 2.5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ===== Avatar hover lift ===== */
.avatar {
  transition: box-shadow 0.3s;
}
.team-card:hover .avatar {
  box-shadow: 0 8px 24px rgba(241,184,45,0.2);
}

/* ===== Stat card hover scale ===== */
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--tan));
  border-radius: 10px;
  border: 2px solid #f5f5f5;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-dark), var(--gold));
}

body.dark ::-webkit-scrollbar-track,
body.dark::-webkit-scrollbar-track {
  background: #1a1a1a;
}
body.dark ::-webkit-scrollbar-thumb,
body.dark::-webkit-scrollbar-thumb {
  border-color: #1a1a1a;
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) #f5f5f5;
}
body.dark {
  scrollbar-color: var(--gold) #1a1a1a;
}

/* ===== Custom Cursor ===== */
.custom-cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  mix-blend-mode: difference;
}
.custom-cursor.cursor-hover {
  width: 56px;
  height: 56px;
  background: rgba(241, 184, 45, 0.15);
  border-color: var(--tan);
}

.custom-cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
  .custom-cursor, .custom-cursor-dot { display: none; }
}
/* Hide default cursor on desktop */
@media (hover: hover) {
  *, *::before, *::after { cursor: none !important; }
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(241,184,45,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(241,184,45,0.4);
}

body.dark .back-to-top {
  box-shadow: 0 4px 16px rgba(241,184,45,0.2);
}