/* Mobile override: ensure header scrolls away on narrow screens */
@media (max-width: 899.98px){
  .site-header,
  .site-header .header-content,
  .site-header .header-nav{
    position: static !important;
    top: auto !important;
    transform: none !important;
  }
}


/* 201 East York — header.css (clean, no overlay)
   - Uses a *default* relative background image path:
       ../header-bg.png   (because this file is in assets/CSS/)
   - Page can override via :root { --header-bg-image: url('...'); }
*/
:root {
  --primary-color: #d46e77;
  --accent-color: #2c5e55;
  --header-accent-color: #E7B471;
  --header-text-color: #8e6342;
  --header-bg-image: url('../header-bg.png');
  --header-pad-inline: 5%;
  --header-pad-block: 10px;
  --header-nav-gap: 1.25rem;
}

.site-header {
  font-family: 'Georgia', serif;
  position: sticky; top: 0; z-index: 999;
  color: var(--header-text-color);
  /* Force the background so it shows even if other rules exist */
  background: var(--header-bg-image) center / cover no-repeat;
  padding: 5px var(--header-pad-inline) var(--header-pad-block);
}

/* Layout */
.site-header .header-content { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; row-gap: 16px; }
.site-header .branding { display: flex; flex-direction: column; justify-content: center; }
.site-header .site-title { margin: 0; font-size: 4rem; font-weight: 700; color: var(--header-accent-color); letter-spacing: 1px; text-shadow: 4px 1px 3px #d88888; }
.site-header .tagline { margin: 1px 0 0 0; font-size: 2rem; font-weight: 600; color: #8c3b1f; text-shadow: 1px 1px 3px rgba(255,255,255,0.9); letter-spacing: 0.5px; }
.site-header .header-right { display: flex; align-items: center; gap: 12px; }

/* Social icons */
.site-header .social-icons { display: flex; gap: 12px; align-items: center; }
.site-header .social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background-color: var(--accent-color); color: #fff; font-size: 0.8rem; font-weight: 600; transition: transform 0.15s ease, opacity 0.2s ease; }
.site-header .social-icons a:hover { transform: translateY(-1px); opacity: 0.9; }

/* Share button (glass pill) */
.site-header .share-button-container button {
  position: relative;
  font-family: 'Georgia', serif;
  background: rgba(255,255,255,0.18);
  color: var(--header-text-color);
  border: 1px solid rgba(231,180,113,0.50);
  padding: 10px 22px; font-size: 0.92em; border-radius: 999px; cursor: pointer;
  -webkit-backdrop-filter: saturate(130%) blur(6px);
  backdrop-filter: saturate(130%) blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.site-header .share-button-container button::after { content:""; position:absolute; top:0.2rem; left:0.3rem; right:0.3rem; height:40%; border-radius:999px; background: linear-gradient(to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0)); pointer-events:none; }
.site-header .share-button-container button:hover { background: rgba(255,255,255,0.25); border-color: rgba(231,180,113,0.65); box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 8px 22px rgba(0,0,0,0.16); transform: translateY(-1px); }
.site-header .share-button-container button:active { transform: translateY(0); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 12px rgba(0,0,0,0.12); }
.site-header .share-button-container button:focus-visible { outline: 2px solid rgba(231,180,113,0.8); outline-offset: 2px; }

/* Nav */
.header-nav { width: 100%; margin-top: 6px; display: flex; justify-content: center; }
.header-nav .nav-list { list-style: none; padding: 0; margin: 0; display: flex; gap: var(--header-nav-gap); align-items: center; }
.header-nav .nav-list > li { position: relative; }
.header-nav a { font-family: 'Georgia', serif; color: var(--header-text-color); font-weight: 500; text-decoration: none; font-size: 0.95rem; }
.header-nav a:hover, .header-nav a:focus { text-decoration: underline; }

/* Dropdown */
.header-nav .dropdown > a[aria-expanded="true"] { text-decoration: underline; }
.header-nav .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; color: #333; padding: 0.5rem 0; box-shadow: 0 2px 8px rgba(0,0,0,0.15); z-index: 1000; }
.header-nav .dropdown-menu li { padding: 0.5rem 1rem; }
.header-nav .dropdown-menu a { color: #333; }
.header-nav .dropdown.open .dropdown-menu { display: block; }

@media (hover: hover) and (pointer: fine) { .header-nav .dropdown:hover .dropdown-menu { display: block; } }
@media (max-width: 720px) { .site-header .site-title { font-size: 2.6rem; } .site-header .tagline { font-size: 1.1rem; } .header-nav .nav-list { flex-wrap: wrap; justify-content: center; gap: 0.75rem 1rem; } }


/* ===== Remove green separator dots/bullets in nav & dropdowns ===== */
.header-nav .nav-list,
.header-nav .dropdown-menu {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.header-nav .nav-list > li::before,
.header-nav .nav-list > li::after,
.header-nav .nav-list a::before,
.header-nav .nav-list a::after,
.header-nav .dropdown-menu li::before,
.header-nav .dropdown-menu li::after,
.header-nav .dropdown-menu a::before,
.header-nav .dropdown-menu a::after {
  content: none !important;
}

/* make sure nothing injects a background 'dot' */
.header-nav .nav-list > li,
.header-nav .dropdown-menu li {
  background: none !important;
}


/* Logo styling */
.site-header .site-logo img {
  height: 110px; /* adjust as needed */
  width: auto;
  display: block;
  filter: drop-shadow(2px 4px 3px rgba(0,0,0,0.5)); /* subtle shadow */
}
