/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Phone Number Styling with FontAwesome */
.geeco-phone-fa-button {
    display: inline-flex;
    align-items: center;
    color: #ffffff !important;
    background-color: var(--ast-global-color-0) !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease;
}

.geeco-phone-fa-button:hover {
    opacity: 0.9 !important;
    color: #ffffff !important;
    background-color: var(--ast-global-color-0) !important;
}

.geeco-phone-fa-button i {
    color: #ffffff !important;
    margin-right: 8px;
}

/* UAGB Button Classes for Phone Link */
.geeco-phone-fa-button.uagb-infobox-cta-link,
.geeco-phone-fa-button.wp-block-button__link {
    display: inline-flex !important;
    align-items: center !important;
    color: #ffffff !important;
    background-color: var(--ast-global-color-0) !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
}

.geeco-phone-fa-button.uagb-infobox-cta-link:hover,
.geeco-phone-fa-button.wp-block-button__link:hover {
    opacity: 0.9 !important;
    color: #ffffff !important;
    background-color: var(--ast-global-color-0) !important;
}

/* Ensure header HTML element displays correctly */
.ast-header-html-1,
.ast-builder-html-element {
    color: #ffffff;
}

.ast-header-html-1 *,
.ast-builder-html-element * {
    color: #ffffff;
}

/* Mobile Header Phone Number Styling */
@media (max-width: 921px) {
    .geeco-phone-fa-button,
    .ast-mobile-header .geeco-phone-fa-button,
    a.geeco-phone-fa-button,
    .geeco-phone-fa-button.uagb-infobox-cta-link,
    .geeco-phone-fa-button.wp-block-button__link,
    .ast-mobile-header .geeco-phone-fa-button.uagb-infobox-cta-link,
    .ast-mobile-header .geeco-phone-fa-button.wp-block-button__link {
        font-size: 14px !important;
        padding: 5px 12px !important;
    }
    
    .ast-mobile-header .geeco-phone-fa-button i {
        font-size: 14px;
    }
    
    /* Align phone number to the right on mobile */
    .ast-mobile-header .ast-header-html-1 {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    /* Hide mobile menu trigger if needed */
    .ast-mobile-header .ast-mobile-menu-trigger-minimal {
        display: none;
    }
}

/* Sticky Header Enhancements */
.ast-main-header-bar-wrap.ast-sticky-active {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Ensure phone number stays white when sticky */
.ast-sticky-active .geeco-phone-fa-button,
.ast-sticky-active .geeco-phone-fa-button i {
    color: #ffffff !important;
    background-color: var(--ast-global-color-0) !important;
}

/* Mobile sticky header */
@media (max-width: 921px) {
    .ast-mobile-header.ast-sticky-active {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .ast-mobile-header.ast-sticky-active .geeco-phone-fa-button {
        color: #ffffff !important;
        background-color: var(--ast-global-color-0) !important;
    }
}

/* Force sticky header if Astra settings not applying */
.ast-primary-header-bar,
.ast-main-header-wrap {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    transition: all 0.3s ease;
}

/* Ensure header stays on top when scrolling */
.ast-header-break-point .ast-primary-header-bar,
.ast-header-break-point .ast-main-header-wrap {
    position: sticky !important;
    top: 0 !important;
}
