/* File: /partials/css/header.css */
/* ─────────────────────────────────────────────────────────
   Global CSS-vars for Rhea’s Sweets Bakery header
───────────────────────────────────────────────────────── */
:root {
  --accent:       #3c70a0;  /* new primary accent blue */
  --accent-dark:  #2e5b85;  /* darker on hover */
  --sky:          #ccecfb;
  --ink:          #1f2937;
  --muted:        #6b7280;
}

/* Header wrapper */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid #e5e7eb;
  transition: box-shadow .2s ease, border-color .2s ease;
}

/* Rest of your rules… */

.site-header {
  /* give the entire header extra top/bottom space */
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 24px;
  padding-bottom: 24px;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid #e5e7eb;
  transition: box-shadow .2s ease, border-color .2s ease;
  min-height: 96px;
}

.site-header.is-scrolled{
  box-shadow: 0 8px 30px rgba(17,24,39,.08);
  border-color: transparent;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
}

/* Brand */
.brand{
  font-weight: 800;
  letter-spacing: -.2px;
  font-size: 1.2rem;
  color: var(--ink, #0f172a);
}

/* Primary nav */
.primary-nav .nav-list{
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a{
  font-weight: 600;
  color: var(--ink, #0f172a);
  padding: 10px 6px;
  border-radius: 8px;
  transition: background-color .15s ease, color .15s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible{
  background: #f1f5f9;
  outline: none;
}

/* Header CTAs (button in header area) */
.header-cta{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile toggle */
.nav-toggle{
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle-bar{
  width: 18px;
  height: 2px;
  background: var(--ink, #0f172a);
  display: block;
  border-radius: 3px;
  position: relative;
}

/* Mobile layout breakpoint */
@media (max-width: 980px){
  .primary-nav{ display: none; }
  .nav-toggle{ display: inline-flex; }
}

/* Mobile full-screen panel */
.mobile-panel{
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.98);
  transform: translateY(-102%);
  transition: transform .25s ease;
  z-index: 99;
  border-bottom: 1px solid #e5e7eb;
}
.site-header.is-open .mobile-panel{
  transform: translateY(0);
}
/* bump header container width so nav isn't so squished */
.site-header .wrap {
  max-width: 1400px;  /* was 1120px */
  margin-left: auto;
  margin-right: auto;
}

.primary-nav .nav-list {
  gap: 24px;  /* was 18px */
}

.mobile-inner{
  padding: 80px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mobile-list a{
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--ink, #0f172a);
  font-weight: 700;
  transition: background-color .15s ease;
}
.mobile-list a:hover,
.mobile-list a:focus-visible{
  background: var(--sky, #ccecfb);
  outline: none;
}

/* Motion preference */
@media (prefers-reduced-motion: reduce){
  .site-header,
  .primary-nav a,
  .mobile-panel{
    transition: none !important;
  }
}


.header-inner {
  padding: 25px 28px;   /* was 10px 20px */
}

.brand span {
  color: var(--accent) !important;
}

.header-cta .btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  padding: 0.65rem 1.25rem;  /* slimmer vertical padding */
  line-height: 1;            /* avoid auto-stretch */
}

.header-cta .btn-accent:hover,
.header-cta .btn-accent:focus-visible {
  background: var(--accent-dark);
}
.nav-toggle-bar {
  background-color: var(--accent);
}

