/* =====================================================
   NAVBAR WRAPPER
===================================================== */

.navbar-showcase-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    display: flex;
    justify-content: center;

    padding: 16px 20px;

    pointer-events: none;
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar-showcase {
    pointer-events: auto;

    width: 100%;
    max-width: 1150px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 12px 18px;

    border-radius: 22px;

    background: rgba(53,32,23,.60);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,.05);

    box-shadow:
        0 2px 16px rgba(0,0,0,.20);

    transition:
        background .3s,
        box-shadow .3s,
        padding .3s;
}

/* Added by JS */

.navbar-showcase.scrolled {
    background: rgba(53,32,23,.96);

    box-shadow:
        0 10px 34px rgba(0,0,0,.35),
        0 0 0 1px rgba(255,255,255,.05);
}

/* =====================================================
   LOGO
===================================================== */

.navbar-showcase-logo {
    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;

    margin-right: 20px;

    flex-shrink: 0;
}

.navbar-showcase-logo-icon {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.navbar-showcase-logo-text {

    color: #f6e7d6;
    font-weight: 600;
    font-size: 15px;

    letter-spacing: .02em;
}

.navbar-showcase-logo-text span {
    color: #e15b24;
}

/* =====================================================
   LINKS
===================================================== */

.navbar-showcase-links {

    flex: 1;

    display: flex;
    align-items: center;

    gap: 4px;
}

.navbar-showcase-link {

    text-decoration: none;

    color: rgba(246,231,214,.55);

    font-size: 13px;
    font-weight: 500;

    padding: 10px 14px;

    border-radius: 10px;

    transition: .25s;
}

.navbar-showcase-link:hover {

    color: rgba(246,231,214,.90);

    background:
        rgba(246,231,214,.05);
}

.navbar-showcase-link.active {

    color: #f6e7d6;

    background:
        rgba(246,231,214,.10);
}

/* =====================================================
   CTA
===================================================== */

.navbar-showcase-cta {

    display: inline-flex;
    align-items: center;
    gap: 8px;

    text-decoration: none;

    padding: 12px 18px;

    border-radius: 12px;

    background: #e15b24;
    color: white;

    font-size: 13px;
    font-weight: 600;

    transition: .25s;

    flex-shrink: 0;
}

.navbar-showcase-cta:hover {

    transform: translateY(-2px);

    filter: brightness(1.06);
}

.navbar-showcase-cta svg {
    width: 15px;
    height: 15px;
}

/* =====================================================
   MOBILE TOGGLE
===================================================== */

.navbar-showcase-toggle {

    display: none;

    width: 38px;
    height: 38px;

    margin-left: auto;

    border: none;
    border-radius: 10px;

    background: transparent;

    color: #f6e7d6;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    transition: .25s;
}

.navbar-showcase-toggle:hover {
    background:
        rgba(246,231,214,.08);
}

.navbar-showcase-toggle svg {
    width: 18px;
    height: 18px;
}

.icon-close {
    display: none;
}

.navbar-showcase-toggle.open .icon-menu {
    display: none;
}

.navbar-showcase-toggle.open .icon-close {
    display: block;
}

/* =====================================================
   BACKDROP
===================================================== */

.navbar-showcase-backdrop {

    position: fixed;
    inset: 0;

    background:
        rgba(53,32,23,.55);

    backdrop-filter: blur(5px);

    opacity: 0;
    visibility: hidden;

    transition: .3s;

    z-index: 998;
}

.navbar-showcase-backdrop.show {

    opacity: 1;
    visibility: visible;
}

/* =====================================================
   DRAWER
===================================================== */

.navbar-showcase-drawer {

    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    width: 300px;
    max-width: 90vw;

    background: #352017;

    display: flex;
    flex-direction: column;

    transform: translateX(100%);

    transition: transform .35s ease;

    z-index: 1099;

    /* box-shadow:
        -20px 0 50px rgba(0,0,0,.45); */
}

.navbar-showcase-drawer.open {
    transform: translateX(0);
}

/* =====================================================
   DRAWER HEADER
===================================================== */

.navbar-showcase-drawer-header {

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 24px;

    border-bottom:
        1px solid rgba(246,231,214,.08);
}

.navbar-showcase-drawer-logo {

    color: #f6e7d6;
    font-size: 20px;
    font-family:
        "Playfair Display",
        sans-serif;
}

.navbar-showcase-drawer-logo span {
    color: #e15b24;
}

.navbar-showcase-drawer-close {

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 10px;

    background:
        rgba(246,231,214,.08);

    color: #f6e7d6;

    cursor: pointer;
}

.navbar-showcase-drawer-close svg {

    width: 16px;
    height: 16px;
}

/* =====================================================
   DRAWER LINKS
===================================================== */

.navbar-showcase-drawer-links {

    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 4px;

    padding: 18px;
}

.navbar-showcase-drawer-link {

    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;

    color:
        rgba(246,231,214,.75);

    padding: 14px 16px;

    border-radius: 12px;

    transition: .25s;
}

.navbar-showcase-drawer-link:hover {

    background:
        rgba(246,231,214,.06);
}

.drawer-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;
}

.drawer-dot.orange {
    background: #e15b24;
}

.drawer-dot.sage {
    background: #6b8f71;
}

/* =====================================================
   DRAWER FOOTER
===================================================== */

.navbar-showcase-drawer-footer {

    padding: 24px;

    border-top:
        1px solid rgba(246,231,214,.08);
}

.navbar-showcase-drawer-button {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    text-decoration: none;

    width: 100%;

    padding: 15px;

    border-radius: 14px;

    background: #e15b24;
    color: white;

    font-weight: 600;

    transition: .25s;
}

.navbar-showcase-drawer-button:hover {
    filter: brightness(1.08);
}

.navbar-showcase-drawer-button svg {
    width: 16px;
    height: 16px;
}

.navbar-showcase-drawer-note {

    margin-top: 14px;

    text-align: center;

    color:
        rgba(246,231,214,.30);

    font-size: 11px;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .navbar-showcase-links,
    .navbar-showcase-cta,
    .navbar-showcase-logo-text {
        display: none;
    }

    .navbar-showcase-toggle {
        display: flex;
    }

    .navbar-showcase {
        padding: 10px 14px;
    }

}

@media (min-width:769px){

    .navbar-showcase-backdrop,
    .navbar-showcase-drawer{
        display:none;
    }

}