/* Site chrome customisations layered on top of the Colorlib template (style.css):
   header (menu) + footer polish. */

/* Soften the transition between the dark header and page content with a
   hairline border + a soft red glow that lives inside the header at its
   bottom edge, plus a faint bleed extending a touch into the content. */
.site-navbar {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(
        to top,
        rgba(225, 29, 72, 0.22) 0%,
        rgba(225, 29, 72, 0) 25%
    );
}

.site-navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(225, 29, 72, 0.12), rgba(225, 29, 72, 0));
    pointer-events: none;
    z-index: 1;
}

.site-navbar .site-navigation .site-menu > li.nav-signup-cta {
    margin-left: 8px;
}

.site-navbar .site-navigation .site-menu > li.nav-signup-cta > .nav-signup-prefix {
    color: #94A3B8;
    font-size: 12px;
    letter-spacing: 0.02rem;
    text-transform: none;
    font-weight: 400;
    padding-left: 20px;
    margin-right: 6px;
}

.site-navbar .site-navigation .site-menu > li.nav-signup-cta > a.nav-signup-link {
    color: #E11D48 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1rem;
    padding: 5px 4px;
    text-decoration: none !important;
    transition: opacity 0.15s;
}

.site-navbar .site-navigation .site-menu > li.nav-signup-cta > a.nav-signup-link:hover {
    color: #ff3a64 !important;
    opacity: 1;
}

/* Primary login CTA — red pill button. */
.site-navbar .site-navigation .site-menu > li > a.nav-login-btn {
    background: #E11D48;
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.45);
    transition: box-shadow 0.15s, transform 0.1s, background-color 0.15s;
    margin-left: 12px;
}

.site-navbar .site-navigation .site-menu > li > a.nav-login-btn:hover {
    background: #c81743;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.55);
    color: #fff !important;
}

.site-navbar .site-navigation .site-menu > li > a.nav-login-btn:active {
    transform: translateY(1px);
}

/* Suppress the colorlib underline indicator on the button if it ever lands on /auth/login. */
.site-navbar .site-navigation .site-menu > li.active > a.nav-login-btn:before {
    display: none;
}

/* Mobile off-canvas drawer — restyled to match the site's dark theme
   (Colorlib default is a white panel which clashes with the dark chrome). */
.site-mobile-menu {
    background: #1A1E25;
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: -12px 0 32px -16px rgba(0, 0, 0, 0.6);
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span {
    color: #fff;
}

.site-mobile-menu .site-mobile-menu-header .site-mobile-menu-close span:hover {
    color: #E11D48;
}

.site-mobile-menu .site-mobile-menu-body {
    padding-top: 8px;
}

.site-mobile-menu .site-nav-wrap > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-mobile-menu .site-nav-wrap > li:last-child {
    border-bottom: 0;
}

.site-mobile-menu .site-nav-wrap a {
    color: #fff;
    font-weight: 500;
    padding: 14px 16px;
    text-decoration: none;
}

.site-mobile-menu .site-nav-wrap a:hover {
    color: #E11D48;
    background: rgba(255, 255, 255, 0.03);
}

.site-mobile-menu .site-nav-wrap li.active > a {
    color: #E11D48;
}

/* Auth CTAs collapse into plain rows inside the drawer. */
.site-mobile-menu .site-nav-wrap .nav-signup-cta {
    padding: 14px 16px;
}

.site-mobile-menu .site-nav-wrap .nav-signup-cta .nav-signup-prefix {
    color: #94A3B8;
    font-size: 13px;
    margin-right: 8px;
}

.site-mobile-menu .site-nav-wrap .nav-signup-cta .nav-signup-link {
    display: inline;
    color: #E11D48 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08rem;
    padding: 0;
    background: transparent;
}

.site-mobile-menu .site-nav-wrap a.nav-login-btn {
    display: inline-block;
    margin: 12px 16px;
    padding: 10px 20px;
    background: #E11D48;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.45);
}

.site-mobile-menu .site-nav-wrap a.nav-login-btn:hover {
    background: #c81743;
    color: #fff !important;
}

/* Soften the transition between page content and the footer with a top-side
   gradient that fades the footer's lighter colour into the content above. */
.footer-section {
    position: relative;
}

.footer-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -32px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(26, 30, 37, 0), rgba(26, 30, 37, 1));
    pointer-events: none;
    z-index: 1;
}
