/* =====================================================
                    STAIRS NAVBAR
              PREMIUM GOLD / BLACK THEME
===================================================== */


/* =====================================================
                    MAIN NAVBAR
===================================================== */

#mainNavbar{

    position:fixed !important;

    top:0;
    left:0;
    right:0;

    width:100%;

    height:96px;

    background:

        radial-gradient(
            circle at 8% 50%,
            rgba(212,160,23,.16) 0%,
            rgba(212,160,23,.06) 15%,
            transparent 32%
        ),

        linear-gradient(
            135deg,
            #17140F 0%,
            #11100D 45%,
            #0D0C0A 100%
        );

    border-bottom:
        1px solid
        rgba(212,160,23,.20);

    transition:
        background .4s ease,
        box-shadow .4s ease;

    z-index:99999;

    visibility:visible !important;

    opacity:1 !important;

    transform:translateY(0) !important;

}


/* =====================================================
                    SUBTLE GOLD LINE
===================================================== */

#mainNavbar::after{

    content:"";

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    height:1px;

    background:

        linear-gradient(
            90deg,
            transparent 0%,
            rgba(212,160,23,.20) 15%,
            rgba(255,215,106,.65) 50%,
            rgba(212,160,23,.20) 85%,
            transparent 100%
        );

    pointer-events:none;

}


/* =====================================================
                    SCROLLED NAVBAR
===================================================== */

#mainNavbar.scrolled{

    background:

        radial-gradient(
            circle at 8% 50%,
            rgba(212,160,23,.13),
            transparent 30%
        ),

        rgba(17,15,11,.97);

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);

    border-bottom:
        1px solid
        rgba(212,160,23,.25);

    box-shadow:

        0 10px 35px
        rgba(0,0,0,.35);

}


/* =====================================================
                    NAVBAR CONTAINER
===================================================== */

#mainNavbar .container{

    height:100%;

    display:flex;

    align-items:center;

}


/* =====================================================
                    BRAND
===================================================== */

.navbar-brand{

    display:flex;

    align-items:center;

    justify-content:flex-start;

    height:96px;

    padding:0;

    margin:0;

    text-decoration:none;

    position:relative;

    z-index:5;

}


/* =====================================================
                    MAIN LOGO
===================================================== */

.logo{

    width:115px;

    height:82px;

    object-fit:contain;

    object-position:center;

    display:block;

    transition:

        transform .35s ease,

        filter .35s ease;

    /*
        Gold ambient glow.
        This makes the darker gold/brown
        portions of the logo remain visible.
    */

    filter:

        drop-shadow(
            0 0 8px
            rgba(255,190,45,.30)
        )

        drop-shadow(
            0 5px 12px
            rgba(0,0,0,.35)
        );

}


/* =====================================================
                    LOGO HOVER
===================================================== */

.navbar-brand:hover .logo{

    transform:
        scale(1.04);

    filter:

        drop-shadow(
            0 0 14px
            rgba(255,200,65,.48)
        )

        drop-shadow(
            0 6px 15px
            rgba(0,0,0,.40)
        );

}


/* =====================================================
                    LOGO NAME
===================================================== */

/*
    The uploaded STAIRS logo already contains
    the STAIRS wordmark, so the separate text
    element stays hidden.
*/

.logo-name{

    display:none;

}


/* =====================================================
                    NAVIGATION
===================================================== */

.navbar-nav{

    display:flex;

    align-items:center;

    gap:8px;

}


/* =====================================================
                    NAVIGATION LINKS
===================================================== */

.navbar-nav .nav-link{

    position:relative;

    color:#E1D9CA !important;

    font-family:'Inter',sans-serif;

    font-size:16px;

    font-weight:600;

    padding:
        12px 17px;

    transition:

        color .3s ease,

        background .3s ease;

}


/* =====================================================
                    LINK HOVER
===================================================== */

.navbar-nav .nav-link:hover{

    color:#FFD76A !important;

}


/* =====================================================
                    ACTIVE LINK
===================================================== */

.navbar-nav .nav-link.active{

    color:#FFD76A !important;

}


/* =====================================================
                    GOLD UNDERLINE
===================================================== */

.navbar-nav .nav-link::after{

    content:"";

    position:absolute;

    left:17px;

    right:17px;

    bottom:2px;

    height:2px;

    border-radius:10px;

    background:

        linear-gradient(
            90deg,
            #A96800,
            #FFD76A,
            #A96800
        );

    transform:
        scaleX(0);

    transform-origin:center;

    transition:
        transform .35s ease;

}


/* =====================================================
                    HOVER UNDERLINE
===================================================== */

.navbar-nav .nav-link:hover::after{

    transform:
        scaleX(.65);

}


/* =====================================================
                    ACTIVE UNDERLINE
===================================================== */

.navbar-nav .nav-link.active::after{

    transform:
        scaleX(1);

}


/* =====================================================
                    RIGHT ACTIONS
        (mobile cart + hamburger, outside collapse)
===================================================== */

.navbar-right-actions{

    display:flex;

    align-items:center;

    gap:10px;

    margin-left:auto;

}


/* =====================================================
                    AUTH ACTIONS
        (desktop cart + login + register)
===================================================== */

.navbar-auth-actions{

    display:flex;

    align-items:center;

    gap:12px;

    margin-left:28px;

}


/* =====================================================
                    CART WRAPPERS
===================================================== */

.cart-mobile,
.cart-desktop{

    display:flex;

    align-items:center;

}


/* =====================================================
                    LOGIN BUTTON
===================================================== */

.btn-login{

    position:relative;

    color:#F1EEE7 !important;

    font-family:'Inter',sans-serif;

    font-size:15px;

    font-weight:600;

    text-decoration:none;

    padding:
        10px 8px;

    transition:

        color .3s ease;

}


/* =====================================================
                    LOGIN HOVER
===================================================== */

.btn-login:hover{

    color:#F5C75A !important;

}


/* =====================================================
                    REGISTER BUTTON
===================================================== */

.btn-register{

    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:145px;

    height:48px;

    padding:
        0 25px;

    border:none;

    border-radius:14px;

    background:

        linear-gradient(
            135deg,
            #A96800 0%,
            #D89B00 30%,
            #FFD76A 52%,
            #D89B00 75%,
            #A96800 100%
        );

    color:#17130D !important;

    font-family:'Inter',sans-serif;

    font-size:15px;

    font-weight:700;

    letter-spacing:.2px;

    text-decoration:none;

    box-shadow:

        0 7px 20px
        rgba(212,160,23,.18),

        inset 0 1px 0
        rgba(255,255,255,.35);

    transition:

        transform .3s ease,

        box-shadow .3s ease;

    overflow:hidden;

}


/* =====================================================
                    REGISTER BUTTON SHINE
===================================================== */

.btn-register::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:70%;

    height:100%;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left .6s ease;

}


/* =====================================================
                    REGISTER HOVER
===================================================== */

.btn-register:hover{

    color:#11100E !important;

    transform:
        translateY(-2px);

    box-shadow:

        0 12px 30px
        rgba(212,160,23,.30),

        inset 0 1px 0
        rgba(255,255,255,.45);

}


/* =====================================================
                    BUTTON SHINE HOVER
===================================================== */

.btn-register:hover::before{

    left:130%;

}


/* =====================================================
                    NAVBAR TOGGLER
===================================================== */

.navbar-toggler{

    width:48px;

    height:48px;

    padding:0;

    display:none;

    align-items:center;

    justify-content:center;

    border:
        1px solid
        rgba(212,160,23,.25);

    border-radius:12px;

    background:
        rgba(212,160,23,.06);

    color:#F5C75A;

    transition:

        background .3s ease,

        border-color .3s ease;

}


.navbar-toggler i{

    font-size:22px;

    line-height:1;

}


/* =====================================================
                    TOGGLER HOVER
===================================================== */

.navbar-toggler:hover{

    background:
        rgba(212,160,23,.12);

    border-color:
        rgba(212,160,23,.45);

}


/* =====================================================
                    TOGGLER FOCUS
===================================================== */

.navbar-toggler:focus{

    box-shadow:

        0 0 0 3px
        rgba(212,160,23,.12);

}


/* =====================================================
                    SHOPPING CART
===================================================== */

.navbar-cart{

    position:relative;

    width:44px;
    height:44px;

    min-width:44px;

    display:inline-flex;

    align-items:center;
    justify-content:center;

    color:#F5C75A !important;

    text-decoration:none;

    border:1px solid
        rgba(245,199,90,.28);

    border-radius:50%;

    background:
        rgba(212,160,23,.08);

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;

}


.navbar-cart i{

    display:block;

    color:#F5C75A !important;

    font-size:18px;

    line-height:1;

}


.navbar-cart:hover{

    color:#FFFFFF !important;

    background:
        rgba(212,160,23,.18);

    border-color:
        rgba(245,199,90,.60);

    transform:
        translateY(-1px);

    box-shadow:
        0 7px 20px
        rgba(212,160,23,.15);

}


.navbar-cart:hover i{

    color:#FFFFFF !important;

}


/* -----------------------------------------------------
                    CART BADGE
----------------------------------------------------- */

.navbar-cart .cart-count{

    position:absolute;

    top:-5px;
    right:-5px;

    min-width:19px;
    height:19px;

    padding:0 5px;

    display:flex;

    align-items:center;
    justify-content:center;

    background:#D4A017;

    color:#17130D !important;

    border-radius:50px;

    font-family:'Inter',sans-serif;

    font-size:10px;

    font-weight:800;

    line-height:1;

    border:2px solid #17140F;

    box-shadow:
        0 3px 10px
        rgba(212,160,23,.35);

}


.navbar-cart .cart-count.d-none{

    display:none !important;

}


/* -----------------------------------------------------
                    CART FOCUS
----------------------------------------------------- */

.navbar-cart:focus-visible{

    outline:none;

    box-shadow:
        0 0 0 3px
        rgba(212,160,23,.20);

}


/* =====================================================
                    DESKTOP
===================================================== */

@media(min-width:992px){

    /* Mobile cart + hamburger bar not needed */

    .cart-mobile{

        display:none !important;

    }


    .navbar-right-actions{

        display:none !important;

    }


    .navbar-toggler{

        display:none !important;

    }


    /* Collapse always open */

    #navbarMenu{

        display:flex !important;

        flex-basis:auto;

        align-items:center;

    }


    #navbarMenu .navbar-nav{

        display:flex;

        align-items:center;

    }


    /* Cart sits first, then Login / Register */

    .navbar-auth-actions{

        margin-left:auto;

    }

}


/* =====================================================
                    TABLET / MOBILE
===================================================== */

@media(max-width:991.98px){

    #mainNavbar{

        height:auto;

        min-height:76px;

        padding:
            6px 0;

    }


    #mainNavbar .container{

        height:auto;

        flex-wrap:wrap;

    }


    /* ---------------------------------------------
                    MOBILE BRAND
    --------------------------------------------- */

    .navbar-brand{

        height:64px;

    }


    .logo{

        width:90px;

        height:62px;

    }


    /* ---------------------------------------------
                    CART + HAMBURGER
    --------------------------------------------- */

    .cart-desktop{

        display:none !important;

    }


    .navbar-right-actions{

        display:flex;

        align-items:center;

        gap:8px;

        margin-left:auto;

    }


    .navbar-toggler{

        display:inline-flex !important;

        width:44px;

        height:44px;

    }


    .navbar-cart{

        width:42px;
        height:42px;

        min-width:42px;

    }


    /* ---------------------------------------------
                    MOBILE MENU
    --------------------------------------------- */

    #mainNavbar .navbar-collapse{

        width:100%;

        margin-top:10px;

        padding:14px;

        background:

            rgba(17,16,14,.97);

        backdrop-filter:
            blur(18px);

        -webkit-backdrop-filter:
            blur(18px);

        border:
            1px solid
            rgba(212,160,23,.18);

        border-radius:18px;

        box-shadow:

            0 20px 45px
            rgba(0,0,0,.35);

    }


    /* ---------------------------------------------
                    MOBILE NAV LINKS
    --------------------------------------------- */

    #navbarMenu .navbar-nav{

        display:flex;

        flex-direction:column;

        align-items:stretch;

        width:100%;

        gap:4px;

        margin:0 !important;

        text-align:center;

    }


    #navbarMenu .nav-item{

        width:100%;

    }


    #navbarMenu .nav-link{

        display:block;

        width:100%;

        min-height:48px;

        padding:
            12px 15px;

        border-radius:10px;

    }


    /* Remove desktop underline */

    .navbar-nav .nav-link::after{

        display:none;

    }


    /* Mobile hover */

    .navbar-nav .nav-link:hover{

        background:
            rgba(212,160,23,.07);

    }


    /* Mobile active */

    .navbar-nav .nav-link.active{

        background:
            rgba(212,160,23,.10);

        color:#F5C75A !important;

    }


    /* ---------------------------------------------
                    MOBILE AUTH
    --------------------------------------------- */

    .navbar-auth-actions{

        width:100%;

        display:flex;

        flex-direction:column;

        align-items:stretch;

        gap:8px;

        margin-left:0;

        margin-top:12px;

        padding-top:12px;

        border-top:
            1px solid
            rgba(212,160,23,.15);

    }


    .btn-login{

        display:block;

        text-align:center;

        padding:
            12px 15px;

        border-radius:10px;

    }


    .btn-login:hover{

        background:
            rgba(212,160,23,.07);

    }


    .btn-register{

        width:100%;

        height:50px;

        border-radius:12px;

    }

}


/* =====================================================
                    SMALL MOBILE
===================================================== */

@media(max-width:575.98px){

    .logo{

        width:82px;

        height:58px;

    }


    #mainNavbar .navbar-collapse{

        margin-left:5px;

        margin-right:5px;

    }


    .navbar-right-actions{

        gap:7px;

    }


    .navbar-toggler{

        width:42px;

        height:42px;

    }

}