/*
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
*/


        @font-face {
            font-family: 'Modern';
            src: url('template-parts/Modern-Bold.woff2') format('woff2'),
                url('template-parts/Modern-Bold.woff') format('woff');
            font-weight: bold;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Modern';
            src: url('template-parts/Modern-Book.woff2') format('woff2'),
                url('template-parts/Modern-Book.woff') format('woff');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Modern';
            src: url('template-parts/Modern-LightItalic.woff2') format('woff2'),
                url('template-parts/Modern-LightItalic.woff') format('woff');
            font-weight: 300;
            font-style: italic;
            font-display: swap;
        }

        @font-face {
            font-family: 'Modern';
            src: url('template-parts/Modern-Medium.woff2') format('woff2'),
                url('template-parts/Modern-Medium.woff') format('woff');
            font-weight: 500;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Modern';
            src: url('template-parts/Modern-Light.woff2') format('woff2'),
                url('template-parts/Modern-Light.woff') format('woff');
            font-weight: 300;
            font-style: normal;
            font-display: swap;
        }

        @font-face {
            font-family: 'Modern';
            src: url('template-parts/Modern-Thin.woff2') format('woff2'),
                url('template-parts/Modern-Thin.woff') format('woff');
            font-weight: 100;
            font-style: normal;
            font-display: swap;
        }
    

body:not(.wp-admin),
body:not(.wp-admin) *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.ri):not([class*="icon"]):not(#wpadminbar):not(#wpadminbar *) {
    font-family: 'Modern', sans-serif !important;
}

#word-front {
    margin-top: 270px;
}

.elementor-3861 .elementor-element.elementor-element-195783fb {
    overflow: hidden;
    padding: 72px 0px 0px 0px !important;
}

.rt-sticky .main-navigation > nav > ul.menu > li > a
{
color: rgb(16 47 72) !important;
}


.contact-wrap-layout-before:before {
    width: 35%;;
}
#content {margin-top:-15px;}

/* Reset WordPress admin bar to default font */
#wpadminbar,
#wpadminbar * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

body {
    letter-spacing: 0.04em !important;
}

p, li, td, th, label, span, a {
    letter-spacing: 0.09em
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.06em !important;
}

.header-style-6 .site-header .main-navigation ul li a
{
    padding: 24px 12px;
    font-size: 14px;
}
#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 */
}


.elementor-image-box-img img {
    border-radius: 20px;
}

.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: 93px !important;
}
#header-menu.rt-sticky{
border-bottom: 1px solid red;
}

#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;
}

.rt-header-menu.menu-layout6.rt-sticky{
    background-color: white;
}



.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: 30px 30px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 0;
    letter-spacing: .3em;
    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: 54px;
    font-weight: 300;
    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;
}


/** Customize Wordpress Admina Panel ***/

.middle-bar-logo:after,
.rt-header-menu {
	background: none;
}

.middle-bar-logo:after{
	background-color: none;
}

#header-menu.menu-layout6 .container, #header-menu.menu-layout6 .row{
	max-width: none;
}

.site-header .main-navigation ul.menu > li.current-menu-item > a, .site-header .main-navigation ul.menu > li.current > a,
.site-header .main-navigation > nav > ul.menu > li > a {
	color: white;
	
	font-weight: 700;
}

#site-navigation {
	margin: 0 auto;
}

.site-header .main-navigation ul li{
	padding: 0 18px;
}
.menu-layout6 .row>.col-lg-2 {
    flex: 0 0 25% !important;
    max-width: 30% !important;
}

#header-menu .header-action-layout2 .col-lg-2, #header-menu.menu-layout6 .col-lg-2{
	padding: 0px;

}
.elementor-405 .elementor-element.elementor-widget-icon-box {
    width: var(--container-widget-width, 24%);
    max-width: 23%;
    margin: 0px 15px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;
    padding: 30px 18px 20px; /* extra top space for header */
    cursor: grab;

    /* Base card */
    background: linear-gradient(145deg, #ff4d57, #d91620);

    position: relative;
    overflow: hidden;

    border-radius: 12px;

    box-shadow: 
        0 6px 18px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.25);

    transition: all 0.3s ease;
}

/* 🔥 BLACK TOP STRIP */
.elementor-405 .elementor-element.elementor-widget-icon-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: #111; /* black strip */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* OPTIONAL: GOLD LABEL (like "OUR CONTACTS") */
.elementor-405 .elementor-element.elementor-widget-icon-box .custom-label {
    position: absolute;
    top: -14px;
    left: 15px;
    background: #b8892d;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    letter-spacing: 1px;
    z-index: 2;
}

/* Gloss shine */
.elementor-405 .elementor-element.elementor-widget-icon-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.0),
        rgba(255,255,255,0.35),
        rgba(255,255,255,0.0)
    );
    transform: skewX(-20deg);
    transition: 0.6s;
}

.elementor-405 .elementor-element.elementor-widget-icon-box:hover::before {
    left: 130%;
}

/* Hover */
.elementor-405 .elementor-element.elementor-widget-icon-box:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 12px 28px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.3);
}


.elementor-element.elementor-element-6dac959 .elementor-icon-box-title {
	color: white;
}
.elementor-icon-box-description,
.elementor-icon-box-title{
	color: white !important;
}


body:not(.home) .site-header .main-navigation > nav > ul.menu > li > a {color: black;}

.site-header .main-navigation > nav > ul.menu > li > a {
	letter-spacing: 4.8px;
  line-height: 18.2px;
}

/* ==============================
   Remove Pagination Site-Wide
   ============================== */
.pagination-area,
.single-post-pagination,
.pagination-layout1,
.pagination-layout2,
nav.pagination,
.nav-links,
.page-numbers,
.elementor-pagination,
.e-load-more-anchor {
    display: none !important;
}

/* Homepage hero section - vertically center content */
.elementor-3861 .elementor-element.elementor-element-46259666 {
    display: flex !important;
    align-items: center !important;
    padding: 0px 0px 0px 0px;
}

.elementor-3861 .elementor-element.elementor-element-46259666 > .elementor-container {
    width: 100%;
    min-height: 900px;
}

.elementor-3861 .elementor-element.elementor-element-5ee1d140 .item-title {
    font-weight: 300;
}

/* Doors page — equal-height icon boxes (last row) */
.elementor-4812 .elementor-element.elementor-element-0941965 > .elementor-element-populated {
    align-items: stretch !important;
}


.elementor .elementor-element.elementor-widget-n-tabs:not(:has(>.elementor-widget-container))>.e-n-tabs>.e-n-tabs-heading .e-n-tab-title[aria-selected=true]{
    background-color: #ee212b !important;
    color: white !important;
}

.elementor .elementor-element.elementor-widget-n-tabs:not(:has(>.elementor-widget-container))>.e-n-tabs>.e-n-tabs-heading .e-n-tab-title[aria-selected=true]:hover{
    background-color: #ee212b !important;
    color: white !important;
}

.elementor .e-n-tab-title:hover{
    background-color: #ee212b !important;
    color: black !important;
}



.elementor-widget-n-tabs .e-n-tab-title-text{
    font-size: medium !important;
}

/* ==================================================
   Services Overview page (templates/services-3.php)
   ================================================== */

.svc-overview {
    padding: 30px 0 90px;
    scroll-behavior: smooth;
}

.svc-eyebrow {
    display: inline-block;
    color: #ee212b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* --- Intro band --- */
.svc-intro {
    padding: 55px 0 10px;
    text-align: center;
}

.svc-intro__title {
    color: #fff;
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px;
}

.svc-intro__text {
    color: #b7bcc4;
    font-size: 16px;
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto;
}

/* --- Section head --- */
.svc-section {
    padding: 55px 0 0;
}

.svc-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.svc-section__title {
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
}

.svc-section__desc {
    color: #9ca3af;
    font-size: 15px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0;
}

.svc-view-all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-bottom: 2px solid #ee212b;
    padding-bottom: 8px;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.svc-view-all:hover {
    color: #ee212b;
}

/* --- Card grid --- */
.svc-grid {
    display: grid;
    gap: 28px;
}

.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc-grid--4 { grid-template-columns: repeat(4, 1fr); }
.svc-grid--wide { grid-template-columns: repeat(2, 1fr); }

/* --- Card --- */
.svc-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
}

.svc-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 210px;
    padding: 22px;
    background: linear-gradient(160deg, #f6f7f9 0%, #e8eaee 100%);
    overflow: hidden;
}

.svc-card__media img {
    max-width: 100%;
    max-height: 168px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(17, 17, 17, 0.18));
    transition: transform 0.35s ease;
}

.svc-card:hover .svc-card__media img {
    transform: scale(1.06);
}

.svc-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px 26px 26px;
}

.svc-card__title {
    color: #111111;
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 14px;
    position: relative;
    padding-bottom: 12px;
}

.svc-card__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: #ee212b;
}

.svc-card__text {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svc-card__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ee212b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.svc-card__more .fas {
    transition: transform 0.3s ease;
}

.svc-card:hover .svc-card__more .fas {
    transform: translateX(5px);
}

/* Wide (horizontal) cards — Siding & Home Additions */
.svc-card--wide {
    flex-direction: row;
}

.svc-card--wide .svc-card__media {
    flex: 0 0 45%;
    height: auto;
    min-height: 240px;
}

.svc-card--wide .svc-card__body {
    flex: 1 1 55%;
    justify-content: center;
}

/* --- CTA band --- */
.svc-cta {
    padding: 80px 0 0;
}

.svc-cta__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(120deg, #ee212b 0%, #b3121b 100%);
    border-radius: 12px;
    padding: 48px 56px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.svc-cta__title {
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
}

.svc-cta__text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.svc-cta__actions {
    display: flex;
    flex-shrink: 0;
    gap: 16px;
}

.svc-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.svc-btn--solid {
    background: #111111;
    color: #fff;
    border: 2px solid #111111;
}

.svc-btn--solid:hover {
    background: #fff;
    color: #111111;
    border-color: #fff;
}

.svc-btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.svc-btn--ghost:hover {
    background: #fff;
    color: #ee212b;
    border-color: #fff;
}

/* --- Responsive --- */
@media (max-width: 1199px) {
    .svc-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .svc-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .svc-grid--wide { grid-template-columns: 1fr; }

    .svc-section__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .svc-cta__panel {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}

@media (max-width: 767px) {
    .svc-grid--3,
    .svc-grid--4 { grid-template-columns: 1fr; }

    .svc-intro__title { font-size: 28px; }
    .svc-section__title { font-size: 24px; }

    .svc-card--wide { flex-direction: column; }

    .svc-card--wide .svc-card__media {
        flex-basis: auto;
        min-height: 0;
        height: 210px;
    }

    .svc-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .svc-btn { text-align: center; }
}
