/* ─── BLOG SHARED STYLES ──────────────────────────────── */
/* Design tokens from Tourism Parksville main site */
:root {
  --sand:    #f2e8d5;
  --sand2:   #e8d9bc;
  --tide:    #2c5f6e;
  --ocean:   #1a3f52;
  --deep:    #0d2533;
  --kelp:    #4a7c59;
  --coral:   #c96b3f;
  --mist:    #dce8ec;
  --shell:   #faf6ef;
  --gold:    #c9a84c;
  --text:    #2a2218;
  --textlt:  #5a5048;
  --white:   #ffffff;
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Cormorant Garamond', Georgia, serif;
  --ff-ui:      'DM Sans', sans-serif;
}

/* ─── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--shell);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── SCROLLBAR ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--tide); border-radius: 3px; }

/* ─── NAV ──────────────────────────────────────────────── */
.blog-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(13,37,51,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
}
.nav-logo-mark {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.1rem; font-weight: 900;
  color: var(--deep);
  letter-spacing: -0.03em;
}
.nav-logo-text {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-family: var(--ff-ui);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--deep);
}

/* ─── MOBILE NAV ───────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(13,37,51,0.98);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.mobile-menu-link {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  color: var(--white);
  transition: color 0.25s;
}
.mobile-menu-link:hover { color: var(--gold); }
.mobile-menu-cta {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  margin-top: 1rem;
  transition: all 0.25s;
}
.mobile-menu-cta:hover {
  background: var(--gold);
  color: var(--deep);
}

/* ─── BLOG HERO ────────────────────────────────────────── */
.blog-hero {
  padding: 8rem 3rem 4rem;
  background: linear-gradient(135deg, var(--deep) 0%, var(--ocean) 50%, var(--tide) 100%);
  color: var(--white);
  text-align: center;
}
.blog-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.blog-hero-label span {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.blog-hero h1 {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.blog-hero h1 em {
  font-style: italic;
  color: var(--coral);
}
.blog-hero p {
  font-family: var(--ff-body);
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto;
}

/* ─── BLOG LISTING GRID ───────────────────────────────── */
.blog-listing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.blog-listing h2 {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--ocean);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--mist);
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-tag {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.5rem;
}
.blog-card-title {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ocean);
  margin-bottom: 0.5rem;
}
.blog-card-excerpt {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--textlt);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.blog-card-meta {
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  color: var(--textlt);
  letter-spacing: 0.05em;
}
.blog-card-link {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tide);
  margin-top: 0.75rem;
  transition: color 0.25s;
}
.blog-card-link:hover {
  color: var(--coral);
}

/* ─── BLOG POST ARTICLE ───────────────────────────────── */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  color: var(--textlt);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.blog-article-meta .tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--mist);
  color: var(--tide);
  border-radius: 3px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.65rem;
}
.blog-article h2 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ocean);
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}
.blog-article h3 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tide);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}
.blog-article p {
  font-family: var(--ff-body);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.blog-article ul, .blog-article ol {
  font-family: var(--ff-body);
  font-size: 1.15rem;
  line-height: 1.8;
  margin: 0 0 1.25rem 1.5rem;
  color: var(--text);
}
.blog-article li {
  margin-bottom: 0.5rem;
}
.blog-article strong {
  color: var(--ocean);
}
.blog-article em {
  font-style: italic;
}
.blog-article blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(201,168,76,0.06);
  font-style: italic;
  color: var(--textlt);
}
.blog-article .blog-img {
  width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.blog-article .blog-img-caption {
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  color: var(--textlt);
  text-align: center;
  margin-top: -1.25rem;
  margin-bottom: 2rem;
}
.blog-article .info-box {
  background: var(--mist);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}
.blog-article .info-box h4 {
  font-family: var(--ff-ui);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tide);
  margin-bottom: 0.5rem;
}
.blog-article .info-box p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.blog-article .info-box p:last-child {
  margin-bottom: 0;
}

/* ─── BLOG CTA SECTION ────────────────────────────────── */
.blog-cta {
  background: linear-gradient(135deg, var(--deep) 0%, var(--ocean) 100%);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
}
.blog-cta h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.blog-cta p {
  font-family: var(--ff-body);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.blog-cta-btn {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  transition: all 0.25s;
}
.blog-cta-btn:hover {
  background: var(--gold);
  color: var(--deep);
}

/* ─── BLOG NAV BREADCRUMB ─────────────────────────────── */
.blog-breadcrumb {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  color: var(--textlt);
  letter-spacing: 0.05em;
}
.blog-breadcrumb a {
  color: var(--tide);
  transition: color 0.25s;
}
.blog-breadcrumb a:hover {
  color: var(--coral);
}

/* ─── RELATED POSTS ───────────────────────────────────── */
.related-posts {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.related-posts h3 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 1.5rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.related-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.related-card:hover {
  transform: translateY(-3px);
}
.related-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.related-card-body {
  padding: 1rem;
}
.related-card-title {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ocean);
  line-height: 1.3;
}

/* ─── FOOTER ──────────────────────────────────────────── */
.blog-footer {
  background: var(--deep);
  color: rgba(255,255,255,0.7);
  padding: 3rem;
}
.blog-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-brand-name span {
  color: var(--gold);
}
.footer-brand-tagline {
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-brand-desc {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.footer-col-title {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.25s;
}
.footer-links a:hover {
  color: var(--gold);
}
.blog-footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  transition: color 0.25s;
}
.footer-legal a:hover {
  color: var(--gold);
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .blog-nav {
    padding: 1rem 1.5rem;
  }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .blog-hero {
    padding: 7rem 1.5rem 3rem;
  }
  .blog-hero h1 {
    font-size: 2rem;
  }
  .blog-hero p {
    font-size: 1.05rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-article {
    padding: 2rem 1.5rem 3rem;
  }
  .blog-article h2 {
    font-size: 1.5rem;
  }
  .blog-article h3 {
    font-size: 1.2rem;
  }

  .blog-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}
