/* ═══════════════════════════════════════════
   HEADER.CSS — Catering Bollenstreek Shared Header
   Consistent styling matching the original menu/quote page headers.
   Brand Colors: Navy #00127a · Gold #c29424
   ═══════════════════════════════════════════ */

/* Header Container */
#siteHeader {
    width: 100%;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color, #ebdcb9);
    padding: 10px 48px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.015);
    transition: all 0.3s ease;
}

#siteHeader.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 18, 122, 0.05);
    padding: 8px 48px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

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

.header-logo-container a {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 76px;
    width: auto;
    transition: all 0.3s ease;
}

#siteHeader.scrolled .header-logo {
    height: 54px;
}



/* Nav Links Grid */
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary, #0a1128);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 6px 0;
    transition: color 0.25s ease;
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary-color, #c29424) !important;
}
/* Subtle indicator line for active page */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 2.5px;
    background-color: var(--primary-color, #c29424);
    border-radius: 2px;
}

/* Shopping Cart Button in Header */
.cart-nav-item {
    display: flex;
    align-items: center;
    position: relative;
}

.cart-status-notice {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: max-content;
    max-width: 280px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cart-status-notice.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.cart-status-notice.status-success {
    background-color: #ecfdf5;
    color: #15803d;
    border: 1.5px solid #22c55e;
}

.cart-status-notice.status-warning {
    background-color: #fefce8;
    color: #a16207;
    border: 1.5px solid #eab308;
}

.header-mobile-right {
    display: none;
}

.nav-cart-btn {
    background: #ffffff;
    border: 1.5px solid var(--border-color, #ebdcb9);
    color: var(--navy-blue, #00127a);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    outline: none;
}

.nav-cart-btn:hover {
    border-color: var(--navy-blue, #00127a);
    background: rgba(0, 18, 122, 0.02);
    transform: translateY(-1px);
}

.cart-icon {
    flex-shrink: 0;
}

.cart-count-badge {
    background-color: var(--primary-color, #c29424);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 6px rgba(194, 148, 36, 0.3);
}

/* Nav CTA Button (Golden Gradient matching original site style) */
.btn-header-cta {
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color, #c29424) 0%, #a1781b 100%);
    color: #ffffff !important;
    padding: 11px 22px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(194, 148, 36, 0.25);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-header-cta:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(194, 148, 36, 0.35);
}

/* Hamburger (Mobile Toggle) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.25s ease;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}
.hamburger:hover {
    background: rgba(0, 18, 122, 0.05);
}
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--navy-blue, #00127a);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer Menu */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 0 24px calc(20px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-color, #ebdcb9);
    background: rgba(255, 255, 255, 0.98);
    animation: slideDownHeader 0.25s ease;
}
.mobile-nav.open {
    display: flex;
}

@keyframes slideDownHeader {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 12px;
    list-style: none;
}
.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-secondary, #535c75);
    text-decoration: none;
    transition: all 0.2s ease;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color, #c29424) !important;
    background: rgba(194, 148, 36, 0.08);
}
.mobile-nav-cta {
    display: block;
    margin-top: 12px;
    padding: 14px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color, #c29424) 0%, #a1781b 100%);
    color: #fff !important;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(194, 148, 36, 0.2);
}

/* Responsive Rules */
@media (max-width: 960px) {
    #siteHeader {
        padding: 16px 24px;
    }

    #siteHeader.scrolled {
        padding: 12px 24px;
    }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .header-mobile-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    #siteHeader {
        padding: 12px 20px;
    }

    #siteHeader.scrolled {
        padding: 10px 20px;
    }
    .header-logo { height: 44px; }
    .header-mobile-right {
        gap: 8px;
    }
    .header-mobile-right .nav-cart-btn {
        padding: 8px 12px;
        font-size: 0.88rem;
    }
    .cart-status-notice {
        right: -10px;
        max-width: 250px;
        font-size: 0.82rem;
    }
}

/* Overall Page Background Graphic (8% opacity hero-bg.jpg) */
html {
    background-color: #fbfaf7;
}

body {
    position: relative;
    overflow-x: hidden;
    background-color: transparent !important;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/static/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
}

.page-top-left-bg {
    position: absolute;
    top: 96px;
    left: 0;
    width: 560px;
    max-width: 55vw;
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.40));
    transition: width 0.2s ease, max-width 0.2s ease;
}

.page-top-right-bg {
    position: absolute;
    top: 96px;
    right: 0;
    width: 560px;
    max-width: 55vw;
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.40));
    transition: width 0.2s ease, max-width 0.2s ease;
}

@media (max-width: 1650px) {
    .page-top-left-bg,
    .page-top-right-bg {
        width: calc((100vw - 480px) / 2);
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    .page-top-left-bg {
        top: 72px;
        width: 220px;
        max-width: 32vw;
    }
    .page-top-right-bg {
        top: 72px;
        width: 220px;
        max-width: 32vw;
    }
}

/* ═══════════════════════════════════════
   SITE FOOTER (SHARED COMPONENT)
═══════════════════════════════════════ */
.site-footer {
    background: #0a1128;
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
    width: 100%;
    position: relative;
    z-index: 10;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

.site-footer .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 32px 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.site-footer .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    flex: 1 1 250px;
}

.site-footer .footer-logo {
    height: 85px !important;
    width: auto !important;
    max-width: 320px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    margin: 0 auto;
    display: block;
}

.site-footer .footer-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    text-align: center;
    width: 100%;
    margin: 0;
}

.site-footer .footer-links,
.site-footer .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 180px;
}

.site-footer .footer-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #c29424;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.site-footer .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer .footer-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.site-footer .footer-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.site-footer .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0;
}

.site-footer .footer-contact-item svg {
    color: #c29424;
    flex-shrink: 0;
}

.site-footer .footer-contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-contact-item a:hover {
    color: #ffffff;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 32px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.site-footer .footer-bottom p {
    margin: 0;
}

.site-footer .footer-bottom a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.site-footer .footer-bottom a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .site-footer .footer-inner {
        padding: 36px 20px 28px;
        gap: 28px;
    }
    .site-footer .footer-brand {
        order: -1;
        width: 100%;
    }
}



