/* ── SHARED STYLES — traveljournal.co.zw ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #1E6B3C;
  --green-dark:   #124D2A;
  --green-light:  #2E9455;
  --green-pale:   #EDF5F0;
  --green-mid:    #C8DDD1;
  --forest:       #0D2B1A;
  --forest-mid:   #1A4D2E;
  --mint:         #7DEBA4;
  --mint-soft:    #4CAF72;
  --cream:        #F7FBF8;
  --white:        #FFFFFF;
  --text:         #0D2B1A;
  --text-mid:     #1A4D2E;
  --text-light:   #5A8A6E;
}

html { scroll-behavior: smooth; }
body { font-family: 'Crimson Pro', Georgia, serif; background: var(--cream); color: var(--text); overflow-x: hidden; }

body::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.35;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2.5rem; display: flex; align-items: center;
  justify-content: space-between; height: 68px;
  background: rgba(247,251,248,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,107,60,0.12); transition: box-shadow 0.3s;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.nav-logo-main { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; font-weight: 700; color: var(--forest); letter-spacing: -0.02em; }
.nav-logo-sub { font-family: 'DM Sans', sans-serif; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); margin-top: 1px; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a { font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest-mid); text-decoration: none; display: flex; align-items: center; gap: 0.3rem; position: relative; transition: color 0.2s; }
.nav-links a svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; fill: none; opacity: 0.65; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 1.5px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); background: var(--green); padding: 0.5rem 1.2rem; border-radius: 2px; text-decoration: none; transition: background 0.2s; display: flex; align-items: center; gap: 0.4rem; }
.nav-cta svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2; fill: none; }
.nav-cta:hover { background: var(--green-dark); }

/* FOOTER */
footer { background: var(--forest); color: rgba(255,255,255,0.7); padding: 4rem 2rem 2rem; margin-top: 5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 2rem; }
.footer-brand .nav-logo-main { color: var(--white); font-size: 1.5rem; }
.footer-brand .nav-logo-sub { color: var(--mint); }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.45); margin-top: 1rem; max-width: 240px; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mint); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--mint); }
.footer-social { display: flex; flex-direction: column; gap: 0.7rem; }
.social-link { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.social-link:hover { color: var(--mint); }
.social-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-family: 'DM Sans', sans-serif; font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: var(--mint); }

/* SHARED COMPONENTS */
.page-hero { position: relative; height: 52vh; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; margin-top: 68px; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,43,26,0.85) 0%, rgba(13,43,26,0.2) 60%); }
.page-hero-content { position: relative; z-index: 2; padding: 0 4rem 3rem; }
.page-hero-label { font-family: 'DM Sans', sans-serif; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--mint); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.page-hero-label::before { content: ''; display: inline-block; width: 20px; height: 1.5px; background: var(--mint); }
.page-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; }
.page-hero h1 em { font-style: italic; color: var(--mint); }

.section-wrap { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem; }
.section-label { font-family: 'DM Sans', sans-serif; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--green); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.section-label::before { content: ''; display: inline-block; width: 24px; height: 1.5px; background: var(--green); }
.section-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--forest); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 2.5rem; }

.btn-green { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); background: var(--green); padding: 0.8rem 1.8rem; border-radius: 2px; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s; }
.btn-green:hover { background: var(--green-dark); }
.btn-green svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; transition: transform 0.2s; }
.btn-green:hover svg { transform: translateX(3px); }
.btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); background: transparent; padding: 0.8rem 1.8rem; border-radius: 2px; border: 1.5px solid var(--green); text-decoration: none; cursor: pointer; transition: all 0.2s; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-outline svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ARTICLE CARDS */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.article-card { text-decoration: none; display: block; }
.article-card-img { height: 210px; overflow: hidden; border-radius: 3px; margin-bottom: 1rem; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-card-img img { transform: scale(1.06); }
.article-card-cat { font-family: 'DM Sans', sans-serif; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 0.4rem; display: block; }
.article-card-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; font-weight: 700; color: var(--forest); line-height: 1.3; margin-bottom: 0.5rem; transition: color 0.2s; }
.article-card:hover .article-card-title { color: var(--green); }
.article-card-excerpt { font-size: 0.92rem; color: var(--text-light); line-height: 1.65; margin-bottom: 0.8rem; }
.article-card-meta { font-family: 'DM Sans', sans-serif; font-size: 0.68rem; color: var(--text-light); display: flex; align-items: center; gap: 0.8rem; }
.article-card-meta span { display: flex; align-items: center; gap: 0.3rem; }
.article-card-meta svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .page-hero-content { padding: 0 2rem 2.5rem; }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ── NAV SEARCH ── */
.nav-search { display: flex; align-items: center; gap: 0.5rem; }
.nav-search-form { display: flex; align-items: center; background: var(--green-pale); border: 1.5px solid var(--green-mid); border-radius: 3px; overflow: hidden; transition: border-color 0.2s; }
.nav-search-form:focus-within { border-color: var(--green); }
.nav-search-form input { width: 0; padding: 0; border: none; background: transparent; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; color: var(--text); outline: none; transition: width 0.3s ease, padding 0.3s ease; }
.nav-search-form:focus-within input,
.nav-search-form input:not(:placeholder-shown) { width: 160px; padding: 0.45rem 0.7rem; }
.nav-search-btn { background: none; border: none; cursor: pointer; padding: 0.45rem 0.6rem; display: flex; align-items: center; color: var(--text-light); transition: color 0.2s; }
.nav-search-btn:hover { color: var(--green); }
.nav-search-btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 2; fill: none; }
@media (max-width: 900px) { .nav-search { display: none; } }
