/* ============================================================
   HOZNAR — 3. LAYOUT CHROME
   The page furniture that wraps every page: nav and footer.

   Contents:
     1. Nav
     2. Footer
   ============================================================ */

/* ---------- 1. nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(26, 22, 20, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 40px;
  max-width: 1320px;
  margin: 0 auto;
}
.nav.scrolled {
  box-shadow: 0 6px 18px rgba(26, 22, 20, 0.08);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo .nav-brand {
  font-family: var(--slab);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-deep); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--gold-deep);
}

.nav-right { display: flex; align-items: center; gap: 14px; justify-self: end; }
.nav-icon {
  background: none;
  border: none;
  padding: 6px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}
.nav-icon:hover { color: var(--gold-deep); transform: translateY(-1px); }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-inner { padding: 14px 20px; grid-template-columns: 1fr auto; }
}

/* ---------- 2. footer ---------- */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0 36px;
  border-top: 1px solid rgba(244,232,208,0.18);
  position: relative;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 0.9fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244, 223, 194, 0.18);
}
.foot-brand .logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--slab);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.foot-tagline {
  font-family: var(--slab);
  font-style: italic;
  font-size: 14px;
  color: rgba(244, 223, 194, 0.75);
  line-height: 1.5;
  margin: 0 0 22px;
}
.foot-social { display: flex; gap: 14px; }
.foot-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(244, 223, 194, 0.3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 223, 194, 0.7);
  transition: all 0.2s;
}
.foot-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.foot-newsletter .news-desc {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
  color: rgba(244, 223, 194, 0.65);
  margin: 0 0 14px;
}
.newsletter {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(244, 223, 194, 0.35);
}
.newsletter input {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--cream);
  outline: none;
}
.newsletter input::placeholder { color: rgba(244, 223, 194, 0.4); }
.newsletter button {
  background: none;
  border: none;
  padding: 10px 6px;
  color: var(--gold);
  cursor: pointer;
  font-size: 18px;
  transition: color 0.2s, transform 0.2s;
}
.newsletter button:hover { color: var(--gold-soft); transform: translateX(2px); }
.foot-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(244,232,208,0.85);
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--coral); }
.foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,232,208,0.5);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1100px) {
  .foot-top { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-newsletter { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 700px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
}
