/* ============================================================
   ExpoConnect — Main Stylesheet
   Premium Canadian Events Marketplace
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* CSS Variables — Design System */
:root {
  --navy: #1a2744;
  --navy-light: #2d4066;
  --gold: #c9a84c;
  --gold-dark: #b08d2e;
  --gold-light: #e8d48b;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-50: #fafafa;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --red: #ef4444;
  --green: #22c55e;
  --blue: #3b82f6;

  --radius: 0.75rem;
  --radius-sm: 0.375rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.2s ease;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* Typography */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--gray-500); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  box-shadow: var(--shadow-md);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background-color: var(--navy-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
}

.btn-full { width: 100%; }

/* Inputs */
.form-input {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--gray-700);
  background-color: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 0.375rem;
}

.form-select {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--gray-700);
  background-color: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: var(--transition);
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
  outline: none;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-gold {
  background-color: var(--gold);
  color: var(--navy);
}

.badge-red {
  background-color: #fee2e2;
  color: var(--red);
}

.badge-green {
  background-color: #dcfce7;
  color: var(--green);
}

.badge-gray {
  background-color: var(--gray-100);
  color: var(--gray-600);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-inner { height: 5rem; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gold);
}

.logo-text h1 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.625rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  padding-bottom: 0.25rem;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: var(--gray-100);
}

@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a, .mobile-menu button {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu a:hover, .mobile-menu button:hover {
  background: var(--gray-50);
  color: var(--navy);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .hero { padding: 7rem 0; }
}

@media (min-width: 1024px) {
  .hero { padding: 8rem 0; }
}

.hero-glow-1 {
  position: absolute;
  top: 5rem;
  left: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-glow-2 {
  position: absolute;
  bottom: 2.5rem;
  right: 5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(201, 168, 76, 0.05);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-content {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 4rem; }
}

.hero h1 .text-gold { color: var(--gold); }

.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .hero p { font-size: 1.25rem; }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  width: 100%;
  height: 2rem;
}

@media (min-width: 768px) {
  .hero-wave svg { height: 3rem; }
}

/* Search Section */
.search-section {
  margin-top: -1rem;
  margin-bottom: 4rem;
}

.search-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .search-card { padding: 2rem; }
}

.search-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.search-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
}

.search-header h2 {
  font-size: 1.25rem;
  color: var(--navy);
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

@media (min-width: 1024px) {
  .search-grid { grid-template-columns: repeat(3, 1fr); }
}

.search-field { display: flex; flex-direction: column; }

.search-submit {
  display: flex;
  align-items: flex-end;
}

/* Event Card */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.event-card-img {
  position: relative;
  height: 10rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-img .placeholder-icon {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
}

.event-card-img .event-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(26,39,68,0.9));
  z-index: 2;
}

.event-card-img .event-name-overlay h3 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}

.event-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
}

.event-card-body {
  padding: 1rem;
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.event-card-meta svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
}

.event-card-footer .booths-left {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.event-card-footer .view-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.event-card-footer .view-link:hover {
  color: var(--gold);
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .section-header h2 { font-size: 1.875rem; }
}

.section-header .view-all {
  font-size: 0.875rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.section-header .view-all:hover {
  color: var(--navy);
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
.grid-7 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-7 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-7 { grid-template-columns: repeat(7, 1fr); }
}

/* Category Card */
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
}

.category-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-card .icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.category-card .name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
}

/* Benefits Section */
.benefits-section { padding: 4rem 0; }

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gold);
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
  background: rgba(248, 249, 250, 0.5);
  padding: 4rem 0;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
}

.testimonial-stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-card blockquote {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.testimonial-author {
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
}

.testimonial-author .name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-author .company {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary svg {
  width: 1rem;
  height: 1rem;
  color: var(--gray-400);
  transition: transform 0.2s ease;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-item .answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: var(--navy);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-section h2 { font-size: 1.875rem; }
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  margin-top: 5rem;
}

.footer-inner {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-brand .logo-icon {
  background: rgba(255,255,255,0.1);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.footer-col a:hover { color: var(--gold); }

.footer-col p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

.footer-social a:hover { color: var(--gold); }

/* Events Page */
.events-page { padding: 3rem 0; }

.events-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .events-layout { grid-template-columns: 280px 1fr; }
}

.filter-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 6rem;
}

.filter-panel h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 0.375rem;
}

.filter-clear {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.filter-clear:hover { color: var(--gold-dark); text-decoration: underline; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .events-grid { grid-template-columns: repeat(3, 1fr); }
}

.no-events {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}

.no-events svg {
  width: 3rem;
  height: 3rem;
  color: var(--gray-300);
  margin: 0 auto 1rem;
}

/* Event Detail Page */
.event-detail-hero {
  position: relative;
  height: 20rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (min-width: 768px) {
  .event-detail-hero { height: 28rem; }
}

.event-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.event-detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, var(--navy));
}

.event-detail-hero .content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.event-detail-hero h1 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .event-detail-hero h1 { font-size: 2.5rem; }
}

.event-detail-hero .meta {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

.event-detail-body {
  padding: 3rem 0;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .event-detail-grid { grid-template-columns: 1fr 340px; }
}

.detail-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.detail-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
}

.detail-section p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--gray-600);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.stat-item .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-heading);
}

.stat-item .label {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* Sidebar */
.detail-sidebar {
  position: sticky;
  top: 6rem;
  height: fit-content;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.booth-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.booth-option:last-child { border-bottom: none; }

.booth-option .type {
  font-weight: 500;
  font-size: 0.875rem;
}

.booth-option .price {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9375rem;
}

.service-list {
  list-style: none;
}

.service-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.service-list li span:last-child {
  font-weight: 600;
  color: var(--navy);
}

/* Apply Vendor Page */
.apply-page { padding: 3rem 0; }

.apply-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .apply-layout { grid-template-columns: 1fr 360px; }
}

.apply-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 2rem;
}

.apply-form h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.apply-form .subtitle {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.form-group { margin-bottom: 1rem; }

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .checkbox-group { grid-template-columns: repeat(3, 1fr); }
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.checkbox-item:hover { border-color: var(--gold); }
.checkbox-item.checked { border-color: var(--gold); background: rgba(201, 168, 76, 0.05); }

.checkbox-item input { display: none; }

.order-summary {
  position: sticky;
  top: 6rem;
  height: fit-content;
}

.order-summary-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
}

.order-summary-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.summary-row.total {
  border-top: 2px solid var(--gray-200);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
}

/* Admin Dashboard */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 16rem;
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 50;
}

.admin-sidebar .logo {
  margin-bottom: 2rem;
}

.admin-sidebar .logo h2 {
  color: var(--white);
  font-size: 1.25rem;
}

.admin-nav { list-style: none; }

.admin-nav li {
  margin-bottom: 0.25rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.admin-content {
  margin-left: 16rem;
  flex: 1;
  padding: 2rem;
  background: var(--gray-50);
  min-height: 100vh;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

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

@media (min-width: 1024px) {
  .stat-cards { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
}

.stat-card .value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-heading);
}

.stat-card .label {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.data-table th {
  background: var(--gray-50);
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.data-table td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-100);
}

.data-table tr:hover td {
  background: var(--gray-50);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Page Header */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-header h1 {
  font-size: 1.5rem;
}

/* Status badge */
.status {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-approved { background: #dcfce7; color: #16a34a; }
.status-rejected { background: #fee2e2; color: #dc2626; }
.status-pending { background: #fef3c7; color: #d97706; }
.status-payment-pending { background: #e0e7ff; color: #4f46e5; }
.status-payment-confirmed { background: #d1fae5; color: #059669; }
.status-awaiting { background: #fef3c7; color: #b45309; }

/* Responsive */
@media (max-width: 767px) {
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-content {
    margin-left: 0;
  }
}

/* Loading */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--gray-400);
}

.spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid var(--gray-200);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Toast notification */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideIn 0.3s ease;
}

.toast.success { border-left: 4px solid var(--green); }
.toast.error { border-left: 4px solid var(--red); }
.toast.info { border-left: 4px solid var(--blue); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Utility */
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-semibold { font-weight: 600; }
.hidden { display: none; }
.flex { display: flex; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }

/* Page sections shared spacing */
.page-section { padding: 4rem 0; }
.page-section-alt { background: var(--gray-50); padding: 4rem 0; }

/* Legal Pages */
.legal-page { padding: 3rem 0; max-width: 48rem; margin: 0 auto; }
.legal-page h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.legal-page h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.legal-page p { margin-bottom: 1rem; line-height: 1.8; color: var(--gray-600); }
.legal-page ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-page li { margin-bottom: 0.5rem; color: var(--gray-600); line-height: 1.6; }
