/* padelvenues.uk */
:root {
  --ink: #101828;
  --ink-2: #475467;
  --line: #e4e7ec;
  --bg: #f8fafc;
  --card: #ffffff;
  --accent: #0f9d58;
  --accent-2: #0b7a44;
  --accent-soft: #e7f5ee;
  --ball: #d8ff3e;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* header */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: #0b1220;
  position: sticky; top: 0; z-index: 1200;
}
.brand { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: .2px; display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand .accent { color: var(--ball); }
.brand-ball {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4ffb0, var(--ball) 60%, #9dbf1e);
  box-shadow: 0 0 12px rgba(216,255,62,.5);
}
.head-nav a { color: #cbd5e1; margin-left: 22px; font-weight: 500; }
.head-nav a:hover { color: #fff; text-decoration: none; }

/* hero */
.hero {
  background: linear-gradient(160deg, #0b1220 0%, #12321f 70%, #17512f 100%);
  color: #fff;
  padding: 54px 28px 64px;
  text-align: center;
}
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); margin: 0 0 12px; font-weight: 800; }
.hero h1 em { color: var(--ball); font-style: normal; }
.hero p { max-width: 640px; margin: 0 auto 8px; color: #cde3d5; font-size: 1.06rem; }
.hero .stats { display: flex; gap: 34px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.hero .stat b { display: block; font-size: 1.9rem; color: var(--ball); }
.hero .stat span { color: #a8c5b2; font-size: .9rem; }

/* map */
.map-wrap { max-width: 1280px; margin: -34px auto 0; padding: 0 20px; position: relative; }
#map {
  height: 560px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16,24,40,.14);
  z-index: 1;
}
.leaflet-container { font: inherit; }
.venue-popup { min-width: 230px; }
.venue-popup .vp-name { font-weight: 700; font-size: 1.02rem; margin: 0 0 2px; }
.venue-popup .vp-loc { color: var(--ink-2); font-size: .88rem; margin: 0 0 8px; }
.venue-popup .vp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 9px; }
.venue-popup .tag { background: var(--accent-soft); color: var(--accent-2); border-radius: 20px; padding: 2px 9px; font-size: .76rem; font-weight: 600; }
.venue-popup .vp-link { font-weight: 600; }

/* sections */
.section { max-width: 1280px; margin: 46px auto; padding: 0 24px; }
.section h2 { font-size: 1.5rem; margin: 0 0 6px; }
.section .sub { color: var(--ink-2); margin: 0 0 18px; }

/* search */
.searchbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.searchbar input {
  flex: 1; min-width: 240px;
  padding: 11px 16px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .98rem;
}
.searchbar input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.searchbar select { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }

/* venue grid */
.venue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.vcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow .15s, transform .15s;
}
.vcard:hover { box-shadow: 0 10px 24px rgba(16,24,40,.10); transform: translateY(-2px); }
.vcard .vc-name { font-weight: 700; font-size: 1.03rem; }
.vcard .vc-loc { color: var(--ink-2); font-size: .88rem; }
.vcard .vc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.vcard .chip { background: var(--accent-soft); color: var(--accent-2); border-radius: 20px; padding: 2px 10px; font-size: .78rem; font-weight: 600; }
.vcard .chip.muted { background: #f2f4f7; color: var(--ink-2); }
.vcard .vc-price { margin-top: 6px; font-size: .92rem; }
.vcard .vc-price b { color: var(--accent-2); }

/* county index */
.county-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.county-grid a {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; font-weight: 500; display: flex; justify-content: space-between;
}
.county-grid a:hover { border-color: var(--accent); text-decoration: none; }
.county-grid .n { color: var(--ink-2); font-size: .86rem; }

/* venue page */
.crumbs { max-width: 880px; margin: 22px auto 0; padding: 0 24px; font-size: .88rem; color: var(--ink-2); }
.vpage { max-width: 880px; margin: 0 auto 60px; padding: 0 24px; }
.vpage h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 8px 0 2px; }
.vpage .loc { color: var(--ink-2); font-size: 1.02rem; margin: 0 0 20px; }
.vpage .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 20px 0; }
.vpage .info-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.vpage .info-card .k { font-size: .78rem; text-transform: uppercase; letter-spacing: .6px; color: var(--ink-2); font-weight: 600; }
.vpage .info-card .val { font-size: 1.12rem; font-weight: 700; margin-top: 3px; }
#venue-map { height: 340px; border-radius: var(--radius); border: 1px solid var(--line); margin: 22px 0; }

/* vote section */
.vote-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 34px; }
.vote-box h2 { margin: 0 0 4px; font-size: 1.3rem; }
.vote-box .sub { color: var(--ink-2); margin: 0 0 16px; font-size: .94rem; }
.stars { display: flex; gap: 4px; margin: 6px 0 14px; }
.stars button {
  font-size: 1.7rem; background: none; border: none; cursor: pointer;
  color: #d0d5dd; padding: 0 2px; transition: color .1s, transform .1s;
}
.stars button.on { color: #f5b301; }
.stars button:hover { transform: scale(1.15); }
.vote-form { display: grid; gap: 10px; }
.vote-form input, .vote-form textarea {
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit;
}
.vote-form input:focus, .vote-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.vote-form textarea { min-height: 90px; resize: vertical; }
.rec-row { display: flex; gap: 10px; align-items: center; }
.rec-row label { font-size: .92rem; color: var(--ink-2); }
.btn {
  background: var(--accent); color: #fff; border: none; border-radius: 10px;
  padding: 12px 26px; font: inherit; font-weight: 700; cursor: pointer; justify-self: start;
}
.btn:hover { background: var(--accent-2); }
.btn:disabled { opacity: .6; cursor: wait; }
.msg { font-size: .92rem; margin-top: 8px; min-height: 1.2em; }
.msg.ok { color: var(--accent-2); }
.msg.err { color: #b42318; }

/* reviews list */
.reviews { margin-top: 26px; }
.review { border-top: 1px solid var(--line); padding: 14px 0; }
.review .rhead { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.review .rname { font-weight: 700; }
.review .rdate { color: var(--ink-2); font-size: .82rem; }
.review .rstars { color: #f5b301; letter-spacing: 2px; font-size: .9rem; }
.review .rtext { margin: 6px 0 0; color: #344054; }

/* footer */
.site-foot { background: #0b1220; color: #98a2b3; padding: 30px 28px; text-align: center; font-size: .9rem; }
.site-foot .fine { font-size: .8rem; color: #667085; max-width: 720px; margin: 8px auto 0; }

@media (max-width: 640px) {
  .site-head { padding: 12px 16px; }
  .head-nav a { margin-left: 14px; }
  #map { height: 420px; }
  .hero { padding: 40px 16px 50px; }
}
