/* ===== NAVBAR ===== */
header.nav-wrap{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 24px 0;
    background: transparent;
}

nav.navbar{
    max-width: 1312px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 20px 14px 24px;
    background: rgba(252, 239, 227, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(232, 106, 51, 0.14);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(120, 70, 40, 0.06);
    transition: box-shadow .3s ease, background .3s ease;
}

nav.navbar.scrolled{
    background: rgba(255,255,255,0.85);
    box-shadow: 0 10px 32px rgba(120, 70, 40, 0.12);
}

/* Logo */
.logo{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -0.02em;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.logo svg{ display:block; }

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

.nav-links a{
    position: relative;
    display: inline-block;
    padding: 9px 16px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease;
}

.nav-links a:hover{
    color: var(--ink);
    background: rgba(43,38,34,0.05);
}

.nav-links a.active{
    color: var(--orange-dark);
}

.nav-links a.active::after{
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

/* CTA */
.cta-btn{
    flex-shrink: 0;
    background: var(--orange-15);
    color: var(--orange);
    border: none;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 22px;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(232,106,51,0.30);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cta-btn:hover{
    background: #FFE3D3;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(232,106,51,0.38);
}
.cta-btn:active{ transform: translateY(0); }

/* Burger (mobile) */
.burger{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(232,106,51,0.10);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
}
.burger span{
    display: block;
    width: 20px;
    height: 2px;
    background: var(--orange-dark);
    border-radius: 2px;
    transition: transform .28s ease, opacity .2s ease;
}
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mobile panel */
.mobile-panel{
    max-width: 1312px;
    margin: 8px auto 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    border-radius: 16px;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(232,106,51,0.14);
}
.mobile-panel.open{
    max-height: 520px;
    opacity: 1;
    padding: 8px;
}
.mobile-panel ul{
    list-style: none;
}
.mobile-panel a{
    display: block;
    padding: 14px 16px;
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 10px;
}


.mobile-panel .cta-btn{
    color: var(--orange);
}

.mobile-panel a:hover, .mobile-panel a:active{
    background: rgba(232,106,51,0.08);
}
.mobile-panel .cta-btn{
    display: block;
    text-align: center;
    margin: 6px 8px 4px;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
    .nav-links{ display: none; }
    .cta-btn.desktop-only{ display: none; }
    .burger{ display: flex; }
}

@media (min-width: 901px){
    .mobile-panel{ display: none; }
}

@media (max-width: 480px){
    header.nav-wrap{ padding: 14px 12px 0; }
    nav.navbar{ padding: 10px 12px; border-radius: 14px; }
    .logo{ font-size: 19px; }
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible{
    outline: 2px solid var(--orange-dark);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
    *{ transition: none !important; }
}
