/* ============================================
   ashleegroberts.com — Main Stylesheet
   Fonts: Cormorant Garamond + Nunito
   Palette: Cream, Forest Green, Terracotta
   ============================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Nunito:wght@300;400;600;700&display=swap');

/* ── VARIABLES ── */
:root {
  --cream:   #FAF7F2;
  --linen:   #F0EAE0;
  --ink:     #2C2420;
  --warm:    #7A6355;
  --accent:  #C47D5E;   /* terracotta */
  --sage:    #7A9470;   /* forest green */
  --sage-lt: #B8C9B0;
  --blush:   #F2C4B2;
  --border:  #E0D5C8;
  --white:   #FFFFFF;
  --muted:   #BBADA5;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Nunito', Arial, sans-serif;

  --max-width: 1100px;
  --content-width: 760px;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(44,36,32,0.08);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── BASE ── */
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; }
h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
h3 { font-size: clamp(20px, 3vw, 26px); font-weight: 600; }
h1 em, h2 em, h3 em { color: var(--accent); font-style: italic; }

p { color: var(--warm); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
p strong { color: var(--ink); font-weight: 700; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

/* ── LAYOUT ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--content-width); margin: 0 auto; padding: 0 32px; }
section { padding: 80px 0; }
.section-linen { background: var(--linen); }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); }
.rule { height: 1px; background: var(--border); margin: 32px 0; }
.rule-accent { height: 2px; background: var(--accent); width: 40px; margin: 0 0 24px; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  font-style: italic;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--warm);
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.85; }
.nav-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); margin: 4px 0; border-radius: 2px;
  transition: transform 0.2s;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  border: none;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 16px rgba(196,125,94,0.35); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(196,125,94,0.45); }
.btn-secondary { background: var(--ink); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sage { background: var(--sage); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-body { padding: 24px; }
.card-title { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.card-desc { font-size: 14px; color: var(--warm); line-height: 1.65; }

/* ── GRID UTILITIES ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 56px 32px 32px;
  color: #9A8880;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand span { color: var(--blush); }
.footer-tagline { font-size: 13px; color: #6A5A54; line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; transition: background 0.15s;
}
.footer-social a:hover { background: rgba(255,255,255,0.12); }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #5A4A44; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: #6A5A54; transition: color 0.15s; }
.footer-links a:hover { color: var(--blush); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 11px; color: #3A2C28; letter-spacing: 0.08em; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 11px; color: #3A2C28; transition: color 0.15s; }
.footer-legal a:hover { color: #6A5A54; }

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
}
.badge-sage { background: #EEF4EC; color: var(--sage); }
.badge-accent { background: #FFF0E8; color: #B05A30; }
.badge-blue { background: #EFF3FF; color: #3D5699; }
.badge-gold { background: #FFFBEA; color: #9A6820; }

/* ── FORMS ── */
.input {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font-sans); font-size: 14px;
  color: var(--ink); background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}
.input:focus { border-color: var(--accent); }
.input::placeholder { color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--border);
    padding: 20px 32px; gap: 16px; z-index: 99;
  }
  .nav-menu-btn { display: block; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 60px 0; }
  .container, .container-narrow { padding: 0 20px; }
}
