/* TGB shared NAV + FOOTER styles
   Used by subpages whose own <style> doesn't include the nav rules.
   Variables fall back to sensible defaults if --ch / --ol / --ww
   are not defined in the host page. */

:root {
  --tgb-ch: #252E27;
  --tgb-ol: #606F51;
  --tgb-ol-d: #4a5440;
  --tgb-ww: #FDFCF8;
  --tgb-gd: #AB8D3E;
  --tgb-gap: 24px;
}

/* ── NAV ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gap, 24px);
  background: rgba(253, 252, 248, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(96, 111, 81, 0.12);
  z-index: 1000;
  transition: box-shadow 0.3s;
  font-family: 'Jost', -apple-system, system-ui, sans-serif;
}
.nav-logo { height: 52px; width: auto; display: block; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-links li { margin: 0; padding: 0; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ch, #252E27);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ol, #606F51); }
.nav-cta {
  background: var(--ol, #606F51);
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-cta:hover { background: var(--ol-d, #4a5440); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ch, #252E27);
}
.lang-selector { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 1px solid rgba(96, 111, 81, 0.25);
  border-radius: 6px;
  padding: 5px 9px;
  cursor: pointer;
  color: var(--ch, #252E27);
  font-size: 0.85rem;
  transition: border-color 0.2s;
  line-height: 1;
}
.lang-btn:hover { border-color: var(--ol, #606F51); }
.lang-flag-svg {
  display: inline-block;
  width: 18px;
  height: 12px;
  background-size: cover;
  background-position: center;
  border-radius: 1px;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(96, 111, 81, 0.15);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(37, 46, 39, 0.12);
  min-width: 90px;
  overflow: hidden;
  z-index: 200;
}
.lang-selector.open .lang-dropdown { display: block; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--ch, #252E27);
  text-decoration: none;
  transition: background 0.15s;
}
.lang-dropdown a:hover { background: var(--ww, #FDFCF8); }
.nav-instagram {
  display: flex;
  align-items: center;
  color: var(--ch, #252E27);
  opacity: 0.55;
  transition: opacity 0.2s;
  padding: 4px 2px;
}
.nav-instagram:hover { opacity: 1; }

/* Push body content down by nav height */
body { padding-top: 72px; }

/* ── MOBILE ────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--ww, #FDFCF8);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(96, 111, 81, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
}
