/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


/* ---- Floating Leave a Message Button ---- */
#leave-msg-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background-color: #60949b;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 22px;
    font-size: 15px;
    font-family: 'DM Serif Display', serif;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
}
#leave-msg-btn:hover {
    background-color: #4d7d84;
    transform: translateY(-2px);
}

/* ---- Leave a Message Modal Overlay ---- */
#leave-msg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#leave-msg-modal {
    background: #fff;
    border-radius: 8px;
    padding: 40px 35px 35px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

#leave-msg-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}
#leave-msg-close:hover {
    color: #222;
}

#leave-msg-modal .sm-form-control {
    width: 100%;
}

@media (max-width: 540px) {
    #leave-msg-modal {
        padding: 30px 20px 25px;
        margin: 0 15px;
    }
    #leave-msg-btn {
        bottom: 20px;
        right: 20px;
        font-size: 14px;
        padding: 12px 18px;
    }
}

/* ---- Mobile Phone CTA (under logo, mobile only) ---- */
.mobile-phone-cta {
    display: inline-block;
    margin-bottom: 12px;
    background-color: #60949b;
    color: #000 !important;
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 22px;
    font-family: 'DM Serif Display', serif;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease;
}
.mobile-phone-cta:hover {
    background-color: #4d7d84;
    color: #000 !important;
}

/* Hide mobile CTA on desktop (lg = 992px+) */
@media (min-width: 992px) {
    .mobile-phone-cta {
        display: none;
    }
}

/* ---- Nav phone number: desktop only ---- */
@media (max-width: 991.98px) {
    .nav-phone-item {
        display: none !important;
    }
}
