/* My Sweet Pea's Treasures — Handmade Gifts & Vintage Finds */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lora:wght@400;500&display=swap');

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

:root {
  --lavender: #b8a9c9;
  --lavender-dark: #7b6992;
  --cream: #fdf8f0;
  --blush: #f2d7d5;
  --sage: #b2c9ad;
  --rose: #c97b84;
  --charcoal: #3d3d3d;
  --white: #ffffff;
  --grey-100: #faf7f5;
  --grey-500: #777;
}

body {
  font-family: 'Lora', Georgia, serif;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--cream);
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
header {
  background: var(--white);
  border-bottom: 2px solid var(--blush);
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--lavender-dark);
  text-decoration: none;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--grey-500);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--rose);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--blush) 100%);
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--lavender-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  color: var(--grey-500);
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
}

/* Sections */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background: var(--white);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--lavender-dark);
  margin-bottom: 1.25rem;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1rem;
  color: var(--grey-500);
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Cards */
.card {
  background: var(--cream);
  border: 1px solid var(--blush);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(184,169,201,0.2);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
}

.card-body h3 {
  margin-bottom: 0.4rem;
}

.card-body p {
  font-size: 0.92rem;
}

/* Tag / label */
.tag {
  display: inline-block;
  background: var(--lavender);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: var(--rose);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--lavender-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--sage);
  color: var(--sage);
}

.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
}

/* Feature Image */
.feature-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* Article */
.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-content img {
  width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
}

.article-content h2 {
  margin-top: 2.5rem;
}

/* Footer */
footer {
  background: var(--lavender-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.75rem;
}

footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--blush);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.82rem; }
  header nav { flex-wrap: wrap; gap: 0.75rem; }
}

@media (max-width: 480px) {
  .nav-links { gap: 0.6rem; }
  .brand { font-size: 1.15rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.brand-icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; margin-right: 6px; }
