/* ==========================================================================
   ARTEAZEN — brand.css
   Shared brand layer for every page on arteazen.com.
   Colors, fonts, base styles, navbar, mobile menu, buttons, footer.

   Rules (see CLAUDE.md):
   - Change brand colors HERE only. Pages use var(--…), never raw hex.
   - Flat design: no gradients, no drop shadows.
   - Never pure white as a background.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── 1. TOKENS ──────────────────────────────────────────────────────────── */
:root {
  /* Locked palette (October 2026) */
  --forest:    #0e3b2a;   /* anchor: dark sections, headings accents */
  --hunter:    #2e5a45;   /* depth: hover states, secondary */
  --sage:      #a5d6a7;   /* light accent: primary buttons, highlights */
  --coffee:    #7a5c45;   /* warmth: eyebrows, italic accents */
  --parchment: #F2EFE6;   /* page background */
  --ink:       #1a1a1a;   /* body text */

  /* Tints of the palette above (not new colors) */
  --surface:    #F8F6F0;                        /* raised cards / alternate sections */
  --sage-tint:  rgba(165, 214, 167, 0.28);      /* soft green chips, badges */
  --footer-bg:  #D9E7D2;                        /* sage 35% on parchment */
  --ink-muted:  rgba(26, 26, 26, 0.70);         /* secondary text */
  --ink-faint:  rgba(26, 26, 26, 0.32);         /* disabled / hints */
  --line:       rgba(14, 59, 42, 0.10);         /* hairlines, card borders */
  --line-strong: rgba(14, 59, 42, 0.18);        /* input borders, outlines */

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --nav-h: 72px;
  --radius-pill: 999px;
}

/* ─── 2. BASE ────────────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--hunter);
  outline-offset: 3px;
}

/* Scroll fade-in (paired with the IntersectionObserver script on each page) */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 3. NAVBAR ──────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(242, 239, 230, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--line-strong); }

.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-brand img { height: 50px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--coffee); }
.nav-links a.active { color: var(--coffee); font-weight: 500; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px 4px;
  background: none;
  border: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu (full screen under the navbar) */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(242, 239, 230, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 400;
}
.mobile-menu a.active {
  color: var(--coffee);
  font-weight: 500;
}
.mobile-menu a.cta {
  background: var(--sage);
  color: var(--ink);
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 500;
}

/* ─── 4. BUTTONS ─────────────────────────────────────────────────────────── */
/* Primary = sage pill. Hover = hunter green with parchment text. */
.btn-order-nav,
.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: var(--ink);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-order-nav { padding: 10px 22px; font-size: 14px; }
.btn-primary   { padding: 14px 30px; font-size: 15px; }
.btn-order-nav:hover,
.btn-primary:hover {
  background: var(--hunter);
  color: var(--parchment);
  transform: scale(1.03);
}
.nav-links a.btn-order-nav:hover { color: var(--parchment); }

/* Secondary = outline pill */
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  border: 1.5px solid var(--line-strong);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  border-color: var(--hunter);
  color: var(--hunter);
  transform: scale(1.03);
}

/* ─── 5. FOOTER ──────────────────────────────────────────────────────────── */
footer {
  background: var(--footer-bg);
  color: var(--ink-muted);
  padding: 64px 40px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-strong);
  margin-bottom: 28px;
}
.footer-brand img { height: 40px; width: auto; display: block; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--ink-muted); }
.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coffee);
  margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--forest); }
.footer-links a.footer-active { color: var(--hunter); font-weight: 500; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-muted);
}

/* Sticky order bar (mobile only) */
.mobile-order-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--sage);
  padding: 14px 20px;
  text-align: center;
  z-index: 999;
}
.mobile-order-bar a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

/* ─── 6. RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-brand img { height: 42px; }

  footer { padding: 48px 24px 88px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .mobile-order-bar { display: block; }
}
