/* ============================================
   livingstoneguide.com — Main Stylesheet
   ============================================ */

:root {
  --green-dark:   #1a5c48;
  --green-mid:    #2d8c6e;
  --green-light:  #e8f5f0;
  --amber:        #e07b2a;
  --amber-light:  #fdf3e8;
  --text-dark:    #1e2a24;
  --text-mid:     #4a5c54;
  --text-light:   #7a8c84;
  --white:        #ffffff;
  --grey-light:   #f4f6f5;
  --border:       #dde8e4;
  --max-width:    1100px;
  --radius:       8px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Georgia', serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  line-height: 1.25;
  color: var(--text-dark);
}
h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.75rem; margin-top: 2rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; margin-top: 1.5rem; }
p  { margin-bottom: 1.25rem; }
ul, ol { margin: 0 0 1.25rem 1.5rem; }
li { margin-bottom: 0.4rem; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Header / Nav ---- */
header {
  background: var(--green-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--amber); }
nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-family: sans-serif;
  text-decoration: none;
  transition: color 0.2s;
}
nav ul li a:hover { color: var(--white); text-decoration: none; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: white; margin: 5px 0; transition: 0.3s;
}

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--green-dark); padding: 1rem 1.25rem; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0.75rem; }
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: white;
  padding: 5rem 1.25rem 4rem;
  text-align: center;
}
.hero h1 { color: white; font-size: 2.6rem; margin-bottom: 1rem; }
.hero p  { color: rgba(255,255,255,0.88); font-size: 1.15rem; max-width: 620px; margin: 0 auto 2rem; }
.hero-cta {
  display: inline-block;
  background: var(--amber);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: sans-serif;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}
.hero-cta:hover { background: #c86820; color: white; text-decoration: none; }

/* ---- Cards Grid ---- */
.section { padding: 3.5rem 1.25rem; }
.section-alt { background: var(--grey-light); }
.section-title { text-align: center; font-size: 1.9rem; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--text-mid); margin-bottom: 2.5rem; font-family: sans-serif; font-size: 0.97rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-3px); }
.card-img { width: 100%; height: 190px; object-fit: cover; background: var(--green-light); }
.card-img-placeholder {
  width: 100%; height: 190px;
  background: linear-gradient(135deg, var(--green-light), var(--border));
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 2rem;
}
.card-body { padding: 1.25rem; }
.card-tag {
  display: inline-block; font-size: 0.75rem; font-family: sans-serif;
  background: var(--green-light); color: var(--green-dark);
  padding: 0.2rem 0.6rem; border-radius: 20px; margin-bottom: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.card-body h3 { font-size: 1.1rem; margin-top: 0; margin-bottom: 0.4rem; }
.card-body p  { font-size: 0.93rem; color: var(--text-mid); margin-bottom: 0.75rem; line-height: 1.5; }
.card-link { font-family: sans-serif; font-size: 0.9rem; font-weight: bold; color: var(--green-mid); }

/* ---- Article / Content Pages ---- */
.article-header {
  background: var(--green-dark);
  color: white;
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
}
.article-header h1 { color: white; font-size: 2.2rem; max-width: 800px; margin: 0 auto 0.75rem; }
.article-header .meta {
  color: rgba(255,255,255,0.7); font-size: 0.88rem;
  font-family: sans-serif; margin-bottom: 0;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.article-body h2 { border-bottom: 2px solid var(--green-light); padding-bottom: 0.4rem; }

/* Insider box */
.insider-box {
  background: var(--amber-light);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.97rem;
}
.insider-box strong { color: var(--amber); font-family: sans-serif; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.4rem; }

/* Tip box */
.tip-box {
  background: var(--green-light);
  border-left: 4px solid var(--green-mid);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.97rem;
}
.tip-box strong { color: var(--green-dark); font-family: sans-serif; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.4rem; }

/* CTA Button */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-family: sans-serif;
  font-weight: bold;
  font-size: 0.97rem;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary { background: var(--amber); color: white; }
.btn-primary:hover { background: #c86820; color: white; text-decoration: none; }
.btn-secondary { background: var(--green-mid); color: white; }
.btn-secondary:hover { background: var(--green-dark); color: white; text-decoration: none; }

/* Affiliate CTA block */
.affiliate-cta {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.affiliate-cta p { margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--text-mid); }

/* ---- Footer ---- */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 1.25rem;
  font-family: sans-serif;
  font-size: 0.88rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { max-width: 340px; }
.footer-brand strong { color: white; display: block; margin-bottom: 0.4rem; font-size: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: white; text-decoration: none; }
.footer-bottom {
  max-width: var(--max-width); margin: 1.5rem auto 0;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
