/* ==========================================================================
   TOFFEE BEAN — Header & Footer Styles
   Ported from NACCU mockup
   Author: SlingSoft Apps (slingsoft.app)
   ========================================================================== */

/* ── TOPBAR ── */
.naccu-topbar {
    background: var(--deep-brown);
    color: rgba(255, 255, 255, .7);
    font-size: .75rem;
    padding: 10px 0;
    letter-spacing: .4px;
}
.naccu-topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.naccu-topbar-left { display: flex; gap: 28px; align-items: center; }
.naccu-topbar-left span { display: flex; align-items: center; gap: 7px; }
.naccu-topbar-left i { color: var(--caramel); font-size: .8rem; }
.naccu-topbar-right { display: flex; gap: 10px; align-items: center; }
.naccu-topbar-right a {
    width: 26px; height: 26px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    display: flex; align-items: center; justify-content: center;
    transition: .3s; color: #fff; font-size: .7rem;
}
.naccu-topbar-right a:hover { background: var(--brown); border-color: var(--brown); }

/* ── HEADER ── */
.naccu-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    transition: .4s var(--ease);
}
.naccu-header .wrap {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
}
.naccu-header.scrolled {
    background: rgba(255, 252, 247, .95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(26, 15, 8, .06);
}
.header-transparent .naccu-header:not(.scrolled) {
    background: transparent;
    border-bottom-color: transparent;
}
.header-transparent .naccu-header:not(.scrolled) .naccu-logo-text,
.header-transparent .naccu-header:not(.scrolled) .naccu-nav a {
    color: #fff;
}

/* Logo */
.naccu-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.naccu-logo-mark {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--brown); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
}
.naccu-logo-text {
    font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
    color: var(--dark); letter-spacing: .5px;
}
.naccu-logo-text small {
    display: block; font-family: var(--sans); font-size: .55rem;
    font-weight: 500; text-transform: uppercase; letter-spacing: 3px;
    color: var(--muted); margin-top: -2px;
}

/* Navigation */
.naccu-nav { display: flex; gap: 8px; }
.naccu-nav a {
    position: relative; padding: 8px 18px; font-size: .85rem;
    font-weight: 500; color: var(--text); border-radius: 8px;
    transition: .3s;
}
.naccu-nav a:hover, .naccu-nav a.active { color: var(--brown); }
.naccu-nav a.active::after {
    content: ''; position: absolute; bottom: 0; left: 18px; right: 18px;
    height: 2px; background: var(--brown); border-radius: 2px;
}

/* CTA */
.naccu-header-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brown); color: #fff; font-size: .82rem;
    font-weight: 600; padding: 11px 26px; border-radius: 10px;
    transition: .35s var(--ease); text-decoration: none;
}
.naccu-header-cta:hover {
    background: var(--deep-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 22, 16, .15);
}
.naccu-header-cta svg { width: 16px; height: 16px; }

/* Burger */
.naccu-burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px;
}
.naccu-burger span {
    width: 24px; height: 2px; background: var(--dark);
    border-radius: 2px; transition: .3s;
}
.naccu-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.naccu-burger.active span:nth-child(2) { opacity: 0; }
.naccu-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── FOOTER ── */
.naccu-footer {
    background: linear-gradient(to bottom, var(--deep-brown), #0d0704);
    color: rgba(255, 252, 248, .5);
    padding: 80px 0 0;
    font-size: .86rem;
    line-height: 1.8;
}
.naccu-footer-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}
.naccu-footer h4 {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}
.naccu-ft-links li { margin-bottom: 10px; }
.naccu-ft-links a { color: rgba(255, 252, 248, .5); }
.naccu-ft-links a:hover { color: var(--sand); padding-left: 4px; }
.naccu-ft-contact li {
    display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px;
}
.naccu-ft-contact i { color: var(--caramel); margin-top: 4px; font-size: .85rem; }
.naccu-ft-social { display: flex; gap: 10px; margin-top: 20px; }
.naccu-ft-social a {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(255, 252, 248, .1);
    display: flex; align-items: center; justify-content: center;
    transition: .3s; color: #fff; font-size: .8rem;
}
.naccu-ft-social a:hover { background: var(--brown); border-color: var(--brown); }
.naccu-footer-bottom {
    border-top: 1px solid rgba(255, 252, 248, .06);
    padding: 24px 0; font-size: .76rem; text-align: center;
}
.naccu-footer-bottom a { color: var(--caramel); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .naccu-footer-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .naccu-nav {
        display: none; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--warm-white); padding: 0;
        box-shadow: 0 16px 48px rgba(0, 0, 0, .1);
        border-radius: 0 0 20px 20px; z-index: 99;
        overflow: hidden; max-height: 0;
        transition: max-height .4s var(--ease), padding .4s var(--ease);
    }
    .naccu-nav.open { display: flex; max-height: 500px; padding: 20px 28px 28px; }
    .naccu-nav a {
        padding: 14px 16px; font-size: .95rem;
        border-bottom: 1px solid var(--border);
        width: 100%; text-align: left;
    }
    .naccu-nav a:last-child { border-bottom: none; }
    .naccu-nav a::after { display: none; }
    .naccu-nav a.active {
        background: rgba(122, 74, 46, .04); border-radius: 12px;
        border-bottom: 1px solid var(--border);
    }
    .naccu-topbar-right { display: none; }
    .naccu-burger { display: flex; }
    .naccu-header-cta { font-size: .7rem; padding: 7px 14px; border-radius: 8px; white-space: nowrap; }
    .naccu-header-cta svg { display: none; }
    .naccu-header .wrap { height: 64px; }
    .naccu-footer-row { grid-template-columns: 1fr 1fr; }
}
