
/* ── TOKENS ── */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --deep: #0D0B10;
  --surface: #13111A;
  --surface2: #1C1925;
  --purple: #6B3FA0;
  --text: #F0EDE8;
  --text-muted: #A89E90;
  --border: rgba(255,255,255,0.08);
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--deep);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 0 5%; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(13,11,16,0.92);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 600;
  color: var(--text); text-decoration: none;
}
.nav-brand span { color: var(--gold); }
.nav-links {
  display: flex; align-items: center;
  gap: 2rem; list-style: none;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important; color: var(--deep) !important;
  padding: 10px 24px !important; border-radius: 40px !important;
  font-weight: 500 !important; text-transform: none !important;
  letter-spacing: 0 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: var(--transition); }

/* ── UTILITIES ── */
.section-label {
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 0.75rem;
}
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.15; margin-bottom: 1rem;
}
.section-heading em { font-style: italic; color: var(--gold); }

.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── HERO ── */
.events-hero {
  min-height: 58vh; position: relative;
  display: flex; align-items: center;
  justify-content: center; text-align: center;
  padding: 140px 5% 80px; overflow: hidden;
}
.events-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 35%, rgba(107,63,160,0.42) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 15% 75%, rgba(201,168,76,0.1) 0%, transparent 60%),
    linear-gradient(160deg, #0D0B10 0%, #130E1E 60%, #0D0B10 100%);
}
.events-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='0.8' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
}
.events-hero-content { position: relative; z-index: 2; max-width: 660px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  padding: 7px 18px; border: 1px solid rgba(201,168,76,0.25);
  border-radius: 40px; background: rgba(201,168,76,0.06);
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.5); }
}
.events-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.1;
  margin-bottom: 1.25rem;
}
.events-hero h1 em { font-style: italic; color: var(--gold); }
.events-hero p {
  font-size: 1rem; color: var(--text-muted);
  font-weight: 300; max-width: 500px;
  margin: 0 auto; line-height: 1.8;
}
.breadcrumb-bar {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 2.5rem; font-size: 0.78rem;
  color: var(--text-muted); align-items: center;
  position: relative; z-index: 2;
}
.breadcrumb-bar a { color: var(--gold); text-decoration: none; }
.breadcrumb-bar a:hover { text-decoration: underline; }

/* ── FEATURED EVENT ── */
.featured-section { background: var(--surface); padding: 100px 5%; }
.featured-inner {
  max-width: 1200px; margin: 0 auto;
}
.featured-header { margin-bottom: 2.5rem; }

.featured-card {
  display: grid; grid-template-columns: 1.1fr 1fr;
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border);
  min-height: 460px;
  position: relative;
}
.featured-img {
  position: relative; overflow: hidden;
  background: var(--surface2);
}
.featured-img-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  min-height: 460px;
}
.featured-card:hover .featured-img-bg { transform: scale(1.03); }

.featured-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(13,11,16,0.8) 100%);
}
.featured-badge {
  position: absolute; top: 1.5rem; left: 1.5rem;
  background: var(--gold); color: var(--deep);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px;
}

.featured-body {
  background: var(--surface2); padding: 3rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.featured-body .event-tag {
  font-size: 0.68rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.75rem; display: block;
}
.featured-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600; color: var(--text);
  line-height: 1.2; margin-bottom: 1.25rem;
}
.featured-meta {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.featured-meta-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; color: var(--text-muted); font-weight: 300;
}
.featured-meta-item i { color: var(--gold); font-size: 0.9rem; width: 16px; }
.featured-body p {
  font-size: 0.875rem; color: var(--text-muted);
  font-weight: 300; line-height: 1.75;
  margin-bottom: 2rem; flex-grow: 1;
}
.btn-gold {
  display: inline-block; background: var(--gold); color: var(--deep);
  padding: 12px 28px; border-radius: 40px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 500;
  cursor: pointer; transition: var(--transition); text-decoration: none;
  align-self: flex-start;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.3); }

/* Loading skeleton */
.skeleton { animation: shimmer 1.5s infinite; }
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.skeleton-block {
  background: linear-gradient(90deg, var(--surface2) 25%, rgba(255,255,255,0.04) 50%, var(--surface2) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

/* ── EVENTS GRID ── */
.grid-section { background: var(--deep); padding: 100px 5%; }
.grid-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  max-width: 1200px; margin: 0 auto 3rem;
  flex-wrap: wrap; gap: 1rem;
}
.events-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1200px; margin: 0 auto;
}

/* Individual Event Card */
.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: var(--transition); cursor: pointer;
}
.event-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.22); }

.event-card-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--surface2);
}
.event-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.82); transition: transform 0.6s ease;
}
.event-card:hover .event-card-img img { transform: scale(1.05); }

/* Date chip overlaid on image */
.event-date-chip {
  position: absolute; top: 12px; left: 12px;
  background: var(--deep); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.4rem 0.7rem;
  text-align: center; backdrop-filter: blur(8px);
  min-width: 50px;
}
.event-date-chip .chip-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600; color: var(--gold);
  line-height: 1;
}
.event-date-chip .chip-month {
  font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}

.event-card-body { padding: 1.5rem; }
.event-card-tag {
  font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.5rem; display: block;
}
.event-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.8rem; line-height: 1.25;
}
.event-card-meta {
  display: flex; flex-direction: column; gap: 0.35rem;
  margin-bottom: 0.9rem;
}
.event-card-meta span {
  font-size: 0.8rem; color: var(--text-muted); font-weight: 300;
  display: flex; align-items: center; gap: 7px;
}
.event-card-meta i { color: var(--gold); font-size: 0.78rem; width: 14px; }
.event-card-body p {
  font-size: 0.825rem; color: var(--text-muted);
  font-weight: 300; line-height: 1.65;
}

/* Empty / loading state */
.events-empty {
  grid-column: 1/-1; text-align: center; padding: 4rem 0;
  color: var(--text-muted); font-size: 0.9rem; font-weight: 300;
}
.events-empty i { font-size: 2.5rem; color: rgba(201,168,76,0.2); margin-bottom: 1rem; display: block; }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 90px 5%;
}
.newsletter-inner {
  max-width: 600px; margin: 0 auto; text-align: center;
}
.newsletter-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300; margin-bottom: 1rem;
}
.newsletter-inner h2 em { font-style: italic; color: var(--gold); }
.newsletter-inner p {
  color: var(--text-muted); font-size: 0.95rem;
  font-weight: 300; margin-bottom: 2.5rem; line-height: 1.7;
}
.newsletter-form {
  display: flex; gap: 0; border-radius: 50px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface2);
  transition: border-color 0.3s;
}
.newsletter-form:focus-within { border-color: rgba(201,168,76,0.4); }
.newsletter-form input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 14px 22px; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; color: var(--text); font-weight: 300;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form button {
  background: var(--gold); color: var(--deep); border: none;
  padding: 14px 28px; font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  border-radius: 0 50px 50px 0; transition: background 0.25s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); }
.newsletter-alert {
  margin-top: 1rem; font-size: 0.85rem; min-height: 36px;
}
.alert-msg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 40px; font-size: 0.82rem;
}
.alert-success { background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); }
.alert-error   { background: rgba(220,53,69,0.1);  border: 1px solid rgba(220,53,69,0.3);  color: #f28a8a; }
.alert-warn    { background: rgba(255,193,7,0.1);  border: 1px solid rgba(255,193,7,0.25); color: #ffc107; }

/* ── FOOTER ── */
.footer { background: var(--deep); border-top: 1px solid var(--border); padding: 80px 5% 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px; max-width: 1200px; margin: 0 auto 3rem;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 600; color: var(--text); margin-bottom: 1rem;
}
.footer-brand-name span { color: var(--gold); }
.footer-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; font-weight: 300; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); display: flex;
  align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none;
  font-size: 0.9rem; transition: var(--transition);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.06); }
.footer-col h4 { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text); font-weight: 500; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 300; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold); }
.footer-divider { border: none; border-top: 1px solid var(--border); max-width: 1200px; margin: 0 auto 2rem; }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.8rem; font-weight: 300; max-width: 1200px; margin: 0 auto; }
.footer-bottom span { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0; background: var(--deep);
    flex-direction: column; justify-content: center;
    align-items: center; gap: 2.5rem;
    transform: translateX(100%); transition: transform 0.4s ease; z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-img-bg { min-height: 280px; }
  .featured-img-overlay { background: linear-gradient(0deg, rgba(13,11,16,0.7) 0%, transparent 60%); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .events-hero { padding: 120px 5% 60px; }
  .events-hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
  .events-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; border-radius: 16px; overflow: visible; gap: 10px; background: transparent; border: none; }
  .newsletter-form input { background: var(--surface2); border: 1px solid var(--border); border-radius: 40px; padding: 14px 22px; }
  .newsletter-form input:focus { border-color: rgba(201,168,76,0.4); }
  .newsletter-form button { border-radius: 40px; padding: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .featured-body { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .featured-body h2 { font-size: 1.5rem; }
  .section-heading { font-size: 1.85rem; }
}
