/* ============================================================
   Dog Friendly South East — Main Stylesheet
   ============================================================ */

:root {
  --sage:       #5C8A6B;
  --sage-d:     #3D6B4F;
  --sage-l:     #8FB89F;
  --sage-pale:  #EBF3EE;
  --cream:      #F8F6F0;
  --ink:        #1E1E1E;
  --dim:        #4A4A4A;
  --mid:        #888888;
  --warm:       #C4763A;
  --warm-pale:  #FDF3EA;
  --white:      #FFFFFF;
  --border:     #DDD8CE;
  --radius:     10px;
  --shadow:     0 2px 14px rgba(0,0,0,0.07);
  --shadow-h:   0 4px 24px rgba(0,0,0,0.13);
  --max-w:      1180px;
  --font:       'Poppins', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a   { color: var(--sage-d); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Typography ──────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--dim); }
p:last-child { margin-bottom: 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
  display: block;
}
.section-title   { margin-bottom: 14px; }
.section-sub     { font-size: 1.05rem; color: var(--dim); max-width: 580px; margin-bottom: 40px; }
.text-sage       { color: var(--sage-d); }
.text-center     { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sage-d);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo span { color: var(--warm); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--sage-d); }
.nav-cta {
  background: var(--sage);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--sage-d) !important; text-decoration: none !important; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--sage-d) 0%, var(--sage) 60%, var(--sage-l) 100%);
  color: var(--white);
  padding: 80px 0 72px;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.hero h1    { color: var(--white); margin-bottom: 18px; }
.hero p     { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 540px; margin-bottom: 32px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
}
.btn-white  { background: var(--white); color: var(--sage-d); }
.btn-white:hover { background: var(--cream); }
.btn-outline { border: 2px solid rgba(255,255,255,0.6); color: var(--white); }
.btn-outline:hover { border-color: var(--white); }
.btn-sage   { background: var(--sage); color: var(--white); }
.btn-sage:hover { background: var(--sage-d); }
.btn-warm   { background: var(--warm); color: var(--white); }
.btn-warm:hover { filter: brightness(1.1); }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--sage-pale);
  border-bottom: 1px solid var(--border);
  padding: 52px 0 44px;
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p  { font-size: 1.05rem; max-width: 600px; }
.breadcrumb   { font-size: 0.82rem; color: var(--mid); margin-bottom: 14px; }
.breadcrumb a { color: var(--sage); }

/* ── Search bar ─────────────────────────────────────────────*/
.search-bar {
  background: var(--white);
  border-radius: 10px;
  padding: 6px 6px 6px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 540px;
  box-shadow: var(--shadow-h);
  margin-top: 28px;
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
}
.search-bar input::placeholder { color: var(--mid); }
.search-bar button {
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 7px;
  padding: 10px 20px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ── Cards (category) ────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none !important;
  display: block;
}
.cat-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.cat-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.cat-card h3 { font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.cat-card p  { font-size: 0.82rem; color: var(--mid); margin: 0; }

/* ── Listing card ────────────────────────────────────────── */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.listing-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.listing-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--sage-pale), var(--sage-l));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  flex-shrink: 0;
}
.listing-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.listing-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.tag-beach   { background: #DBEEFF; color: #1A5C99; }
.tag-walk    { background: #DEF3E8; color: #1E6B40; }
.tag-pub     { background: #FCE8D8; color: #8B3A10; }
.tag-cafe    { background: #FFF3DC; color: #7A5000; }
.tag-hist    { background: #EDE8F7; color: #4A2D8A; }
.tag-nt      { background: #EAF0EC; color: #2F5C3A; }
.tag-garden  { background: #E8F5E0; color: #2F6010; }
.tag-accomm  { background: #FCEAEE; color: #8B1A2C; }
.tag-village { background: #F5EDE0; color: #6B4010; }
.tag-nature  { background: #E0F0E8; color: #1A5C34; }
.tag-np      { background: #E0EEE8; color: #0A4A30; }

.listing-name     { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
.listing-location { font-size: 0.85rem; color: var(--mid); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.listing-desc     { font-size: 0.9rem; color: var(--dim); margin-bottom: 14px; flex: 1; line-height: 1.6; }
.listing-policy   {
  font-size: 0.8rem;
  background: var(--sage-pale);
  color: var(--sage-d);
  border-left: 3px solid var(--sage);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
}
.listing-footer   { display: flex; justify-content: space-between; align-items: center; }
.stars { color: #E8A020; font-size: 0.9rem; letter-spacing: 1px; }
.listing-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-d);
  display: flex;
  align-items: center;
  gap: 4px;
}
.listing-link:hover { text-decoration: underline; }

/* ── County / location grid ──────────────────────────────── */
.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.county-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none !important;
  display: block;
}
.county-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.county-card h3 { color: var(--sage-d); margin-bottom: 6px; }
.county-card p  { font-size: 0.88rem; color: var(--mid); margin: 0; }
.county-count   { font-size: 0.78rem; font-weight: 600; color: var(--sage); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Stats bar ───────────────────────────────────────────── */
.stats-bar { background: var(--sage-d); color: var(--white); padding: 32px 0; }
.stats-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; }
.stat h3 { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.stat p  { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0; }

/* ── CTA banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--sage-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  margin: 60px 0;
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner p  { font-size: 1rem; max-width: 480px; margin: 0 auto 24px; }

/* ── Blog ─────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: var(--shadow-h); }
.blog-card-img { height: 160px; background: linear-gradient(135deg,var(--sage-pale),var(--sage-l)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: 0.78rem; color: var(--mid); margin-bottom: 8px; }
.blog-card h3 { font-size: 1rem; margin-bottom: 8px; }
.blog-card p  { font-size: 0.88rem; margin: 0; }
.blog-article { max-width: 740px; margin: 0 auto; }
.blog-article h2 { margin: 36px 0 12px; }
.blog-article h3 { margin: 28px 0 10px; }
.blog-article p, .blog-article li { font-size: 1.02rem; line-height: 1.75; color: var(--dim); }
.blog-article ul { padding-left: 20px; margin-bottom: 1rem; }
.blog-article li { margin-bottom: 6px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 60px 0 32px; margin-top: 0; }
.footer-grid { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--sage-l); }
.footer-about { font-size: 0.88rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.6); font-size: 0.88rem; text-decoration: none; }
.footer ul a:hover { color: var(--white); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 20px 24px 0; 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.82rem; margin: 0; }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--sage); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--mid); margin-top: 5px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-inner { gap: 28px; }
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 48px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .county-grid { grid-template-columns: 1fr; }
}
