/* Shared site styling for znapcam.com Netlify site */

:root {
  --bg: #2a1f17;
  --surface: rgba(0, 0, 0, 0.25);
  --surface-2: rgba(0, 0, 0, 0.35);
  --text: #f5e9d4;
  --text-2: #e2d5bf;
  --muted: #a49176;
  --accent: #c9a55e;
  --border: rgba(201, 165, 94, 0.35);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 11, 8, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 165, 94, 0.22);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-width: 180px;
}

.site-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(201, 165, 94, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.site-brand-title {
  font-family: 'Chewy', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0.22em;
  font-size: 18px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.site-nav button {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-nav a:hover,
.site-nav button:hover {
  border-color: rgba(201, 165, 94, 0.35);
  background: rgba(201, 165, 94, 0.08);
}

.site-nav a.is-active {
  color: var(--bg);
  background: linear-gradient(135deg, #f5e9d4, #c9a55e);
  border-color: rgba(201, 165, 94, 0.55);
  box-shadow: 0 8px 18px rgba(201, 165, 94, 0.2);
}

.site-nav-dropdown {
  position: relative;
}

.site-nav-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: rgba(30, 22, 17, 0.98);
  border: 1px solid rgba(201, 165, 94, 0.25);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.site-nav-dropdown-menu a {
  width: 100%;
  border-radius: 10px;
  padding: 10px 12px;
  justify-content: flex-start;
}

.site-nav-dropdown.is-open .site-nav-dropdown-menu {
  display: block;
}

.site-nav-toggle {
  display: none;
  border: 1px solid rgba(201, 165, 94, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .site-brand {
    min-width: auto;
  }

  .site-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(15, 11, 8, 0.97);
    border-bottom: 1px solid rgba(201, 165, 94, 0.22);
    padding: 10px 12px 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a,
  .site-nav button {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav-dropdown-menu {
    position: static;
    min-width: unset;
    width: 100%;
    box-shadow: none;
    margin-top: 6px;
  }
}


