/* ==========================================================================
   Pigeon in Our Parlour — Modern site stylesheet
   A warm, vintage-inspired palette for an artist's portfolio & shop.
   ========================================================================== */

:root {
  --bg: #faf6ef;
  --bg-alt: #f1e9dc;
  --surface: #ffffff;
  --ink: #2b2620;
  --ink-soft: #5c5348;
  --accent: #a34a3a;        /* terracotta */
  --accent-dark: #7e3528;
  --accent-soft: #e8d5c8;
  --gold: #b08d3f;
  --line: #e2d7c6;
  --shadow: 0 6px 24px rgba(43, 38, 32, 0.08);
  --radius: 12px;
  --maxw: 1080px;
  --font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Noto Serif", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(43,38,32,0.05);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--accent-soft);
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand-name small { display: block; font-family: var(--font); font-size: 0.7rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}
.main-nav a:hover { background: var(--accent-soft); color: var(--accent-dark); text-decoration: none; }
.main-nav a.active { background: var(--accent); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent) 55%, var(--gold));
  color: #fff;
  padding: 64px 20px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 12px;
  line-height: 1.15;
}
.hero p { max-width: 720px; margin: 0 auto; font-size: 1.1rem; opacity: 0.95; }
.hero .tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; margin-top: 6px; opacity: 0.9; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  margin: 0 0 8px;
  color: var(--ink);
}
.section-sub { color: var(--ink-soft); margin: 0 0 28px; max-width: 720px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head .section-title::after {
  content: "";
  display: block;
  width: 60px; height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ---------- Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(43,38,32,0.14); }
.card img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 16px 18px; }
.card-body h3 { margin: 0 0 6px; font-family: var(--font-serif); font-size: 1.15rem; }
.card-body p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.card-body .card-link { display: inline-block; margin-top: 10px; font-weight: 600; }

/* ---------- Gallery (art pages) ---------- */
.gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.gallery figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}
.gallery .wide { grid-column: 1 / -1; }
.gallery .wide img { max-height: 640px; object-fit: contain; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 18px 0 0;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 40px 20px;
  text-align: center;
}
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; }
.page-hero p { color: var(--ink-soft); max-width: 720px; margin: 0 auto; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--font-serif); margin-top: 32px; }
.prose h3 { font-family: var(--font-serif); font-size: 1.2rem; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
}
.faq details[open] summary { color: var(--accent-dark); }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d8cfc2;
  margin-top: 48px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer-inner h4 { color: #fff; font-family: var(--font-serif); margin: 0 0 12px; }
.footer-inner ul { list-style: none; margin: 0; padding: 0; }
.footer-inner li { margin-bottom: 8px; }
.footer-inner a { color: #d8cfc2; }
.footer-inner a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: #a89c8c;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.08rem; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav { width: 100%; }
  .main-nav ul { flex-wrap: wrap; }
  .hero { padding: 44px 16px; }
  .section { padding: 36px 0; }
  .gallery { grid-template-columns: 1fr; }
}
