/* ============================================================
   Art Depot District — Main Stylesheet
   Aesthetic: Community warmth — cream + navy + red
   Fonts: Pacifico (logo) + Oswald (headings) + Lato (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Oswald:wght@400;500;600;700&family=Lato:ital,wght@0,300;0,400;0,700;1,300&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg-primary:   #f4efe6;
  --bg-secondary: #ebe5d8;
  --bg-card:      #ffffff;
  --bg-surface:   #f9f5ef;

  --navy:         #1e3a5c;
  --navy-light:   #2d5480;
  --navy-dark:    #152b45;
  --red:          #b83535;
  --red-dark:     #922a2a;
  --teal:         #1a5f6e;
  --teal-dark:    #134a57;

  --text-primary:  #1a2332;
  --text-secondary:#4a5568;
  --text-muted:    #718096;

  --border:        rgba(30,58,92,0.12);
  --border-dark:   rgba(30,58,92,0.22);
  --shadow:        0 2px 12px rgba(30,58,92,0.09);
  --shadow-lg:     0 6px 32px rgba(30,58,92,0.14);

  --font-logo:    'Pacifico', cursive;
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Lato', sans-serif;

  --nav-height:   72px;
  --max-width:    1160px;
  --radius:       4px;
  --radius-lg:    8px;
  --transition:   0.2s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; letter-spacing: 0.05em; }
p  { color: var(--text-secondary); line-height: 1.75; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 6px;
}

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--bg-secondary); }
.section-navy { background: var(--navy); }
.section-dark { background: var(--navy-dark); }

.divider { width: 48px; height: 3px; background: var(--red); margin: 12px 0 22px; }
.divider-center { margin: 12px auto 22px; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--navy);
  z-index: 1000;
  display: flex; align-items: center;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto; padding: 0 24px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo-wrap { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.nav-logo { font-family: var(--font-logo); font-size: 1.55rem; color: var(--navy); line-height: 1; }
.nav-logo-sub {
  font-family: var(--font-body); font-size: 0.57rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 1px;
}
.nav-links {
  display: flex; align-items: center; list-style: none; gap: 2px; flex: 1; justify-content: center;
}
.nav-links a {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--navy);
  padding: 7px 12px; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--red); background: rgba(184,53,53,0.07); }
.nav-links a.nav-highlight { background: var(--red); color: #fff; }
.nav-links a.nav-highlight:hover { background: var(--red-dark); }
.nav-social { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nav-social a {
  width: 32px; height: 32px; background: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
  transition: background var(--transition);
}
.nav-social a:hover { background: var(--red); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: var(--transition); }
.nav-mobile {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: #fff; border-bottom: 2px solid var(--navy);
  padding: 12px 24px 20px; z-index: 999; box-shadow: var(--shadow);
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; }
.nav-mobile a {
  display: block; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--navy);
  padding: 13px 0; border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--red); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 26px; border-radius: var(--radius);
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary   { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-light); }
.btn-red       { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-teal      { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline   { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-ghost { border: 1px solid var(--border-dark); color: var(--text-secondary); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 72vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; margin-top: var(--nav-height); overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.5; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,40,70,0.3) 0%, rgba(15,30,55,0.58) 100%); }
.hero-content { position: relative; z-index: 1; padding: 48px 24px; }
.hero-welcome { font-family: var(--font-body); font-size: clamp(1rem, 2.5vw, 1.3rem); font-weight: 300; color: rgba(255,255,255,0.9); letter-spacing: 0.04em; margin-bottom: 6px; }
.hero-content h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.3); margin-bottom: 14px; }
.hero-subtitle { font-size: clamp(0.9rem, 2vw, 1.05rem); color: rgba(255,255,255,0.8); margin-bottom: 30px; font-weight: 300; letter-spacing: 0.05em; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Feature Cards ──────────────────────────────────────── */
.feature-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 4px solid var(--navy);
  box-shadow: 0 4px 20px rgba(30,58,92,0.12);
}
.feature-card {
  background: var(--bg-card);
  border-right: 1px solid var(--border-dark);
  overflow: hidden; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:last-child { border-right: none; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); z-index: 1; position: relative; }
.feature-card-header {
  padding: 11px 16px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.06em; color: #fff;
}
.feature-card-header.red  { background: var(--red); }
.feature-card-header.navy { background: var(--navy); }
.feature-card-header.teal { background: var(--teal); }
.feature-card-img { height: 155px; overflow: hidden; background: var(--bg-secondary); }
.feature-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.feature-card:hover .feature-card-img img { transform: scale(1.05); }
.feature-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-secondary);
  font-size: 3rem;
}
.feature-card-footer {
  padding: 11px 16px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); border-top: 2px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  transition: color var(--transition);
}
.feature-card:hover .feature-card-footer { color: var(--red); }

/* ── Events Section ─────────────────────────────────────── */
.section-header { margin-bottom: 36px; }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 24px; }

.events-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.events-tabs {
  display: flex; gap: 0;
  border: 1px solid var(--border-dark); border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; flex-wrap: wrap;
}
.events-tab {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  padding: 10px 16px; color: var(--text-muted);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-dark);
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  white-space: nowrap; transition: all var(--transition);
}
.events-tab:last-child { border-right: none; }
.events-tab.active { color: #fff; background: var(--navy); }
.events-tab:not(.active):hover { color: var(--navy); background: var(--bg-secondary); }
.events-calendar-wrap {
  background: #fff;
  border: 1px solid var(--border-dark); border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.events-list { display: flex; flex-direction: column; }
.event-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background var(--transition);
}
.event-item:last-child { border-bottom: none; }
.event-item:hover { background: rgba(30,58,92,0.04); }
.event-date-block { flex-shrink: 0; text-align: center; width: 48px; }
.event-date-month { font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.event-date-day { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--navy); }
.event-divider { width: 1px; height: 32px; background: var(--border-dark); flex-shrink: 0; }
.event-info { flex: 1; min-width: 0; }
.event-info h4 { font-size: 0.92rem; font-weight: 700; text-transform: none; letter-spacing: .01em; color: var(--navy); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-info p { font-size: 0.78rem; color: var(--text-muted); }
.event-time { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; color: var(--text-muted); flex-shrink: 0; }
.event-source-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 20px; margin-top: 3px; }
.events-footer { padding: 12px 20px; background: var(--bg-surface); border-top: 2px solid var(--border-dark); text-align: center; }

/* ── Car Show Sidebar ───────────────────────────────────── */
.carshow-card {
  background: var(--bg-card); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.carshow-card-img { height: 180px; overflow: hidden; background: var(--bg-secondary); }
.carshow-card-img img { width: 100%; height: 100%; object-fit: cover; }
.carshow-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: var(--bg-secondary); }
.carshow-card-header { background: var(--navy); padding: 12px 18px; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: #fff; letter-spacing: .05em; }
.carshow-card-body { padding: 18px; }
.carshow-card-body h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; text-transform: none; letter-spacing: 0; }
.carshow-card-body p { font-size: 0.85rem; margin-bottom: 14px; }

/* ── Business Cards ─────────────────────────────────────── */
.businesses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.business-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.business-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.business-card-img-wrap { height: 200px; overflow: hidden; background: var(--bg-secondary); }
.business-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.business-card:hover .business-card-img { transform: scale(1.05); }
.business-card-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--border-dark);
}
.business-card-body { padding: 20px; }
.business-card-tag { font-family: var(--font-body); font-size: 0.67rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.business-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.business-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.business-card-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); transition: color var(--transition); }
.business-card:hover .business-card-arrow { color: var(--red); }

/* ── Depot Days Banner ──────────────────────────────────── */
.depot-days-banner { position: relative; overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; }
.depot-days-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.depot-days-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,30,55,0.92) 0%, rgba(15,30,55,0.3) 60%, transparent 100%); }
.depot-days-content { position: relative; z-index: 1; width: 100%; padding: 48px 0; display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: end; }
.depot-days-title { font-family: var(--font-logo); font-size: clamp(2.2rem, 5vw, 3.5rem); color: #fff; margin-bottom: 12px; line-height: 1.1; }
.depot-days-text { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin-bottom: 22px; line-height: 1.7; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-q { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { color: var(--text-secondary); font-size: 0.95rem; display: none; padding-top: 12px; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-arrow { transition: transform .2s; color: var(--red); font-size: 0.8rem; }

/* ── Info Blocks ────────────────────────────────────────── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 20px; }
.info-block { background: var(--bg-card); padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.info-block h4 { font-size: 0.78rem; color: var(--red); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .1em; }
.info-block p  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ── Page Header ────────────────────────────────────────── */
.page-header {
  background: var(--navy); padding: 60px 0 48px;
  margin-top: var(--nav-height); position: relative; overflow: hidden;
}
.page-header::after { content:''; position:absolute; bottom:0; left:0; right:0; height:4px; background:var(--red); }
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); color: #fff; }
.page-header .eyebrow { color: rgba(255,255,255,0.55); }
.page-header p { font-size: 1rem; max-width: 520px; margin-top: 12px; color: rgba(255,255,255,0.72); }

/* ── Map ────────────────────────────────────────────────── */
.map-embed { width: 100%; height: 400px; border: 2px solid var(--border-dark); border-radius: var(--radius-lg); }

/* ── Forms ──────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-label { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-secondary); }
.form-input, .form-select, .form-textarea { background: #fff; border: 1px solid var(--border-dark); border-radius: var(--radius); color: var(--text-primary); padding: 10px 13px; font-family: var(--font-body); font-size: 16px; transition: border-color var(--transition); outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,58,92,0.1); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-checkbox-group { display: flex; align-items: flex-start; gap: 10px; }
.form-checkbox-group input[type="checkbox"] { margin-top: 3px; accent-color: var(--navy); }
.form-checkbox-label { font-size: 0.9rem; color: var(--text-secondary); }
.form-success { background: rgba(40,140,60,0.10); border: 1px solid rgba(40,140,60,0.3); border-radius: var(--radius-lg); padding: 24px; text-align: center; display: none; }
.form-success h3 { color: #1a7a30; font-size: 1.5rem; margin-bottom: 8px; }
.form-error-msg { font-size: 0.8rem; color: #c0392b; margin-top: 4px; display: none; }

/* ── Admin ──────────────────────────────────────────────── */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; flex-shrink: 0; background: var(--navy-dark); padding: 0 0 24px; display: flex; flex-direction: column; }
.admin-logo { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 10px; font-family: var(--font-logo); font-size: 1.05rem; color: #fff; line-height: 1.2; }
.admin-logo span { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 3px; }
.admin-nav-item { display: flex; align-items: center; gap: 10px; padding: 11px 20px; font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,0.5); cursor: pointer; transition: all var(--transition); border-left: 3px solid transparent; }
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,0.07); }
.admin-nav-item.active { color: #fff; border-left-color: var(--red); background: rgba(255,255,255,0.10); }
.admin-nav-icon { font-size: 16px; flex-shrink: 0; }
.admin-main { flex: 1; padding: 32px; overflow-y: auto; background: var(--bg-primary); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-header h2 { font-size: 1.8rem; color: var(--navy); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); padding: 10px 16px; text-align: left; border-bottom: 2px solid var(--border); background: var(--bg-surface); }
.admin-table td { padding: 14px 16px; font-size: 0.9rem; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(30,58,92,0.03); }
.admin-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-family: var(--font-body); font-size: 0.66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.badge-published { background: rgba(40,140,60,0.14); color: #1a7a30; }
.badge-draft     { background: rgba(100,100,100,0.1); color: var(--text-muted); }
.admin-action-btns { display: flex; gap: 6px; }
.admin-btn-sm { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius); cursor: pointer; transition: all var(--transition); border: 1px solid var(--border-dark); color: var(--navy); background: transparent; }
.admin-btn-sm:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.admin-btn-sm.danger:hover { background: var(--red); border-color: var(--red); color: #fff; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy-dark); }
.admin-login-box { background: #fff; border-radius: var(--radius-lg); padding: 48px 40px; width: 100%; max-width: 400px; text-align: center; box-shadow: var(--shadow-lg); }
.admin-login-logo { font-family: var(--font-logo); font-size: 1.8rem; color: var(--navy); margin-bottom: 20px; }
.admin-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; align-items: center; justify-content: center; }
.admin-modal-overlay.open { display: flex; }
.admin-modal { background: #fff; border-radius: var(--radius-lg); padding: 32px; width: 100%; max-width: 580px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.admin-modal h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 24px; }
.admin-modal-close { float: right; font-size: 1.4rem; cursor: pointer; color: var(--text-muted); line-height: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow); }
.stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-row.full { grid-template-columns: 1fr; }
.toggle-wrap { display: flex; align-items: center; gap: 10px; }
.toggle { position: relative; width: 40px; height: 22px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--bg-secondary); border: 1px solid var(--border-dark); border-radius: 11px; cursor: pointer; transition: background .2s; }
.toggle-slider:before { content:''; position:absolute; width:16px; height:16px; left:2px; top:2px; background: var(--text-muted); border-radius:50%; transition: transform .2s, background .2s; }
.toggle input:checked + .toggle-slider { background: rgba(30,58,92,0.15); border-color: var(--navy); }
.toggle input:checked + .toggle-slider:before { transform: translateX(18px); background: var(--navy); }
.export-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.reg-detail { font-size: .8rem; color: var(--text-muted); }

/* ── Chat Widget ────────────────────────────────────────── */
.chat-trigger { position: fixed; bottom: 24px; right: 24px; background: var(--navy); border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; box-shadow: 0 4px 20px rgba(30,58,92,0.35); transition: transform var(--transition), box-shadow var(--transition); z-index: 900; }
.chat-trigger:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(30,58,92,0.5); }
.chat-window { display: none; position: fixed; bottom: 92px; right: 24px; width: 360px; height: 500px; background: #fff; border: 1px solid var(--border-dark); border-radius: var(--radius-lg); overflow: hidden; z-index: 900; flex-direction: column; box-shadow: var(--shadow-lg); }
.chat-window.open { display: flex; }
.chat-header { padding: 12px 16px; background: var(--navy); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.chat-header-left { display: flex; align-items: center; gap: 10px; }
.chat-header-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.chat-header-info h4 { font-size: 0.9rem; text-transform: none; letter-spacing: 0; color: #fff; font-weight: 700; }
.chat-header-info p  { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.chat-close { font-size: 1.2rem; cursor: pointer; color: rgba(255,255,255,0.65); }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-surface); }
.chat-msg { max-width: 85%; padding: 10px 13px; border-radius: 12px; font-size: 0.88rem; line-height: 1.5; }
.chat-msg-bot { background: #fff; color: var(--text-primary); border-bottom-left-radius: 3px; align-self: flex-start; box-shadow: var(--shadow); }
.chat-msg-user { background: var(--navy); color: #fff; border-bottom-right-radius: 3px; align-self: flex-end; }
.chat-typing { display: flex; gap: 4px; align-items: center; padding: 10px 13px; background: #fff; border-radius: 12px; align-self: flex-start; box-shadow: var(--shadow); }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: typingDot 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%,60%,100%{opacity:.3} 30%{opacity:1} }
.chat-input-wrap { padding: 10px 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; flex-shrink: 0; background: #fff; }
.chat-input { flex: 1; background: var(--bg-surface); border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 9px 12px; color: var(--text-primary); font-size: 16px; outline: none; }
.chat-input:focus { border-color: var(--navy); }
.chat-send { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 9px 14px; font-size: 1rem; cursor: pointer; transition: background var(--transition); display: flex; align-items: center; }
.chat-send:hover { background: var(--navy-light); }

/* ── Footer ─────────────────────────────────────────────── */
.footer { background: var(--navy-dark); border-top: 4px solid var(--red); padding: 48px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand-logo { font-family: var(--font-logo); font-size: 1.7rem; color: #fff; margin-bottom: 4px; }
.footer-brand-sub { font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 12px; }
.footer-brand p { font-size: 0.86rem; color: rgba(255,255,255,0.52); max-width: 240px; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); font-size: 14px; font-weight: 700; transition: background var(--transition); }
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-col h5 { font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.86rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.76rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 0.76rem; color: rgba(255,255,255,0.38); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── Utility ────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-red  { color: var(--red); }
.text-navy { color: var(--navy); }
.mt-8  { margin-top: 8px; }   .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }  .mt-32 { margin-top: 32px; }
.loading-spinner { display: inline-block; width: 22px; height: 22px; border: 2px solid var(--border-dark); border-top-color: var(--navy); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 40px 24px; color: var(--text-muted); font-size: 0.9rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .events-layout { grid-template-columns: 1fr; }
  .depot-days-content { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .carshow-layout { grid-template-columns: 1fr !important; }
  .carshow-sidebar { position: static !important; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .hero { min-height: 60vh; }
  .footer-inner { grid-template-columns: 1fr; }
  .businesses-grid { grid-template-columns: 1fr; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .admin-wrap { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .chat-window {
    width: calc(100vw - 24px);
    right: 12px;
    left: 12px;
    bottom: 80px;
    height: calc(100vh - 120px);
    max-height: 520px;
  }
  .chat-trigger { bottom: 16px; right: 16px; }
}
