/* File: public_html/assets/css/nav.css
   Shared site chrome (header/nav + footer) for the store pages, so
   they match the rest of the site (navy #062A55 + gold #C99A2E,
   EB Garamond / Inter — see the "LIGHT THEME OVERRIDE" block at the
   bottom of index.html). Paired with includes/site-header.php and
   includes/site-footer.php. */

:root {
    --sitenav-navy: #062A55;
    --sitenav-gold: #C99A2E;
    --sitenav-white: #FFFFFF;
    --sitenav-off-white: #F8F5EE;
    --sitenav-border: rgba(6, 42, 85, 0.12);
    --font-display: 'EB Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

.skip-link {
    position: absolute;
    top: -999px;
    left: 0;
    background: var(--sitenav-gold);
    color: var(--sitenav-white);
    padding: 8px 16px;
    font-size: 14px;
    z-index: 9999;
}
.skip-link:focus { top: 0; }

header a,
.site-footer a {
    text-decoration: none;
}

header { position: sticky; top: 0; z-index: 200; }

.site-nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sitenav-border);
    font-family: var(--font-body);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo-img { height: 56px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
    color: var(--sitenav-navy);
    opacity: 0.8;
    font-size: 13.5px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s, opacity 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
    opacity: 1;
    background: rgba(6, 42, 85, 0.06);
}

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: 10px; opacity: 0.7; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--sitenav-white);
    border: 1px solid var(--sitenav-border);
    border-radius: 8px;
    min-width: 200px;
    padding: 6px 0;
    box-shadow: 0 12px 30px rgba(6, 42, 85, 0.14);
    list-style: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 9px 16px; color: var(--sitenav-navy); font-size: 13px; border-radius: 0; }
.dropdown-menu a:hover { color: var(--sitenav-gold); background: var(--sitenav-off-white); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sitenav-navy);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
    display: none;
    background: var(--sitenav-white);
    border-top: 1px solid var(--sitenav-border);
    padding: 16px clamp(20px, 5vw, 64px) 20px;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
    display: block;
    color: var(--sitenav-navy);
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--sitenav-border);
}
.nav-mobile a:hover { color: var(--sitenav-gold); }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
    .nav-hamburger span { transition: none; }
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--sitenav-off-white);
    border-top: 1px solid var(--sitenav-border);
    padding: 56px clamp(20px, 5vw, 64px) 0;
    font-family: var(--font-body);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--sitenav-border);
}

.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.footer-logo-img { height: 56px; width: auto; display: block; }

.footer-tagline {
    font-size: 12.5px;
    color: #637083;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social { display: flex; gap: 8px; }
.footer-social a {
    width: 32px;
    height: 32px;
    background: rgba(6, 42, 85, 0.05);
    border: 1px solid var(--sitenav-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sitenav-navy);
    font-size: 13px;
    font-weight: 700;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.footer-social a:hover { background: var(--sitenav-gold); color: #FFFFFF; border-color: var(--sitenav-gold); }

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sitenav-gold);
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: #3D4A5C; transition: color 0.15s; }
.footer-col a:hover { color: var(--sitenav-navy); }
.footer-col p { font-size: 13px; color: #3D4A5C; line-height: 1.6; }

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p { font-size: 12px; color: #637083; }
.footer-bottom a { color: #3D4A5C; transition: color 0.15s; }
.footer-bottom a:hover { color: var(--sitenav-gold); }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
    .footer-grid { grid-template-columns: 1fr; }
}
