/* Navigation Styles - explicit colors, no CSS variables */
/*
  Sticky header with a gentle gradient background.
  Navigation links are styled as buttons for clarity.
  The active state marks the current page.
  Mobile layout stacks items for comfort.
*/

/* Global box-sizing reset to prevent horizontal overflow from padded 100% width elements */
*, *::before, *::after {
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Gradient: left #1D171A to right #3A1628 */
  background: linear-gradient(90deg, #1D171A 0%, #3A1628 100%);
   background:  rgb(56, 2, 40);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Spacing below the sticky header on any first element */
.site-header + * { margin-top: 32px; }

.site-header .nav {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.brand-name {
  font-family: 'Pacifico', cursive;
  color: #fff;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

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

/* Buttons (link text) are white & Rounded corners */
.nav-links a {
  color: #ffffff; 
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 10px; 
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    border-color 0.15s ease;
}

.nav-links a:hover {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
  transform: none; /* ensure no movement on hover */
}

.nav-links a:active { transform: none; }

/* Remove reserved scrollbar gutter to prevent right-edge gap on pages without scroll */
html { scrollbar-gutter: auto; }

/* Selected page: pink rectangular selection with rounded corners */
/* Highlights the current page in the navigation so users know where they are. */
.nav-links a.active,
.nav-links a[aria-current="page"] {
  background-color: #E91E63; /* Pink selection */
  color: #ffffff;
  border-color: #ffffff;
}

@media (max-width: 700px) {
  /* Mobile: stack the brand and links, reduce spacing. */
  .site-header .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }
  .brand-name {
    font-size: 1.15rem;
  }
}