/*! Place your custom styles here */

@import "https://cdn.jsdelivr.net/npm/@splidejs/splide@latest/dist/css/splide.min.css";

.bar--transparent:not(.bar--dark):not(.pos-fixed) .menu-horizontal > li > a.nav-active,
.bar--transparent:not(.bar--dark):not(.pos-fixed) .menu-horizontal > li > span#nav-active
   {
    color: rgba(255,255,255,1.0);
    opacity: 1.0;
   }

.bar--transparent:not(.bar--dark) {
    background: rgba(0, 0, 0, 0.56);
}

html
{
    background: #252525;
    scroll-behavior: smooth;
}

.imagebg:not(.image--light) .boxed:not(.bg--white):not(.bg--none)
{
    background: rgba(20, 20, 20, 0.9);
    /* background: #252525; */
}

#menu-pad
{
    padding-left: 0.5em;
}

.welcome-block
{
    width: 100%;
    margin-bottom: 3em;
}

.welcome-padding
{
    display: inline;
    padding: 1em 0em;
}

.welcome-button-2
{
    vertical-align: top;
}

@media all and (max-width: 767px) {
 #mobile-calign
 {
     text-align: center !important;
 }

 #menu-pad
 {
     padding-left: 0em;
 }

 #maps-padding
 {
     padding-top: 0.5em;
 }

 #inventoryOverlay
 {
     width: 75% !important;
     left: 12.5% !important;
 }
}

#maps-padding
{
    padding-top: 4.5em;
}

.splide__slide img
{
    min-width: 100%;
    height: auto;
}

.glide__arrow
{
    border-radius: 50%;
    background-color: rgba( 36, 36, 36, 0.75 );
    fill: #fff;
}

#inventoryOverlay
{
    background-color: rgba( 0, 0, 0, 0.75 );
    border-radius: 5px;
    backdrop-filter: blur(5px);
    width: 50%;
    left: 25%;
    top: 25%;
    padding: 1em;
    z-index: 1050;
    position: absolute;
    color: #fff;
    display: none;
}

.main-container
{
    position: relative;
}

#promoBox {
    border-radius: 9px;
    padding: 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    background-color: rgba(0, 0, 0, 0.6);
    margin: 0 auto;
    width: fit-content;
}

#banner {
    font-size: 1.75rem !important;
}

@media (max-width: 600px) {
    #banner {
        font-size: 1.5rem !important;
    }

    #promoBox {
        max-width: 100vw;
    }

    .end-msg {
        border-radius: 0px !important;
    }
}

/* ============================================
   RETIREMENT SALE POPUP & BANNER STYLES
   ============================================ */

/* Popup Overlay */
#salePopupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#salePopupOverlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
#salePopup {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 3px solid #7adfbb;
    border-radius: 12px;
    padding: 2.5em 2em;
    max-width: 560px;
    width: 90%;
    position: relative;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 60px rgba(122, 223, 187, 0.25), 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#salePopupOverlay.active #salePopup {
    transform: scale(1);
}

/* Close Button */
#salePopupClose {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s ease;
    z-index: 10;
}

#salePopupClose:hover {
    color: #fff;
}

/* Popup Heading */
#salePopup .sale-popup-tag {
    display: inline-block;
    background: #7adfbb;
    color: #121212;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 3px;
    margin-bottom: 1em;
}

#salePopup h2 {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.6em;
    color: #fff;
}

#salePopup h2 span.highlight {
    color: #7adfbb;
    display: block;
    font-size: 2rem;
}

#salePopup .sale-popup-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75em;
    line-height: 1.5;
}

#salePopup .sale-popup-callout {
    background: rgba(122, 223, 187, 0.12);
    border: 1px solid rgba(122, 223, 187, 0.35);
    border-radius: 6px;
    padding: 0.8em 1em;
    margin: 1em 0 1.5em;
}

#salePopup .sale-popup-callout p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #7adfbb;
}

#salePopup .sale-popup-callout span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    display: block;
    margin-top: 0.3em;
    font-weight: 400;
}

#salePopup .sale-popup-cta {
    display: inline-block;
    background: #7adfbb;
    color: #121212;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 36px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

#salePopup .sale-popup-cta:hover {
    background: #8fe4c6;
    transform: translateY(-1px);
}

/* Banner Link (shown after popup is closed) */
#saleBannerLink {
    display: none;
    background: linear-gradient(90deg, #7adfbb 0%, #5cc9a5 100%);
    text-align: center;
    padding: 0.6em 1em;
    position: relative;
    z-index: 9999;
}

#saleBannerLink a {
    color: #121212;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: opacity 0.2s ease;
}

#saleBannerLink a:hover {
    opacity: 0.8;
}

#saleBannerLink .banner-link-arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

#saleBannerLink a:hover .banner-link-arrow {
    transform: translateX(3px);
}

/* Show banner when popup has been dismissed */
body.sale-banner-visible #saleBannerLink {
    display: block;
}

/* ============================================
   RESPONSIVE - SALE POPUP & BANNER
   ============================================ */

@media (max-width: 600px) {
    #salePopup {
        padding: 2em 1.25em;
        max-width: 95%;
    }

    #salePopup h2 {
        font-size: 1.3rem;
    }

    #salePopup h2 span.highlight {
        font-size: 1.6rem;
    }

    #salePopup .sale-popup-sub {
        font-size: 0.85rem;
    }

    #salePopup .sale-popup-callout p {
        font-size: 1rem;
    }

    #salePopup .sale-popup-cta {
        padding: 10px 28px;
        font-size: 0.8rem;
    }

    #saleBannerLink a {
        font-size: 0.8rem;
    }
}
