/* Bloom Maternity - bloommaternity.com.au */
/* Brand Palette: Soft sage, warm cream, dusty rose, charcoal */

:root {
  --sage: #A8B5A2;
  --sage-light: #C8D4C3;
  --sage-dark: #7A8C74;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --rose: #D4A5A5;
  --rose-light: #E8C8C8;
  --charcoal: #3A3A3A;
  --charcoal-light: #5A5A5A;
  --white: #FFFFFF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.875rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--sage-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--charcoal); }

/* Layout */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--charcoal);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo span { color: var(--sage-dark); }
nav { display: flex; gap: 2rem; align-items: center; }
nav a {
  color: var(--charcoal-light);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
nav a:hover, nav a.active { color: var(--sage-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--sage-light) 0%, var(--cream) 100%);
  padding: 5rem 0;
  text-align: center;
}
.hero h1 { font-size: 3rem; color: var(--charcoal); max-width: 700px; margin: 0 auto 1.5rem; }
.hero p { font-size: 1.15rem; color: var(--charcoal-light); max-width: 550px; margin: 0 auto 2rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.btn-primary { background: var(--sage-dark); color: var(--white); }
.btn-primary:hover { background: var(--charcoal); color: var(--white); }
.btn-outline { border: 2px solid var(--sage-dark); color: var(--sage-dark); }
.btn-outline:hover { background: var(--sage-dark); color: var(--white); }

/* Section */
.section { padding: 4rem 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--charcoal-light); max-width: 600px; margin: 0.5rem auto 0; }

/* Category Cards */
.category-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--cream-dark);
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.category-card-img {
  height: 220px;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.category-card-body { padding: 1.5rem; }
.category-card-body h3 { margin-bottom: 0.5rem; }
.category-card-body p { color: var(--charcoal-light); font-size: 0.95rem; margin-bottom: 1rem; }

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--cream-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.blog-card-img {
  height: 180px;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-size: 0.8rem; color: var(--sage-dark); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-card-body p { font-size: 0.9rem; color: var(--charcoal-light); }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article-header { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--cream-dark); }
.article-meta { font-size: 0.85rem; color: var(--sage-dark); margin-bottom: 1rem; }
.article h2 { margin-top: 2.5rem; }
.article h3 { margin-top: 2rem; }
.article ul, .article ol { margin: 1rem 0 1rem 1.5rem; }
.article li { margin-bottom: 0.5rem; }
.article blockquote {
  border-left: 3px solid var(--sage);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--white);
  border-radius: 0 4px 4px 0;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--charcoal-light);
}
.breadcrumbs a { color: var(--sage-dark); }
.breadcrumbs span { margin: 0 0.5rem; }

/* Newsletter */
.newsletter {
  background: var(--sage);
  padding: 3rem 0;
  text-align: center;
  color: var(--white);
}
.newsletter h2 { color: var(--white); }
.newsletter p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.newsletter-form { display: flex; gap: 0.5rem; max-width: 450px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
}
.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.site-footer a:hover { color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero { padding: 3rem 0; }
  nav { gap: 1rem; }
  nav a { font-size: 0.8rem; }
  .newsletter-form { flex-direction: column; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-header .container { flex-direction: column; gap: 1rem; }
}