/*
Template:       mr-roof
Theme Name:     Mr-Roof Child
Theme URI:      https://radiustheme.com/demo/wordpress/themes/roofix
Author:         RadiusTheme
Author URI:     https://www.radiustheme.com
Description:    Roofix is a clean and modern WordPress Theme. This theme comes with all necessary features and pages for a Roofing website.
Version:        1.0
Tags:           two-columns, three-columns, left-sidebar, right-sidebar, custom-colors, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog
License:        Envato split License
License URI:    https://themeforest.net/licenses/terms/regular
*/
.header-style-6 .site-header .main-navigation ul li a
{
    padding: 24px 12px;
}
#site-navigation {
    line-height: 15px !important;
}
.middle-bar-logo:after {
    right: 34px;
    height: 91%; width: 500% ;}

.middle-bar-logo {
    width: 100%;
    position: relative;
    padding: 0 !important;
    z-index: 100;
    margin-left: -180px;
    /* Push logo to the left */
}

.middle-bar-logo img {
    transform: translateY(5px);
    /* Move logo up to overlap above red bar */
    max-height: 95px !important;
    max-width: none !important;
    /* Make logo bigger */
    width: auto !important;
    height: auto !important;
}

/* Override parent theme logo constraints */
.site-header .site-branding {
    max-width: none !important;
}

.site-header .site-branding a img {
    max-height: 90px !important;
    max-width: none !important;
    width: auto !important;
}

#header-menu.menu-layout6 {
    height: 76px !important;
}

#header-menu.menu-layout6 .container,
#header-menu.menu-layout6 .row {
    height: 100% !important;
}

/* Remove white space above the header/red bar */
.site-header.header {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

#sticky-placeholder {
    display: none !important;
}

/* Suppress elements above the main header bar that cause white strip */
#mobile-sticky-placeholder {
    display: none !important;
    height: 0 !important;
}

#tophead {
    display: none !important;
    height: 0 !important;
}

#mobile-header-topbar {
    display: none !important;
    height: 0 !important;
}

/* Hide mobile meanmenu nav bar on desktop - it renders above #header-menu creating white space */
@media (min-width: 992px) {
    #meanmenu {
        display: none !important;
        height: 0 !important;
    }
}

.header-area,
.rt-sticky-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.header-menu {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.menu-layout6 .row.d-flex.align-items-center {
    min-height: 0 !important;
    padding: 0 !important;
}

/* Adjust column widths to create space */
.menu-layout6 .row>.col-lg-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
}


.menu-layout6 .row>.col-lg-7 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}



.menu-layout6 .col-lg-7.d-flex {
    justify-content: flex-end !important;
}


/* Quote Button Styling */
.quote-btn {
    background-color: #ee212b !important;
    /* Theme Red */
    color: #fff !important;
    padding: 23px 30px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1.5px;
    margin-top: -17px;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none !important;
    border: 2px solid #ee212b !important;
}

.quote-btn:hover {
    background-color: transparent !important;
    color: #ee212b !important;
}


.quote-btn-wrap {
    list-style: none;
    margin-left: 20px;
}

/* Remove padding from button container so button is vertically centered */
.header-action-layout2 ul {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.header-action-layout2 .col-lg-2,
#header-menu.menu-layout6 .col-lg-2 {
    display: flex !important;
    align-items: center !important;
}

/* Adjust columns for the button */
.menu-layout6 .row>.col-lg-2 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
}


/* ==============================
   Service Hero Banner (Power-style)
   ============================== */

.entry-banner.service-hero-banner {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.entry-banner.service-hero-banner.inner-page-top-margin {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.entry-banner.service-hero-banner::before,
.entry-banner.service-hero-banner::after {
    display: none !important;
}

.service-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0 100px;
    background: linear-gradient(160deg, #3d5a80 0%, #5b7faa 25%, #7a9ec9 50%, #98bbdd 75%, #b8d4ed 100%);
}

.service-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Left content */
.service-hero-content {
    flex: 1 1 55%;
    max-width: 55%;
    text-align: left;
}

.service-hero-banner .entry-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    word-break: keep-all;
    overflow-wrap: normal;
}

.service-hero-tagline {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 500px;
}

.service-hero-scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-bottom: 2px solid #fff;
    padding-bottom: 8px;
    transition: opacity 0.3s ease;
}

.service-hero-scroll-link:hover {
    opacity: 0.7;
    color: #fff;
    text-decoration: none !important;
}

.service-hero-scroll-link .scroll-arrow {
    font-size: 16px;
    line-height: 1;
}

/* Right hero image */
.service-hero-image {
    flex: 0 0 45%;
    max-width: 45%;
    text-align: right;
    position: relative;
}

.service-hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

/* Responsive */
@media (max-width: 991px) {
    .service-hero-banner {
        min-height: 400px;
    }

    .service-hero-inner {
        padding: 60px 0 80px;
    }

    .service-hero-banner .entry-title {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .service-hero-content {
        flex: 0 0 55%;
        max-width: 55%;
    }

    .service-hero-image {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

@media (max-width: 767px) {
    .service-hero-banner {
        min-height: auto;
    }

    .service-hero-inner {
        padding: 40px 0 60px;
    }

    .service-hero-row {
        flex-direction: column;
        gap: 30px;
    }

    .service-hero-content {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .service-hero-image {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .service-hero-banner .entry-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .service-hero-tagline {
        font-size: 14px;
    }
}

/* Customer Bill of Rights - reduce gap between icon and text boxes */
.page-id-4829 .elementor-element-d7d8f04 {
    column-gap: 20px !important;
}

/* Project slider - always show title, not just on hover */
.project-box-layout6-new .project-box .item-content {
    bottom: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
}