/* ═══════════════════════════════════════════════
   NATURE BLOG — Stylesheet
   Palette: Forest | Sage | Sand | Parchment | Earth
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --forest:    #2D4A2D;
  --forest-light: #3D6B3D;
  --sage:      #7A9E7E;
  --sage-light:#A8C5AB;
  --sand:      #C9B99A;
  --sand-light:#DDD0BB;
  --parchment: #F5F0E8;
  --parchment-dark: #EDE7D8;
  --earth:     #6B4F3A;
  --earth-light: #8C6E56;
  --text-dark: #2A2218;
  --text-mid:  #4A3F35;
  --text-soft: #7A6E62;
  --white:     #FEFCF8;
  --radius:    4px;
  --shadow:    0 2px 20px rgba(45,74,45,0.08);
  --shadow-hover: 0 8px 32px rgba(45,74,45,0.14);
  --transition: 0.3s ease;
}

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

/* ── Typography ─────────────────────────────── */
h1,h2,h3,h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--forest);
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 300; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 400; }
h4 { font-size: 1.2rem; font-weight: 500; }
p  { color: var(--text-mid); line-height: 1.85; margin-bottom: 1.2rem; }

/* ── Layout ─────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 740px; margin: 0 auto; padding: 0 2rem; }

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122,158,126,0.2);
  padding: 0 2rem;
  transition: var(--transition);
}
.nav__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 500;
  color: var(--forest);
  display: flex; align-items: center; gap: 0.5rem;
}
.nav__logo svg { width: 22px; height: 22px; }
.nav__links {
  display: flex; align-items: center; gap: 2.2rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mid); font-weight: 700;
  position: relative; padding-bottom: 2px;
  transition: color var(--transition);
}
.nav__links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--sage);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav__links a:hover, .nav__links a.active {
  color: var(--forest);
}
.nav__links a:hover::after, .nav__links a.active::after {
  transform: scaleX(1);
}
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav__hamburger span {
  width: 24px; height: 2px; background: var(--forest);
  transition: var(--transition);
}
.nav__mobile {
  display: none; flex-direction: column; gap: 0;
  background: var(--parchment);
  border-top: 1px solid var(--sand-light);
  padding: 1rem 0;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 0.75rem 2rem;
  font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-mid); font-weight: 700;
}
.nav__mobile a:hover { color: var(--forest); background: var(--parchment-dark); }

/* ── Hero ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 2rem 80px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, #e8ede4 0%, var(--parchment) 50%, #f0ead8 100%);
}
.hero__leaves {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.hero__text .eyebrow {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero__text .eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--sage);
}
.hero__title {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--forest);
}
.hero__title em { font-style: normal; color: var(--earth); }
.hero__desc {
  font-size: 1.1rem; color: var(--text-soft); line-height: 1.9;
  max-width: 480px; margin-bottom: 2.5rem;
}
.hero__cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.hero__portrait {
  position: relative;
}
.hero__portrait-frame {
  position: relative; border-radius: 2px; overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 60px rgba(45,74,45,0.15);
}
.hero__portrait-frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__portrait-accent {
  position: absolute; bottom: -20px; left: -20px;
  width: 100px; height: 100px; z-index: -1;
  border: 2px solid var(--sage); border-radius: 2px;
}
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem; color: var(--text-soft); font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; border-radius: var(--radius);
  transition: all var(--transition);
}
.btn--primary {
  background: var(--forest); color: var(--white);
}
.btn--primary:hover {
  background: var(--forest-light);
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(45,74,45,0.25);
}
.btn--outline {
  background: transparent; color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn--outline:hover {
  background: var(--forest); color: var(--white);
  transform: translateY(-1px);
}
.btn--sage {
  background: var(--sage); color: var(--white);
}
.btn--sage:hover {
  background: var(--forest); transform: translateY(-1px);
}

/* ── Section Divider ────────────────────────── */
.divider {
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 0; gap: 1rem;
}
.divider svg { opacity: 0.35; }
.divider__line {
  flex: 1; max-width: 80px; height: 1px; background: var(--sand);
}

/* ── Section Header ─────────────────────────── */
.section-header {
  text-align: center; margin-bottom: 3.5rem;
}
.section-header .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 0.75rem;
  display: block;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p {
  color: var(--text-soft); font-size: 1rem; max-width: 480px; margin: 0 auto;
}

/* ── Bio Section ────────────────────────────── */
.bio-section {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--sand-light);
  border-bottom: 1px solid var(--sand-light);
}
.bio-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: center;
}
.bio-image {
  position: relative;
}
.bio-image img {
  border-radius: 2px; width: 100%;
  box-shadow: var(--shadow);
}
.bio-image__badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--forest); color: var(--white);
  padding: 1rem 1.25rem; border-radius: 2px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem; font-style: italic; text-align: center; line-height: 1.4;
}
.bio-text .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 0.75rem; display: block;
}
.bio-text h2 { margin-bottom: 1.5rem; }
.bio-text p { margin-bottom: 1.1rem; font-size: 1.02rem; }
.bio-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem;
}
.bio-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--parchment); border: 1px solid var(--sand-light);
  color: var(--earth); font-size: 0.8rem; padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

/* ── Featured Posts ─────────────────────────── */
.featured-section {
  padding: 5rem 0;
  background: var(--parchment);
}
.featured-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem;
}
.post-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all var(--transition); cursor: pointer;
  display: flex; flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
}
.post-card__image {
  aspect-ratio: 16/9; overflow: hidden;
}
.post-card--large .post-card__image { aspect-ratio: 4/3; }
.post-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card__image img { transform: scale(1.04); }
.post-card__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.post-card__cat {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.post-card__cat::before {
  content: ''; width: 18px; height: 1px; background: var(--sage);
}
.post-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; color: var(--forest);
  margin-bottom: 0.75rem; line-height: 1.3;
}
.post-card--large .post-card__title { font-size: 1.9rem; }
.post-card__excerpt {
  color: var(--text-soft); font-size: 0.92rem; line-height: 1.7;
  flex: 1; margin-bottom: 1.25rem;
}
.post-card__meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.78rem; color: var(--text-soft);
  padding-top: 1rem; border-top: 1px solid var(--parchment-dark);
}
.post-card__meta-read {
  margin-left: auto; color: var(--earth); font-weight: 700;
  letter-spacing: 0.05em;
}
.featured-side {
  display: flex; flex-direction: column; gap: 2rem;
}
.featured-side .post-card { flex-direction: row; }
.featured-side .post-card .post-card__image {
  width: 130px; min-width: 130px; aspect-ratio: auto; height: auto;
}
.featured-side .post-card .post-card__body { padding: 1.2rem; }
.featured-side .post-card .post-card__title { font-size: 1.15rem; }

/* ── Blog Listing ───────────────────────────── */
.listing-section {
  padding: 5rem 0;
  background: var(--white);
}
.listing-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3rem;
  justify-content: center;
}
.filter-btn {
  background: transparent; border: 1.5px solid var(--sand);
  color: var(--text-soft); padding: 0.4rem 1.1rem;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-family: 'Lato', sans-serif; font-weight: 700;
  border-radius: 20px; cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--forest); border-color: var(--forest); color: var(--white);
}
.listing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}

/* ── Post Detail ────────────────────────────── */
.post-hero {
  padding: 140px 2rem 60px;
  background: linear-gradient(160deg, #e8ede4 0%, var(--parchment) 100%);
  text-align: center;
}
.post-hero .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 1rem; display: block;
}
.post-hero h1 { max-width: 700px; margin: 0 auto 1.5rem; font-style: italic; }
.post-hero__meta {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; color: var(--text-soft); font-size: 0.85rem;
  flex-wrap: wrap;
}
.post-cover {
  width: 100%; max-width: 900px; margin: 0 auto;
  aspect-ratio: 16/7; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-content-wrap { padding: 4rem 0 6rem; }
.post-content {
  font-family: 'Lato', sans-serif;
  font-size: 1.08rem; line-height: 1.95; color: var(--text-mid);
}
.post-content p { margin-bottom: 1.6rem; }
.post-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 400; color: var(--forest);
  margin: 2.5rem 0 1rem;
}
.post-content blockquote {
  border-left: 3px solid var(--sage); margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-style: italic; color: var(--earth);
  line-height: 1.6;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; }
.post-tag {
  background: var(--parchment); border: 1px solid var(--sand-light);
  color: var(--text-soft); font-size: 0.78rem; padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

/* ── Contact Page ───────────────────────────── */
.contact-section {
  padding: 5rem 0 6rem;
  background: var(--parchment);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start;
}
.contact-info .eyebrow {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 0.75rem; display: block;
}
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info p { font-size: 1rem; margin-bottom: 1.5rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.1rem; font-size: 0.92rem; color: var(--text-soft);
}
.contact-detail svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.contact-form-wrap {
  background: var(--white); padding: 2.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; color: var(--text-mid); margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--sand-light); border-radius: var(--radius);
  background: var(--parchment); color: var(--text-dark);
  font-family: 'Lato', sans-serif; font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122,158,126,0.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-success {
  text-align: center; padding: 2rem;
  color: var(--forest); font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-style: italic; display: none;
}

/* ── Page Header (inner pages) ──────────────── */
.page-header {
  padding: 130px 2rem 60px;
  background: linear-gradient(160deg, #e8ede4 0%, var(--parchment) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-header h1 { margin-bottom: 0.75rem; font-style: italic; }
.page-header p { color: var(--text-soft); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ── Footer ─────────────────────────────────── */
.footer {
  background: var(--forest); color: rgba(255,255,255,0.75);
  padding: 4rem 2rem 2rem;
}
.footer__inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; color: var(--white);
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer__brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer__col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sage-light); font-weight: 700; margin-bottom: 1rem;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 0.6rem; }
.footer__col ul a {
  color: rgba(255,255,255,0.65); font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--white); }
.footer__bottom {
  max-width: 1100px; margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 1rem;
}

/* ── Leaf SVG Decorations ────────────────────── */
.leaf-decoration {
  opacity: 0.07; position: absolute; pointer-events: none;
}

/* ── Notification toast ─────────────────────── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  background: var(--forest); color: var(--white);
  padding: 0.9rem 1.5rem; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 700;
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── Loading ─────────────────────────────────── */
.loading {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 5rem 2rem; gap: 1rem;
  color: var(--text-soft);
}
.loading__spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--sand-light);
  border-top-color: var(--sage);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; gap: 3rem; }
  .hero__portrait { display: none; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-side .post-card { flex-direction: column; }
  .featured-side .post-card .post-card__image { width: 100%; min-width: 0; aspect-ratio: 16/9; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .bio-grid { grid-template-columns: 1fr; gap: 2rem; }
  .bio-image__badge { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .listing-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
}
