/* ===================================================
   SHARED STYLES — used on every page.
   Nav, footer, colors, and base resets live here.
   Page-specific styles (hero, product cards, forms, etc.)
   stay in the <style> block of each individual page.
   =================================================== */

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

:root {
  --off-white: #F7F5F2;
  --stone: #E8E4DE;
  --warm-gray: #B0A89E;
  --dark: #1C1C1A;
  --mid: #5A5651;
  --accent: #3D3530;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--off-white);
  color: var(--dark);
  font-weight: 300;
}

/* NAV — same on every page */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: rgba(247, 245, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(176,168,158,0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--dark);
  text-decoration: none;
  text-transform: uppercase;
}

.logo-img {
  height: 92px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mid);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dark); }

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    /* was position: fixed (inherited above) — sticky lets the page push
       content down below the nav instead of the nav floating over it,
       which matters now that the nav can be two rows tall on phones */
    position: sticky;
    top: 0;
  }
  .logo-img { height: 34px; } /* keep the logo from dominating the row on small screens */
  .nav-links { gap: 1.5rem; justify-content: center; }
}

/* FOOTER — same on every page */
footer {
  border-top: 1px solid var(--stone);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--off-white);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
}

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
}

@media (max-width: 768px) {
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}
