/*
 Theme Name:     Barton Minty
 Author:         Design House
 Template:       design-house
 Version:        1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&display=swap');


/* Colours: Red: #ce0000;
	Light Grey: #B5B3B3;
	Dark Grey : #696868;
*/


/*  
    Global
    ---------------------------------------
*/

.content-area {
    float: left;
    width: 100%;
}

body {
	overflow-x: hidden;
}

#page {
    width: 100vw;
    overflow-x: hidden;
}


body a {
	transition: all linear 0.25s;
	text-decoration: none;
}



/*  
    Masthead
    ---------------------------------------
*/

#masthead {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 100;
}

.site-branding {
    width: 70px;
    float: left;
    position: absolute;
    top: 0px;
    left: 20px;
}
@media only screen and (max-width: 700px) {
    .site-branding {
    }
}

#content {
    margin-top: 100px;
}

.home #content {
    margin-top: 0px !important;
}

/* Force Mobile Nav */ 

#desktop-navigation {
    display: none !important;
}

#mobile-navigation {
    display: block !important;
}

#mobile-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    transform: scale(.9);
} 

#mobile-icon span {
    background: #ce0000 !important;
}

.home #mobile-icon span {
    background: #fff !important;
}

.home #mobile-icon.open span {
    background: #fff !important;
}



/* Menu */

.menuWrap {
    background: rgba(0,0,0,0.8);
    right: 0px;
    padding: 0px;
    height: 100vh;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    display: none;
    opacity: 0;
    min-height: 600px;
    position: fixed;
	overflow: hidden !important;
    width: 0vw;
}

.home .menuWrap {
    height: 90vh !important;
    position: absolute;
}

.menuWrap .wrap {
    width: 100%;
    max-width: 1000px;
}

.menu-col-left {
    width: calc(50% - 40px);
    float: left;
    margin-right: 80px;
    opacity: 0;
}

.menu-col-right {
    width: calc(50% - 40px);
    float: left;
    opacity: 0;
}

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

#mobile-icon {
    top: 20px;
    right: 20px;
}

#mobile-icon.open {
    position: fixed !important;
}

.home #mobile-menu.open {
    position: absolute !important;
}

#mobile-menu li {
    margin-bottom: 20px;
}

.menuContainer {
    padding-top: 0px;
    overflow: hidden;
    height: auto !important;
    width: auto !important;
    opacity: 0;
    margin-left: 50px;
	float: right;
}

#mobile-menu .menu-item {
    text-align: right;
}

#mobile-menu li a {
    color: #fff !important;
}

#mobile-menu li a:hover {
    color: #727171 !important;
}

@media only screen and (max-width:700px) {
    .menuWrap, .home .menuWrap {
        width: 100% !important;
        height: 100vh !important;
        position: fixed;
    }
}

/*  
    Typography
    ---------------------------------------
*/

p, li, a,
.fp-excerpt {
    font-size: 17px;
    color: #B5B3B3;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
}

h1, .h1 {
    font-family: 'Montserrat', sans-serif;
	color: #B5B3B3;
}

h2, .h2 {
    font-family: 'Montserrat', sans-serif;
    color: #B5B3B3;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 30px;
}
h3, .h3 {
    font-size: 18px;
	color: #696868;
	font-weight: 500;
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 0.1em;
	line-height: 38px;
	text-transform: uppercase;
}

h4, .h4, h4 a {
    font-size: 18px;
	color: #B5B3B3;
	font-weight: 400;
	font-family: 'Montserrat', sans-serif;
	letter-spacing: 0.1em;
	line-height: 38px;
}

h4 strong {
    font-weight: 500;
}

h6, .h6 {
    font-size: 20px;
    color:#0A629F;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.025em;
    margin: 0px;
}


/*  
    Visual Composer
    ---------------------------------------
*/

.entry-content > .vc_row {
    margin-bottom: 60px !important;
}

.no-vc-margin.vc_row {
    margin-bottom: 0px !important;
}

.bottom-margin-ten.vc_row {
    margin-bottom: 10px !important;
}

.vc_row.vc_row-has-fill {
    border-left: 10px solid #fff;
    border-right: 10px solid #fff;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.vc_row-has-fill>.vc_column_container>.vc_column-inner {
    padding-top: 0px !important;
}

.vc_row.vc_column-gap-10>.vc_column_container {
    padding-top: 0px !important;
}

.wpb_single_image, .wpb_widgetised_column {
    margin-bottom: 0px !important;
}

.vc_row.vc_column-gap-30 {
    margin: 0px 0px;
}

/*
	CUSTOM LOGO GRID
	-------------------------------------------------------------------------------------
*/


.logoContainer {
	width: 50%;
	position: relative;
	clear: none;
	display: block;
	float: left;
	height: 38vw;
	overflow: visible;
	margin: -40px 0 30px;
}	
.lcRight {
	float: left;	
}		
.lcRight {
	float: right;	
}	

.logoContainer img {
	position: absolute;
	height: auto;
	z-index: 2;
}
	
.img-1-Four-Seasons {
    top: 5%;
    left: 8%;
    width: 35%;
}
.img-2-JW-Marriot-Grosvenor {
    top: 9%;
    left: 45%;
    width: 32%;
}
.img-3-Colliers {
    top: 12%;
    left: 79%;
    width: 26%;
}
.img-4-Double-Tree {
    top: 36%;
    left: 13%;
    width: 30%;
}
.img-5-Marriott {
    top: 37%;
    left: 44%;
    width: 27%;
}
.img-6-Aloft {
    top: 66%;
    left: 0%;
    width: 33%;
}
.img-7-Conrad {
    top: 71%;
    left: 60%;
    width: 35%;
}
.img-8-Lethendy {
    top: 40%;
    left: 7%;
    width: 37%;
  }
.img-9-Michels-Taylor {
    top: 16%;
    left: 6%;
    width: 46%;
}
.img-10-Hilton {
    top: 9%;
    left: 54%;
    width: 26%;
}
.img-11-IHG {
    top: 40%;
    left: -26%;
    width: 33%;
}
.img-12-Westmont {
    top: 35%;
    left: 13%;
    width: 25%;
}
.img-13-RAF {
    top: 35%;
    left: 44%;
    width: 40%;
}
.img-14-Deliveroo {
    top: 67%;
    left: 39%;
    width: 17%;
}
.img-15-Moto {
    top: 68%;
    left: 59%;
    width: 27%;
}

	
@media only screen and (max-width: 700px) {
   .logoContainer {
        width: 100%;
        display: flex !important;
        flex-flow: row wrap;
        justify-content: space-around;
        padding: 20px 0;
        height: auto;
	}
    .logoContainer img {
        position: relative;
        height: auto;
        width: auto;
        left: auto !important;
        top: auto;
        height: 100px;
      }
}




/*
	FELXIBLE POSTS WIDGETS
	-------------------------------------------------------------------------------------
*/

.flexiblePostSquaresContainer {
	width: 100% !important;
	height: 100% !important;
}

.flexiblePostSquares {
    height: 100%;
	background:transparent;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	justify-content: center;
}

.flexiblePostSquares .FPWpost {
	position: relative;
	flex: 0 0 calc(25% - 40px);
	margin: 30px 20px 0;
}

.FPWheadshot {
	background-size: cover;
	filter: grayscale(70%);
	opacity: 0.85;
	border-radius: 100%;
	width: 200px;
	height: 200px;
	margin: 0 auto;
}

.FPWpost h4 {
    width: 100%;
    text-align: center;
    font-size: 21px;
    letter-spacing: 0.05em;
    font-weight: 300;
	margin: 17px 0 5px;
}
.FPWpost p {
    width: 100%;
    text-align: center;
	margin: 0px;
	line-height: 1.4em;
}


@media only screen and (max-width: 1090px) {
		.FPWpost h4 {
		
	}
}


@media only screen and (max-width: 750px) {
	.flexiblePostSquares .FPWpost {
	  width:48%;
	}
}


/*  
    Hero
    ---------------------------------------
*/

#hero {
    float: left;
    height: 90vh;
    background-color: #000;
    width: 100%;
    overflow: hidden;
    min-height: 600px;
    position: relative;
    margin-bottom: 20px;
    /* Performance optimizations */
    will-change: transform;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.hero-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Background layer */
}

.slides {
    margin: 0px;
    padding: 0px;
    list-style: none;
    width: 100%;
    height: 100%;
}

.slick-list, .slick-track {
    width: 100%;
    height: 100%;
}

.slides li {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll; /* Better mobile performance */
    /* Performance optimizations */
    will-change: opacity;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.black-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 2; /* Above background slider */
    opacity: 0;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    z-index: 3; /* Above overlay */
    padding: 0px 20px;
    pointer-events: none; /* Allow clicks to pass through to pagination */
}

.hero-content-wrap {
    pointer-events: auto; /* Re-enable clicks on actual content */
}



/* Removed .hero-content-wrap margin-top - now handled by flexbox centering */

.hero-title, .hero-sub {
    color: #fff;
    opacity: 0; /* Initial state - GSAP will animate to opacity: 1 */
}

/* Clean initial state for GSAP animation */

.hero-title {
    font-size: 60px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0px 0px 10px;
    line-height: 60px;
    text-align: center;
}

.hero-sub {
    margin: 0px;
    font-size: 24px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}



/* Ensure text stays in final state after GSAP animation */
.hero-title,
.hero-sub {
    /* Remove any conflicting transitions that might interfere with GSAP */
    transition: none !important;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .slides {
        animation: none !important;
    }
    
    .hero-title, .hero-sub, .black-overlay {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .black-overlay {
        opacity: 0.4 !important;
    }
}

@media only screen and (max-width: 840px) {
    #hero {
        height: 70vh; /* Reduce height on mobile for better performance */
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 40px;
        line-height: 48px;
    }

    .hero-sub {
        font-size: 19px;
    }
    
    /* Mobile centering handled by flexbox */
    
    /* Optimize mobile performance */
    .slides li {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }
}

@media only screen and (max-width: 480px) {
    #hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 36px;
    }
    
    .hero-sub {
        font-size: 16px;
    }
    
    /* Mobile centering handled by flexbox */
}



/*  
    Home Page
    ---------------------------------------
*/

.home .entry-content {
    position: relative;
}

.full-map-row {
    padding: 60px 0px;
}


/* Project Row */

.project-row {
    position: relative;
}

.projects {
    margin: 0px -10px;
    padding: 0px;
    list-style: none;
}

.projects li {
    min-height: 400px;
    position: relative;
    margin: 0px 10px;
    overflow: hidden; /* Hide overflow for internal zoom effect */
}

.projects li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center center;
    transition: transform 0.4s ease-out;
    z-index: 1;
}

.projects li:hover::before {
    transform: scale(1.1); /* Smooth internal zoom using transform */
}

.projects li a {
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    transition: all 0.3s ease;
    z-index: 2; /* Above the background pseudo-element */
}

.projects h3 {
    color: #fff;
    position: relative;
    z-index: 40;
	font-size: 13px;
	text-align: center;
	line-height: 19px;
	bottom: 13px;
	display: none;
}



.next-arrow {
    width: 20px;
    position: absolute;
    right: 20px;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
}

.prev-arrow {
    width: 20px;
    position: absolute;
    left: 20px;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
}

.arrow-container {
    margin: 0px;
    padding: 0px;
    position: absolute;
    top: 50%;
    z-index: 99;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0px 20px;
    list-style: none;
}

.slider-arrows img {
    width: 20px;
    opacity: 0.6;
    transition: 0.3s all ease-in-out;
}

.slider-arrows img:hover {
    opacity: 1;
    transform: scale(1.2);
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    .slider-arrows {
        display: none !important;
    }
}

#fancybox-title-over {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

/*  
    Single Post
    ---------------------------------------
*/

.post-wrap {
    width: 65%;
    float: left;
}

.sidebar-wrap {
    width: calc(35% - 40px);
    margin-left: 40px;
    float: left;
}

.sidebar-wrap .fp-row {
    margin: 0px !important;
}

.sidebar-wrap .fp-col {
    width: 100% !important;
    margin: 0px 0px 40px !important;
}

.sidebar-wrap .widgettitle {
    display: none;
}

@media only screen and (max-width: 797px) {
    .post-wrap {
        width: 100%;
        margin: 0px 0px 40px;
    }

    .sidebar-wrap {
        width: 100%;
        margin: 0px;
        display: none;
    }
}
/*  
    Latest News
    ---------------------------------------
*/

#iso-loop {
    padding: 0px;
    margin: 0px -20px;
}

#iso-loop li {
    width: 33.333%;
    margin: 0px 0px 40px !important;
    padding: 0px 20px;
}

.iso-box {
    border: 1px solid #ccc;
}

.iso-content {
    padding: 0px 20px 40px;
    display: block;
    position: relative;
}

.iso-content .fp-readmore {
    width: 100%;
}

@media only screen and (max-width: 1050px) {
    #iso-loop li {
        width: 50%;
    }
}

@media only screen and (max-width: 697px) {
    #iso-loop li {
        width: 100%;
    }
}

/*  
    Ninja Forms
    ---------------------------------------
*/

.nf-form-title, .nf-before-form-content, .nf-field-label {
    display: none;
}

input[type="button"] {
    cursor: pointer;
	text-transform: uppercase;
	width: 100% !important;
	border-radius: 0 !important;
	background: transparent !important;
	border: 1px solid #ce0000 !important;
	color: #ce0000 !important;
}
input[type="button"]:hover {
	color: #fff !important;
	background: #ce0000 !important;
	border: 1px solid #727171 !important;
}

.nf-field-element::after {
    display: none;
}

.nf-element {
    border: 0px !important;
    font-size: 16px;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    border-radius: 6px !important;
}

.nf-field-container {
    margin-bottom: 15px !important;
}

.nf-error-msg {
    font-size: 13px;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
}

/*  
    Colophon
    ---------------------------------------
*/

#colophon {
	background: #ce0000;
    margin-top: 40px !important;
    border-left: 10px solid #fff;
    border-right: 10px solid #fff;
    padding-bottom: 20px !important;
}

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

#colophon a, #colophon p {
    color: #0A629F;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.threeCol {
    width: auto !important;
}

.copyright {
    float: left;
	text-align: left;
}
.middleLink {
	float: none;
	text-align: center;
}

.website-by {
    float: right;
	text-align: right;
}
.site-info {
    padding-top: 0px;
    border-top: 0px;
    margin: 0px 0px 13px;
}

.site-info a {
    color: #ccc !important;
    font-size: 13px !important;
	width: 365px;
}

@media only screen and (max-width: 950px) {
    .copyright, .website-by, .middleLink {
        width: 100%;
        float: none;
        text-align: center;
    }

    .copyright {
        margin-bottom: 10px;
    }

    .site-info {
        margin-top: 0px;
    }
}

@media only screen and (max-width: 600px) {
    .threeCol {
        width: 100%;
        text-align: center;
    }
}