/*
Theme Name: Blueprint Web Builder
Theme URI: https://blueprintweb.uk
Author: Blueprint Web Ltd
Description: Custom WordPress theme with flexible content builder
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blueprint-builder
*/

/* ============================================================================
   Globals
  ============================================================================ */

[id$="-section"] {
    scroll-margin-top: 250px; /* match your header height */
}

@media (max-width: 768px) {
	[id$="-section"] {
    scroll-margin-top: 110px; /* match your header height */
}
}

:root {
	--mobile-padding: 10px 30px;
	--container-width: 1600px;
	/* Color variables are loaded from WordPress Customizer via functions.php */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@font-face {
    font-family: 'Black Han Sans';
    src: url('assets/fonts/BlackHanSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    src: url('assets/fonts/Lexend.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
	background-color: var(--black);
}

body , p, ul {
    font-family: 'Lexend';
    font-size: 20px;
    line-height: 1.5;
    color: var(--white);
  
		line-height: 154%;

 }

h1 , .h1 {
font-family: 'Black Han Sans';
    font-size: 40px;
	font-weight: 100;
	line-height:89%;

}
.h1-sub {
	font-family: 'Black Han Sans';
    font-size: 40px;
letter-spacing: 0.4em;
	font-weight: 100;
	line-height:157%;
}

h2 , .h2 {
font-family: 'Black Han Sans';
    font-size: 42px;
    color: var(--white);
	font-weight: 100;
	line-height: 109%;
}

h3 , .h3 {
font-family: 'Black Han Sans';
    font-size: 36px;
    color: var(--white);
	font-weight: 100;
		line-height: 109%;
}

a {
    font-family: 'Lexend';
    font-size: 24px;
    line-height: 1.4;
    color: var(--white);
	letter-spacing: 0.2rem;
		line-height: 144%;
}

.link-2 {
    font-family: 'Lexend';
    font-size: 18px;
    line-height: 1.4;
    color: var(--white);
Text-decoration: underline;
	background: transparent;
    border: none;
	letter-spacing: 0.2rem;
	line-height: 144%;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
h1 , .h1 {
    font-size: 80px;
}
	
	.h1-sub {
		font-size: 26px;
	}

h2, .h2 {
    font-size: 50px;
}

h3, .h3 {
    font-size: 22px;
}
	p, ul {
		font-size: 18px;
	}

}

ul {
	list-style-position: inside;}


::marker {
    color: var(--secondary);
}


a.primary-button {
  position: relative;
  display: inline-block;
  background: var(--secondary);
  padding: 2px; /* border thickness */
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  text-decoration: none;
	width: fit-content;
    align-self: flex-end;
}

a.primary-button span {
  display: flex;
	justify-content: center;
  background: #fff;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  padding: 5px 20px 5px 60px;
  color: var(--secondary)!important;
  font-weight: 700;
	font-size: 24px;
    width: fit-content;
}


@media (max-width: 768px) {
	.primary-button span, .column-services-container.columns-1 .service-button, .column-posts-container.columns-1 .post-button, .column-case-studys-container.columns-1 .case-study-button, .column-team-members-container.columns-1 .team-member-button {
		font-size: 4vw!important;
	}
}
/* ============================================
   HEADER LAYOUT - ALL SCREENS
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header {
display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 30px 15px 30px 15px;
    max-width: 1600px;
    margin: auto;
    margin-bottom: 5px;
    background: transparent !important;
    margin-top: 40px;
}
		
.header a {
    color: var(--white);
}

.hamburger-line {
    background: var(--white);
}
/* Homepage specific styles - Black navigation at top only */
body.home .desktop-menu a {
    color: #000000;
}

body.home .desktop-menu a:hover {
    color:  var(--secondary) !important;
}

body.home .desktop-menu .current-menu-item > a,
body.home .desktop-menu .current_page_item > a {
    color:  var(--secondary) !important;
}

body.home .hamburger-line {
    background: #000000;
}

/* Override homepage black when scrolled (let JS handle it) */
body.home.scrolled .desktop-menu a {
    color: #ffffff !important;
}

body.home.scrolled .hamburger-line {
    background: #ffffff !important;
}

/* Keep current menu items red even when scrolled */
body.home.scrolled .desktop-menu .current-menu-item > a,
body.home.scrolled .desktop-menu .current_page_item > a {
    color: var(--secondary) !important;
}


/* Header scroll transitions */
.site-header {
    transition: background-color 0.3s ease;
}

.header {
    transition: padding 0.3s ease;
}

.desktop-menu a {
    transition: color 0.3s ease !important;
}

.hamburger-line {
    transition: background-color 0.3s ease !important;
}

.site-logo {
    transition: height 0.3s ease;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .site-logo {
        height: 50px;
        width: auto;
    }
}


@media (max-width: 1024px) {
	.header {
		align-items: center;
		margin-top: 0px;
	}
}

@media (max-width: 480px) {
    .site-logo {
        height: 45px;
        width: auto;
    }
}
/* ============================================
   LOGO
   ============================================ */

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    height: 7vw;
    width: auto;
	min-height:45px;
	max-height:130px;
}

/* ============================================
   DESKTOP NAVIGATION - VISIBLE ON DESKTOP
   ============================================ */

.desktop-navigation {
    display: none;
}

.desktop-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    align-items: center;
}

.desktop-menu li {
    margin: 0;
    padding: 0;
}

.desktop-menu a {
    font-family: 'Mabry Pro', sans-serif;
    font-size: 18px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.1rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.desktop-menu a:hover {
    color: var(--secondary);
}

/* Active/Current Page */
.desktop-menu .current-menu-item > a,
.desktop-menu .current_page_item > a,
.desktop-menu .current-menu-ancestor > a,
.desktop-menu li.current-menu-item a {
    color: var(--secondary) !important;
}

/* Show desktop nav on larger screens */
@media (min-width: 1024px) {
    .desktop-navigation {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* ============================================
   MOBILE HAMBURGER MENU - VISIBLE ON MOBILE
   ============================================ */

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    flex-shrink: 0;
}

.hamburger-line {
    width: 30px;
    height: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   MOBILE MENU OVERLAY - BLUEPRINT STYLE
   ============================================ */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--black);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 20px 40px;
    text-align: center;
}

/* Top Section with Close Button and Phone */
.mobile-menu-container > section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 15px;
    z-index: 10001;
    max-width: 1600px;
    margin: auto;
}

/* Close Button */
.mobile-menu-close {
    position: static;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-close:hover {
    opacity: 0.7;
}

.mobile-menu-close svg {
    width: 30px;
    height: 30px;
    stroke: white;
    display: block;
}

/* Phone Number in Mobile Menu Overlay */
.mobile-menu-container section .header-phone {
    order: initial;
	visibility: hidden;
	width:2px;
}

.mobile-menu-container section .phone-link {
    color: white;
}

.mobile-menu-container section .phone-icon-mobile {
    stroke: white;
}

/* Show phone number text in mobile menu on larger screens */
@media (min-width: 1024px) {
    .mobile-menu-container section .phone-number {
        display: inline;
    }
}

/* Mobile Logo */
.site-branding-open{
    animation: fadeInDown 0.5s ease;
}

.mobile-menu-logo a {
    display: inline-block;
}


/* Mobile Navigation */
.mobile-menu-nav {
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.6s ease 0.2s both;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-menu-list li {
    margin: 0;
    padding: 0;
}

.mobile-menu-list > li > a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2.5px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    font-family: 'Lexend', sans-serif;
}

.mobile-menu-list > li > a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Hide submenus in mobile */
.mobile-menu-list .sub-menu {
    display: none;
}

/* Hide the bottom mobile menu contact section */
.mobile-menu-contact {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
    background-color: #000;
    color: var(--white);
    padding: 60px 30px 40px;
    position: relative;
	padding-top:50px;
	max-width: 850px;
    margin: auto;
}

/* Orange top border */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1320px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
	font-size:18px;
}

footer p, footer a {
	font-size:18px;
}

/* Logo Section */
.footer-logo-section {
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 217px;
    height: auto;
    display: block;
}

/* Address Section */
.footer-address-section {
    font-size: 18px;
    line-height: 1.8;
}

.footer-address {
    margin: 0;
    color: var(--white);
    font-weight: 400;
}

/* Phone Section */
.footer-phone-section {
    font-size: 20px;
    font-weight: 500;
    margin: 10px 0;
}

.footer-phone {
    margin: 0;
}

.footer-phone a {
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-phone a:hover {
    color: var(--secondary);
}

/* Social Links Section */
.footer-social-section {
    margin-top: 20px;
}

.footer-social-links {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

footer .footer-social-section .footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
	font-size: 30px;
}

footer .socials-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 22px; /* controls the FA icon size */
    line-height: 1;
}

footer .footer-social-section .footer-social-link:hover {
font-size: 28px;
}

.footer-social-link svg {
    width: 26px;
    height: 26px;
}

/* Hide all old footer elements */
.footer-grid,
.footer-logo-column,
.footer-column,
.footer-heading,
.footer-contact-details,
.footer-menu,
.footer-badges,
.footer-bottom,
.footer-bottom-content,
.footer-copyright,
.footer-bottom-links {
    display: none;
}


/* Responsive Design */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 30px;
    }
    
    .site-footer::before {
        width: calc(100% - 40px);
    }
    
    .footer-container {
        gap: 20px;
    }
    
    .footer-logo {
        max-width: 180px;
    }
    
    .footer-address-section {
        font-size: 16px;
    }
    
    .footer-phone-section {
        font-size: 18px;
    }
    
    .footer-social-link {
        width: 50px;
        height: 50px;
    }
    
    .footer-social-link svg {
        width: 24px;
        height: 24px;
    }
	
	.blueprint-footer-bar a {
	font-size: 18px;
}
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 15px 25px;
    }
    
    .footer-logo {
        max-width: 150px;
    }
    
    .footer-address-section {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .footer-phone-section {
        font-size: 16px;
    }
    
    .footer-social-links {
        gap: 20px;
    }
    
    .footer-social-link {
        width: 45px;
        height: 45px;
    }
    
    .footer-social-link svg {
        width: 22px;
        height: 22px;
    }
}


/* ============================================================================
   Background Color Classes
  ============================================================================ */

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-tertiary {
    background-color: var(--tertiary) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

.bg-black {
    background-color: var(--black) !important;
}

.bg-text1 {
    background-color: var(--text1) !important;
}

.bg-text2 {
    background-color: var(--text2) !important;
}

/* ============================================================================
   Text Color Classes
  ============================================================================ */

.text-primary {
    color: var(--primary) !important;
}

.text-primary * {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-secondary * {
    color: var(--secondary) !important;
}

.text-tertiary {
    color: var(--tertiary) !important;
}

.text-tertiary * {
    color: var(--tertiary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-accent * {
    color: var(--accent) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-white * {
    color: var(--white) !important;
}

.text-black {
    color: var(--black) !important;
}

.text-black * {
    color: var(--black) !important;
}

.text-text1 {
    color: var(--text1) !important;
}

.text-text1 * {
    color: var(--text1) !important;
}

.text-text2 {
    color: var(--text2) !important;
}

.text-text2 * {
    color: var(--text2) !important;
}

/* ============================================================================
   CONTACT MAP SECTION
   ============================================================================ */

.contact-map-section {
    padding: 0;
    overflow: hidden;
}

.contact-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.contact-map-section .map-column {
    position: relative;
    overflow: hidden;
}

.contact-map-section .content-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 100px;
    gap: 30px;
}

.contact-map-section .map-title {
    font-size: 3rem;
    margin: 0;
    line-height: 1.2;
}

.contact-map-section .map-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.contact-map-section .map-address {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.6;
    margin: 10px 0;
}

.contact-map-section .button-directions {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: inherit;
    border: 2px solid currentColor;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 20px;
}

.contact-map-section .button-directions:hover {
    background-color: currentColor;
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-map-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .contact-map-section .map-column {
        min-height: 400px;
    }
    
    .contact-map-section .content-column {
        padding: 60px 40px;
    }
    
    .contact-map-section .map-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-map-section .content-column {
        padding: 40px 20px;
    }
    
    .contact-map-section .map-title {
        font-size: 2rem;
    }
    
    .contact-map-section .map-subtitle {
        font-size: 1rem;
    }
    
    .contact-map-section .map-address {
        font-size: 1rem;
    }
}