/* ============================================
   Blissful Future — Main Stylesheet
   ============================================ */

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

:root {
  --cream: #F6F0E4;
  --cream-warm: #EDE5D4;
  --sage: #5E6E50;
  --sage-light: #6B7F5C;
  --sage-dark: #4A5840;
  --text-dark: #2C3325;
  --text-body: #3D4636;
  --gold-soft: #C8B68E;
  --white: #FDFBF7;
  --border-subtle: rgba(94, 110, 80, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  background: var(--sage);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(44, 51, 37, 0.15);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--gold-soft); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: 0.3s;
}

/* ── Page header (blog index, about, privacy) ── */
.page-header {
  background: var(--sage);
  padding: 3rem 2rem;
  text-align: center;
}
.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.page-header p {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(246, 240, 228, 0.7);
}

/* ── Blog preview (homepage cards) ── */
.blog-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.blog-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}
.blog-section-rule {
  width: 40px;
  height: 2px;
  background: var(--sage-light);
  margin: 0 auto 2.5rem;
  border: none;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.blog-card:hover {
  box-shadow: 0 4px 20px rgba(44, 51, 37, 0.08);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage-light);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.blog-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}
.blog-card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
  text-decoration: none;
}
.blog-card-link:hover { text-decoration: underline; }

/* ── Blog Post (single page) ── */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}
.blog-post-hero {
  margin: 0 -2rem 2.5rem;
  max-height: 420px;
  overflow: hidden;
}
.blog-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-post-content {
  max-width: 680px;
  margin: 0 auto;
}
.blog-post-category {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage-light);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.blog-post h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.blog-post-subtitle {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--sage);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}
.blog-post-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--sage-light);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.blog-post-body {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-body);
}
.blog-post-body p {
  margin-bottom: 1.3rem;
}
.blog-post-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2.5rem 0 0.8rem;
}
.blog-post-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2rem 0 0.6rem;
}
.blog-post-body blockquote {
  border-left: 3px solid var(--sage-light);
  padding: 0.8rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--sage);
  background: var(--white);
}
.blog-post-body a {
  color: var(--sage);
  text-decoration: underline;
}
.blog-post-body img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--border-subtle);
}
.blog-post-body strong {
  color: var(--text-dark);
}
.blog-post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}
.blog-back-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage);
  text-decoration: none;
}
.blog-back-link:hover { text-decoration: underline; }

/* ── Footer ── */
.footer {
  background: var(--sage-dark);
  padding: 3rem 2rem 2rem;
  color: rgba(246, 240, 228, 0.75);
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.8rem;
}
.footer-brand span { color: var(--gold-soft); }
.footer p { line-height: 1.65; }
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.4rem; }
.footer ul a {
  color: rgba(246, 240, 228, 0.75);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 240, 228, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(246, 240, 228, 0.5);
}
.footer-bottom a {
  color: rgba(246, 240, 228, 0.5);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--cream); }
.footer-leaf {
  color: var(--gold-soft);
  font-size: 0.9rem;
}

/* ── Cookie banner ── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--sage-dark);
  padding: 1.3rem 2rem;
  box-shadow: 0 -4px 20px rgba(44, 51, 37, 0.2);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cookie-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(246, 240, 228, 0.85);
  line-height: 1.5;
  flex: 1;
}
.cookie-text a {
  color: var(--gold-soft);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.65rem 1.4rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-accept {
  background: var(--cream);
  color: var(--sage-dark);
}
.cookie-accept:hover { background: var(--cream-warm); }
.cookie-decline {
  background: transparent;
  color: rgba(246, 240, 228, 0.7);
  border: 1px solid rgba(246, 240, 228, 0.3);
}
.cookie-decline:hover {
  border-color: rgba(246, 240, 228, 0.6);
  color: var(--cream);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--sage);
    padding: 1.5rem 2rem;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(44, 51, 37, 0.2);
  }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cookie-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
