:root {
  --bg-main: #050506;
  --bg-alt: #0c0d10;
  --bg-card: #111218;
  --accent: #ffd54a; /* VW yellow accent */
  --accent-soft: rgba(255, 213, 74, 0.18);
  --text-main: #f7f7f7;
  --text-muted: #a5a5ad;
  --border-subtle: #2a2a30;
  --danger: #ff5c5c;
  --success: #9bdc65;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.7);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #16171d 0, #050506 55%, #000 100%);
  color: var(--text-main);
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  display: block;
}

/* Layout */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding: 0px 16px 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

section {
  margin-bottom: 64px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  gap: 16px;
}

.section-title {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Header & Nav */

header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to right,
    rgba(2, 2, 4, 0.96),
    rgba(12, 12, 16, 0.96)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  background: radial-gradient(circle at 30% 0, #444, #000);
  box-shadow: 0 0 18px rgba(255, 213, 74, 0.45);
}

.logo-text-main {
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.logo-text-sub {
  color: var(--text-muted);
  font-size: 0.75rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
  white-space: nowrap;
}

nav a:hover,
nav a:focus {
  background: var(--accent-soft);
  color: var(--text-main);
  transform: translateY(-1px);
}

nav a.active-link {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 18px rgba(255, 213, 74, 0.6);
}

.nav-cta {
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent);
  padding: 8px 14px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(
    135deg,
    rgba(255, 213, 74, 0.1),
    rgba(255, 213, 74, 0.35)
  );
  box-shadow: 0 0 18px rgba(255, 213, 74, 0.5);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  margin: 4px 0;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 768px) {
  main {
    padding-top: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 56px;
    right: 12px;
    left: 12px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(5, 5, 8, 0.96);
    border: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: stretch;
    display: none;
    box-shadow: var(--shadow-soft);
    z-index: 1000;
  }


  .nav-links.open {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  nav a {
    padding: 10px 12px;
  }

  .nav-cta {
    text-align: center;
  }
}

/* Hero (Home page) */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 32px;
  align-items: center;
}

/* Semantic column naming for layout reuse */
.content-left {
  /* primary text / main content column */
}

.content-right {
  /* secondary column for cards, media, etc. */
}

/* Logo + slideshow row inside content-left */

.splash-media-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
  margin-bottom: 16px;
}

.splash-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  flex: 0 0 auto; /* keep logo at natural width */
}

/* Slideshow should expand to fill the remaining space in content-left */
#hssSlideshow {
  width: 100%;
  min-width: 0;
}
@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
}

.page-left h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-tagline {
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 20px;
}

.club-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-soft);
  background: rgba(8, 8, 10, 0.96);
  margin-bottom: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-pill {
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Buttons */

.btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  background: none;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #ffd54a, #ffeaa0);
  color: #000;
  box-shadow: 0 10px 25px rgba(255, 213, 74, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 213, 74, 0.6);
}

.btn-outline {
  border-color: var(--border-subtle);
  background: rgba(5, 5, 7, 0.96);
  color: var(--text-muted);
}

.btn-outline:hover {
  background: var(--accent-soft);
  color: var(--text-main);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Cards & grids */

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  padding: 4px 8px;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.badge-primary {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #fff5c0;
}

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* Hero card (home) */

.page-right-card {
  background: radial-gradient(circle at top left, #26272f, var(--bg-card) 55%);
  border-radius: 20px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 120px; 
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-right-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% 0, rgba(255, 213, 74, 0.4), transparent 45%);
  opacity: 0.85;
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-right-inner {
  position: relative;
  z-index: 1;
}

.page-right-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.page-right-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.page-right-chip {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.countdown-track {
  background: rgba(5, 5, 9, 0.9);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}

.countdown-track-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.countdown-track-meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.countdown-track-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd54a, #ffffff);
  box-shadow: 0 0 16px rgba(255, 213, 74, 0.7);
}

.page-right-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}


.sponsors-section {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.sponsors-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  text-align: center !important;
  display: block !important;
}

.sponsor-logo {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.35);
  display: block;
  margin: 0 auto 8px auto;
}

.sidebar-section {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.sidebar-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sidebar-photo {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: block;
  object-fit: cover;
  max-height: 90px;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.sidebar-links a {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}

.sidebar-links a:hover {
  text-decoration: underline;
}


/* Car Show */

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(4, 4, 6, 0.96);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.event-details ul {
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.event-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.tag {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--border-subtle);
}

/* Gallery */

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.gallery-tab {
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(5, 5, 8, 0.96);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.gallery-tab.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #fffbe0;
  transform: translateY(-1px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #1f2024, #050506);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 110px;
  display: flex;
  align-items: flex-end;
  padding: 8px;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.7);
  border-color: var(--accent);
}

.gallery-label {
  font-size: 0.8rem;
  color: #fff9d6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-chip {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.gallery-placeholder-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Calendar */

.calendar-layout {
  display: grid;
  gap: 16px;
}

@media (min-width: 880px) {
  .calendar-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

.calendar-month {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
}

.calendar-weekdays,
.calendar-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.calendar-weekdays div {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calendar-cell {
  text-align: center;
  padding: 6px 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(5, 5, 9, 0.96);
}

.calendar-cell.has-event {
  border-color: var(--accent);
  background: rgba(255, 213, 74, 0.14);
  cursor: pointer;
}

.calendar-cell.today {
  border-color: var(--success);
  box-shadow: 0 0 0 1px rgba(155, 220, 101, 0.5);
}

.calendar-cell span {
  font-size: 0.8rem;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.legend-dot.today-dot {
  background: var(--success);
}

.event-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.event-list-item {
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(5, 5, 9, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.event-list-item strong {
  font-size: 0.9rem;
}

.event-list-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.event-list-actions {
  margin-top: 4px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip-link {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  background: rgba(5, 5, 7, 0.96);
}

.chip-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Forms */

.event-form {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  margin-top: 6px;
}

label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

input[type="text"],
input[type="date"],
input[type="time"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(5, 5, 8, 0.96);
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
  resize: vertical;
  min-height: 36px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 213, 74, 0.6);
  background: rgba(8, 8, 12, 0.96);
}

.form-row {
  display: grid;
  gap: 8px;
}

@media (min-width: 600px) {
  .form-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-message {
  font-size: 0.8rem;
  margin-top: 4px;
}

.status-success {
  color: var(--success);
}

.status-error {
  color: var(--danger);
}

/* Marketplace */

.placeholder-banner {
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px dashed var(--border-subtle);
  background: rgba(5, 5, 8, 0.96);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.market-grid {
  margin-top: 10px;
}

.market-card {
  padding: 10px 10px 8px;
  border-radius: 14px;
  background: rgba(5, 5, 8, 0.96);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.market-card h4 {
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.market-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.contact-list {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-list strong {
  color: var(--text-main);
}

.contact-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.contact-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
}

/* Footer */

footer {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 12px 16px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: radial-gradient(circle at top, #111217, #030305 55%);
}
