/* Pembs Bikers — Stylesheet */
/* Dark motorcycle aesthetic: near-black base, orange accent, sharp condensed type */

:root {
  --black: #0a0a0b;
  --dark: #111114;
  --card: #18181d;
  --card-hover: #1f1f26;
  --border: #2a2a32;
  --border-bright: #3a3a46;
  --orange: #f97316;
  --orange-dim: #ea6c0e;
  --orange-glow: rgba(249, 115, 22, 0.15);
  --orange-glow-strong: rgba(249, 115, 22, 0.25);
  --yellow: #fbbf24;
  --text: #e8e8ee;
  --text-dim: #9999aa;
  --text-muted: #666677;
  --white: #ffffff;
  --green: #22c55e;
  --blue: #3b82f6;

  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,11,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 8px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  font-size: 22px;
  color: var(--orange);
  line-height: 1;
}

.brand-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
}

.brand-accent { color: var(--orange); }

.main-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  padding: 5px 10px;
  border-radius: var(--radius);
  transition: color 0.18s, background 0.18s;
}

.main-nav a:hover {
  color: var(--orange);
  background: var(--orange-glow);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
}

.header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  gap: 12px;
}

.header-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-style: italic;
}

.last-updated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.updated-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(249,115,22,0.08) 0%, transparent 70%),
    linear-gradient(180deg, #0d0d10 0%, var(--black) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f97316' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-accent { color: var(--orange); }

.hero-sub {
  max-width: 580px;
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.18s, transform 0.15s;
}

.cta-btn:hover {
  background: var(--yellow);
  transform: translateY(-2px);
}

/* ── DAILY FEATURE ── */
.daily-feature {
  background: linear-gradient(135deg, #13131a 0%, #1a1520 100%);
  border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--orange);
  padding: 40px 0;
}

.daily-inner {
  max-width: 820px;
}

.daily-label {
  display: inline-block;
  padding: 3px 12px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: 12px;
}

.daily-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.daily-body {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── SECTIONS ── */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-muted);
}

/* ── ROUTE GRID ── */
.route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.route-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.route-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  opacity: 0;
  transition: opacity 0.2s;
}

.route-card:hover {
  background: var(--card-hover);
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--orange);
}

.route-card:hover::before { opacity: 1; }

.route-type-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--orange-glow);
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: 10px;
}

.route-card-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.route-card-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.route-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.route-stat {
  display: flex;
  flex-direction: column;
}

.route-stat-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.route-stat-key {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route-difficulty {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.difficulty-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.difficulty-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
}

.route-more-hint {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  padding: 20px;
  overflow-y: auto;
}

.modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }

.modal-box {
  background: var(--dark);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 740px;
  padding: 36px 36px 40px;
  position: relative;
  margin: auto;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--border);
  border: none;
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.modal-close:hover { background: var(--orange); color: var(--black); }

.modal-route-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--orange);
  color: var(--black);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-bottom: 12px;
}

.modal-route-name {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.modal-stats-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.modal-stat {
  display: flex;
  flex-direction: column;
}

.modal-stat-val {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.modal-stat-key {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.modal-desc {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-highlights {
  margin-bottom: 20px;
}

.modal-highlights h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.modal-highlights ul {
  list-style: none;
}

.modal-highlights li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 14px;
  color: var(--text-dim);
}

.modal-highlights li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--orange);
}

.modal-tips {
  background: var(--orange-glow);
  border-left: 3px solid var(--orange);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 24px;
}

.modal-tips-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}

.modal-tips-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.modal-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.18s, color 0.18s;
}

.modal-map-btn:hover {
  background: var(--orange);
  color: var(--black);
}

/* ── CAFES ── */
.cafes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.cafe-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.cafe-card:hover {
  border-color: var(--border-bright);
  background: var(--card-hover);
}

.cafe-type-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cafe-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.cafe-location {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cafe-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.cafe-star {
  color: var(--orange);
  font-size: 14px;
}

.cafe-star.empty { color: var(--border-bright); }

.cafe-get {
  background: var(--orange-glow);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 12px;
}

.cafe-get-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 2px;
}

.cafe-get-text {
  font-size: 13px;
  color: var(--text);
}

.cafe-notes {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── SHOPS ── */
.shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.shop-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s;
}

.shop-card:hover { border-color: var(--border-bright); }

.shop-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.shop-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.shop-location {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.shop-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.shop-brand-tag {
  padding: 2px 8px;
  background: var(--border);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.shop-services {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
  line-height: 1.5;
}

.shop-notes {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 10px;
}

.shop-phone {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}

.shop-phone:hover { color: var(--yellow); }

/* ── EVENTS ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.event-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}

.event-card:hover {
  border-color: var(--border-bright);
  background: var(--card-hover);
}

.event-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.event-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}

.event-meta span {
  font-size: 13px;
  color: var(--text-muted);
}

.event-meta strong { color: var(--orange); font-weight: 600; }

.event-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 12px;
}

.event-website {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── COUNTIES ── */
.counties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.county-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color 0.2s, background 0.2s;
}

.county-card:hover {
  border-color: var(--orange);
  background: var(--card-hover);
}

.county-name {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.county-tagline {
  font-size: 13px;
  font-style: italic;
  color: var(--orange);
  margin-bottom: 14px;
}

.county-distance {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.county-roads {
  list-style: none;
  margin-bottom: 14px;
}

.county-roads li {
  padding: 4px 0 4px 16px;
  position: relative;
  font-size: 13px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.county-roads li:last-child { border-bottom: none; }

.county-roads li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 11px;
}

.county-highlight {
  background: var(--orange-glow);
  border-left: 3px solid var(--orange);
  padding: 10px 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}

/* ── FOOTER ── */
.site-footer {
  background: #08080a;
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-text {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 500px;
}

.footer-last-updated {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
  font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    border-bottom: 2px solid var(--orange);
    padding: 12px 20px 16px;
    gap: 0;
    z-index: 200;
  }
  .main-nav.open a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; position: relative; }

  .hero { padding: 60px 0 50px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 32px; }

  .section { padding: 56px 0; }

  .modal-box { padding: 24px 20px 28px; }
  .modal-route-name { font-size: 28px; }
}

@media (max-width: 480px) {
  .route-grid,
  .cafes-grid,
  .shops-grid,
  .events-grid,
  .counties-grid { grid-template-columns: 1fr; }

  .header-strip { flex-direction: column; align-items: flex-start; gap: 4px; }
}
