/*
Theme Name: Monica's Pies 2025
Theme URI: https://www.monicaspies.com/
Author: Generated by OpenAI
Description: A modern, mobile‑first WordPress theme inspired by Concord grape pies. Deep‑purple accents, warm cream backgrounds, and friendly typography evoke the feel of a small family bakery.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: monicaspies
Tags: purple, bakery, small-business, responsive, accessibility-ready
*/

/* ---------- CSS Variables ---------- */
:root {
  --grape-deep: #4B006E;
  --grape-medium: #6A0DAD;
  --grape-light: #B784E8;
  --cream: #FFF7F0;
  --text-dark: #2C2C2C;
  --max-width: 1200px;
}

/* ---------- Base Styles ---------- */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--text-dark);
  font-family: 'Nunito', sans-serif;
  line-height: 1.7;
}
a {
  color: var(--grape-medium);
  text-decoration: none;
}
a:hover, a:focus {
  color: var(--grape-deep);
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: var(--grape-deep);
  margin-top: 0;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Header & Navigation ---------- */
header.site-header {
  background: var(--grape-deep);
  color: #ffffff;
  padding: 0.5rem 0;
}
.site-title a {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
}
nav.primary-menu {
  margin-top: 0.5rem;
}
nav.primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
nav.primary-menu li {
  margin: 0;
}
nav.primary-menu a {
  color: #ffffff;
  font-weight: 600;
}
nav.primary-menu a:hover,
nav.primary-menu a:focus {
  color: var(--grape-light);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--grape-medium);
  color: #ffffff;
  text-align: center;
  padding: 2rem 0 1rem;
  font-size: 0.9rem;
}

/* ---------- Content ---------- */
.post {
  margin-bottom: 3rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.post .post-meta {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 0.5rem;
}
.post .read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* ---------- Utility Classes ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  header.site-header {
    display: flex;
    align-items: center;
  }
  .site-branding {
    flex: 1;
  }
}
