/* North Maine Treasures — Vintage Antiques & Collectibles */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Source+Sans+3:wght@300;400;600&display=swap');

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

:root {
  --navy: #1b2a4a;
  --slate: #3a4f6f;
  --driftwood: #a68a64;
  --sand: #e8dcc8;
  --fog: #f0ece4;
  --rust: #b04a26;
  --sea: #5b8a8a;
  --white: #ffffff;
  --grey-500: #6b6b6b;
  --grey-800: #2d2d2d;
}

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--grey-800);
  background: var(--fog);
}

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

/* Navigation */
header {
  background: var(--navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--sand);
  text-decoration: none;
}

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

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

.nav-links a {
  color: rgba(232,220,200,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

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

.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.6rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(232,220,200,0.85);
  max-width: 580px;
  margin: 0 auto;
}

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

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

h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 0.6rem;
}

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

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

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

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

.card:hover {
  box-shadow: 0 6px 24px rgba(27,42,74,0.12);
}

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

.card-body {
  padding: 1.25rem;
}

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

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

/* Badges */
.badge {
  display: inline-block;
  background: var(--rust);
  color: var(--white);
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.badge-sea {
  background: var(--sea);
}

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

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

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

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

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

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

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

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

/* Two-col layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 6px;
}

/* Footer */
footer {
  background: var(--navy);
  color: rgba(232,220,200,0.8);
  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(--sand);
  font-family: 'Merriweather', serif;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(232,220,200,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; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.82rem; }
  header nav { flex-wrap: wrap; gap: 0.75rem; }
  .split { grid-template-columns: 1fr; }
}

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

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