/* contact Details */

.mpl-address {
	background-color: var(--primary-color);
	color: var(--light-color);
	margin-bottom: 0;
}
.mpl-socials a {
	color: var(--light-color);
	text-decoration: none;
}

.mpl-socials-dark a {
	color: var(--dark-color);
	text-decoration: none;
}
	
/* Header Nav Bar */

.navbar-mpl .nav-link {
	color: var(--light-color);
	font-weight: bold;
}

.navbar-mpl .nav-link:hover, .navbar-mpl .active .nav-link {
	color: var(--primary-color);
	font-weight: bold;
}

.navbar-mpl-three .nav-link {
	color: var(--light-color);
	font-weight: bold;
}

.navbar-mpl-three .nav-link:hover, .navbar-mpl-three .active .nav-link {
	color: var(--dark-color);
	font-weight: bold;
}

.mpl-header .contact-mpl {
	background-color: var(--primary-color);
	color: white;
}

.mpl-header .contact-mpl a {
	color: white;
}

/* ==========================================================================
   Header Layout 1: Centered Logo & Split Top Bar (Variables Version)
   ========================================================================== */

/* Top Address Bar Enhancements */
.mpl-header-centered .mpl-address {
    background-color: var(--light-color) !important;
    color: var(--dark-color);
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mpl-header-centered .mpl-address i {
    color: var(--primary-color);
}

/* Horizontal listing behavior for standard get_socials_mpl_theme() outputs */
.mpl-header-centered .mpl-socials ul,
.mpl-header-centered .mpl-socials ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    gap: 1rem;
}

.mpl-header-centered .mpl-socials a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.mpl-header-centered .mpl-socials a:hover {
    color: var(--action-color);
}

/* Main Logo Area Fixes */
.mpl-header-centered .blog-name h1 {
    color: var(--dark-color);
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0;
}

.mpl-header-centered .custom-logo-link img {
    max-height: 90px;
    width: auto;
    display: inline-block;
}

/* Center-aligned Navigation Structural Rules */
.mpl-header-centered .navbar {
    padding: 0;
    width: 100%;
}

.mpl-header-centered .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Nav Item Links */
.mpl-header-centered .navbar-nav .nav-link {
    color: var(--dark-color);
    transition: color 0.2s ease-in-out;
}

.mpl-header-centered .navbar-nav .nav-link:hover,
.mpl-header-centered .navbar-nav .nav-link:focus,
.mpl-header-centered .navbar-nav .active > .nav-link {
    color: var(--action-color);
}

/* Dropdown Menu alignment safety rules for Centered Menu Elements */
@media (min-width: 992px) {
    .mpl-header-centered .navbar-nav .dropdown-menu {
        left: 50%;
        transform: translateX(-50%);
        text-align: left;
        background-color: var(--light-color);
        border-color: rgba(0, 0, 0, 0.08);
    }
    
    .mpl-header-centered .navbar-nav .dropdown-item {
        color: var(--dark-color);
    }
    
    .mpl-header-centered .navbar-nav .dropdown-item:hover {
        background-color: var(--secondary-color);
        color: var(--light-color);
    }
}

/* Mobile Breakpoint Refinements */
@media (max-width: 767.98px) {
    .mpl-header-centered .mpl-address .row > div:first-child {
        margin-bottom: 0.5rem; /* Separates stacked contacts from socials on mobile */
    }
    
    .mpl-header-centered .mpl-address span {
        display: block; /* Vertical stacked list of email/phone elements on small screens */
        margin-right: 0 !important;
        margin-bottom: 0.25rem;
    }
    
    .mpl-header-centered .navbar-collapse {
        background-color: var(--light-color); /* Safety fill colour using your variable */
        padding: 1rem 0;
        margin-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
}

/* ==========================================================================
   Header Layout 3: Corporate Info Blocks (Variables Version)
   ========================================================================== */

/* Top Mini Strip for Socials Only */
.mpl-header-blocks .mpl-address {
    background-color: var(--dark-color) !important;
    font-size: 0.875rem;
}

/* Horizontal alignment for strip icons */
.mpl-header-blocks .mpl-socials ul,
.mpl-header-blocks .mpl-socials ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    gap: 1.25rem;
}

.mpl-header-blocks .mpl-socials a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.mpl-header-blocks .mpl-socials a:hover {
    color: var(--action-color);
}

/* Mid Section Brand Area */
.mpl-header-blocks .blog-name h2 {
    color: var(--dark-color);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.mpl-header-blocks .custom-logo-link img {
    max-height: 80px;
    width: auto;
    display: inline-block;
}

/* Visual Contact Blocks Configuration */
.mpl-header-blocks .text-uppercase.text-muted {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.mpl-header-blocks strong {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.mpl-header-blocks strong i {
    color: var(--primary-color);
}

/* Divider block utility adjustments */
.mpl-header-blocks .border-start {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Bottom Strip: Full-Width Navigation Wrapper */
.mpl-header-blocks .bg-light.border-top {
    background-color: var(--light-color) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.mpl-header-blocks .navbar {
    padding: 0;
}

/* Navigation Links Style Rules */
.mpl-header-blocks .navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: color 0.2s ease-in-out;
}

.mpl-header-blocks .navbar-nav .nav-link:hover,
.mpl-header-blocks .navbar-nav .nav-link:focus,
.mpl-header-blocks .navbar-nav .active > .nav-link {
    color: var(--action-color);
}

/* Standard Dropdown Customisations */
.mpl-header-blocks .navbar-nav .dropdown-menu {
    background-color: var(--light-color);
    border-color: rgba(0, 0, 0, 0.08);
}

.mpl-header-blocks .navbar-nav .dropdown-item {
    color: var(--dark-color);
}

.mpl-header-blocks .navbar-nav .dropdown-item:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

/* Responsive & Mobile Stacking Enhancements */
@media (max-width: 767.98px) {
    .mpl-header-blocks .gap-4 {
        gap: 1.5rem !important; /* Tightens alignment spacing on rows for smaller viewports */
    }
    
    .mpl-header-blocks .border-start {
        border-left: 0 !important; /* Removes horizontal divider on small stacked layout */
        border-top: 1px dashed rgba(0, 0, 0, 0.1);
        padding-left: 0 !important;
        padding-top: 0.5rem;
    }
    
    .mpl-header-blocks .navbar-collapse {
        background-color: var(--light-color);
        padding: 1rem;
        margin-top: 0.5rem;
    }
}

/* =========================================
   Plant Hire - Page Header / Hero
   ========================================= */

.mpl-breadcrumb {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 360px;
    padding: 0;

    color: var(--light-color);

    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-blend-mode: multiply;

    /* Corporate dark overlay */
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.55);
}


/* =========================================
   Inner Container
   ========================================= */

.mpl-breadcrumb > .container {
    position: relative;
    z-index: 2;
}


/* =========================================
   Header Content
   ========================================= */

.mpl-breadcrumb .text-center {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}


/* =========================================
   Page Title
   ========================================= */

.mpl-breadcrumb .page-title {
    margin: 0 0 20px;

    color: var(--light-color);

    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;

    text-transform: uppercase;
    letter-spacing: 0.02em;

    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}


/* =========================================
   Breadcrumbs
   ========================================= */

.mpl-breadcrumb #breadcrumbs {
    margin: 0;
    padding-bottom: 25px !important;

    color: var(--light-color);

    font-size: 0.9rem;
    line-height: 1.5;
}

.mpl-breadcrumb #breadcrumbs a {
    color: var(--light-color);
    text-decoration: none;

    transition: color 0.2s ease;
}

.mpl-breadcrumb #breadcrumbs a:hover {
    color: var(--primary-color);
}

.mpl-breadcrumb #breadcrumbs .breadcrumb_last {
    color: var(--primary-color);
    font-weight: 600;
}


/* =========================================
   Breadcrumb Separators
   ========================================= */

.mpl-breadcrumb #breadcrumbs .breadcrumb_last::before {
    color: var(--light-color);
}


/* =========================================
   Header CTA
   ========================================= */

.mpl-breadcrumb .btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 140px;
    padding: 13px 28px;

    color: var(--light-color);
    background-color: var(--action-color);

    border: 2px solid var(--action-color);
    border-radius: 3px;

    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.mpl-breadcrumb .btn-header:hover {
    color: var(--dark-color);
    background-color: var(--light-color);
    border-color: var(--light-color);

    transform: translateY(-2px);
}


/* =========================================
   Orange Accent
   ========================================= */

.mpl-breadcrumb .page-title::after {
    content: "";

    display: block;

    width: 60px;
    height: 4px;

    margin: 20px auto 0;

    background-color: var(--primary-color);
}


/* =========================================
   Optional: Darker Overlay on Hover
   ========================================= */

.mpl-breadcrumb::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.25) 100%
    );

    pointer-events: none;
}


/* =========================================
   Responsive
   ========================================= */

@media (max-width: 991px) {

    .mpl-breadcrumb {
        min-height: 320px;

        /* Avoid fixed backgrounds on many mobile/tablet devices */
        background-attachment: scroll;
    }

    .mpl-breadcrumb .text-center {
        padding-top: 55px !important;
        padding-bottom: 55px !important;
    }

    .mpl-breadcrumb .page-title {
        font-size: 2.4rem;
    }
}


@media (max-width: 767px) {

    .mpl-breadcrumb {
        min-height: 280px;
    }

    .mpl-breadcrumb .text-center {
        padding-top: 45px !important;
        padding-bottom: 45px !important;
    }

    .mpl-breadcrumb .page-title {
        margin-bottom: 15px;

        font-size: 2rem;
    }

    .mpl-breadcrumb .page-title::after {
        width: 45px;
        height: 3px;
        margin-top: 15px;
    }

    .mpl-breadcrumb #breadcrumbs {
        padding-bottom: 20px !important;
        font-size: 0.8rem;
    }

    .mpl-breadcrumb .btn-header {
        min-width: 125px;
        padding: 11px 22px;
        font-size: 0.8rem;
    }
}