/* ========================================
   GLOBAL FONT AND BASE STYLES
   ======================================== */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #6b6b70;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  color: #1d1d1f;
}

p, a, button, input, textarea, label, span {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  z-index: 9999;
  border-bottom: 1px solid rgba(220, 215, 230, 0.3);
  box-sizing: border-box;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;                 /* tight but clear gap to the icon */
  text-decoration: none;
}

.logo-link:hover,
.logo-link:visited {
  text-decoration: none;
}

.logo-img {
  height: 32px;              /* adjust if your SVG needs different size */
  width: auto;
}

.logo-text {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;    /* strong tracking like reference */
  color: #111111;            /* solid black, not purple */
  line-height: 1;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #5a5a5f;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.nav-links a:hover {
  color: #1d1d1f;
}

.cart-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #1d1d1f;
  text-decoration: none;
  transition: opacity 0.3s;
  position: relative;
}

.cart-button:hover {
  opacity: 0.7;
}

.cart-button svg {
  width: 20px;
  height: 20px;
}

.menu-icon {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-icon span {
  width: 22px;
  height: 2px;
  background: #1d1d1f;
  transition: 0.3s;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-container {
    justify-content: flex-start;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 18px 20px 22px;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 9999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f7;
    line-height: 1.2;
  }

  .menu-icon {
    display: flex;
    margin-left: 12px;
  }

  .menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-icon.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* ========================================
   FOOTER (BLACK BACKGROUND)
   ======================================== */
footer {
  background: #000;
  color: #fff;
  padding: 20px 12px 18px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
}

.footer-copy {
  margin: 0;
  line-height: 1.5;
}

.footer-copy p {
  margin: 0;
  line-height: 1.5;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.footer-links-row a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.footer-links-row a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-sep {
  color: rgba(255, 255, 255, 0.65);
  display: inline-block;
  line-height: 1;
  padding: 0 6px;
}

/* Ensure footer text is vertically centered */
footer, .footer-inner, .footer-copy, .footer-links-row {
  vertical-align: middle;
}

/* Visually hide the textual logo while keeping it in the DOM for SEO/screen readers */
.logo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
