/*
Theme Name: Little White House
Version: 1.0.0
Template: astra
*/

/* ChamberiDisplay Font Family */

@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-ExtraLight.otf') format('opentype');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-ExtraLightItalic.otf') format('opentype');
	font-weight: 200;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-Light.otf') format('opentype');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-LightItalic.otf') format('opentype');
	font-weight: 300;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-Regular.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-Italic.otf') format('opentype');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-SemiBold.otf') format('opentype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-SemiBoldItalic.otf') format('opentype');
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-Bold.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-BoldItalic.otf') format('opentype');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-ExtraBold.otf') format('opentype');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-ExtraBoldItalic.otf') format('opentype');
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-Black.otf') format('opentype');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Chamberi Display';
	src: url('/wp-content/themes/little-white-house-marketing/fonts/ChamberiDisplay-BlackItalic.otf') format('opentype');
	font-weight: 900;
	font-style: italic;
	font-display: swap;
}

/* Apply to all headings */
h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
	font-family: 'Chamberi Display', sans-serif;
}

/* Optional: set a default weight per heading level */
h1 { font-weight: 700; }
h2 { font-weight: 400; }
h3 { font-weight: 300; }
h4, h5, h6 { font-weight: 300; }

/* Page Load Preloader — Logo Reveal + Curtain Effect */

body.fc-loading {
	overflow: hidden;
	height: 100vh;
}

#fc-preloader {
	position: fixed;
	inset: 0;
	z-index: 999999;
	pointer-events: none;
}

.fc-preloader-panel {
	position: fixed;
	top: 0;
	width: 50%;
	height: 100%;
	background: #f3f3f0;
	z-index: 999999;
	transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

.fc-panel-left {
	left: 0;
	transform: translateX(0);
}

.fc-panel-right {
	right: 0;
	transform: translateX(0);
}

.fc-preloader-logo-wrap {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.85);
	z-index: 1000000;
	opacity: 0;
	transition: opacity 0.8s ease-out 0.15s,
							transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.fc-preloader-logo {
	width: 320px; /* was 300px */
	height: auto;
	display: block;
}

body.fc-logo-in .fc-preloader-logo-wrap {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

body.fc-curtain-open .fc-panel-left {
	transform: translateX(-100%);
}

body.fc-curtain-open .fc-panel-right {
	transform: translateX(100%);
}

body.fc-curtain-open .fc-preloader-logo-wrap {
	opacity: 0;
	transform: translate(-50%, -50%) scale(1.08);
	filter: blur(4px);
	transition: opacity 0.5s ease-in,
							transform 0.5s ease-in,
							filter 0.5s ease-in;
}

#fc-preloader.fc-preloader-done {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.fc-preloader-panel,
	.fc-preloader-logo-wrap {
		transition: opacity 0.3s ease-out !important;
	}
	.fc-preloader-logo-wrap {
		filter: none;
		transform: translate(-50%, -50%) scale(1);
	}
}

/* End Page Load Preloader — Logo Reveal + Curtain Effect */

/* Astra Header Builder */

#ast-desktop-header, #ast-mobile-header {
	position: fixed;
	top: 0;
	left: 0;
	padding: 0;
	width: 100%;
	transition: all ease-out 0.5s;
	z-index: 999;
}

#ast-desktop-header.active img.custom-logo,
#ast-mobile-header.active img.custom-logo {
	width: 200px !important;
	transition: all ease-out 0.5s;
}

.ast-primary-header-bar .main-header-menu > .menu-item {
	font-family: 'Chamberi Display', sans-serif !important;
	font-weight: 600 !important;
	font-style: italic !important;
}

body.ast-theme-transparent-header #ast-desktop-header.active,
body.ast-theme-transparent-header #ast-mobile-header.active {
	background: rgba(243, 243, 243, 0.9);
	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
	padding: 0;
}

body.ast-theme-transparent-header #ast-desktop-header.active img.custom-logo,
body.ast-theme-transparent-header #ast-mobile-header.active img.custom-logo {
	content: url('/wp-content/uploads/2026/07/web-logo_grey.png');
}

body.ast-theme-transparent-header #ast-desktop-header.active .main-header-menu .menu-item .menu-link,
body.ast-theme-transparent-header #ast-mobile-header.active .main-header-menu .menu-item .menu-link {
	color: #50555B !important;
}

body.ast-theme-transparent-header #ast-desktop-header.active .main-header-menu .menu-item .menu-link:hover,
body.ast-theme-transparent-header #ast-mobile-header.active .main-header-menu .menu-item .menu-link:hover {
	color: #486572 !important;
}

body.ast-theme-transparent-header #ast-desktop-header.active .main-header-menu .current-menu-item > .menu-link,
body.ast-theme-transparent-header #ast-mobile-header.active .main-header-menu .current-menu-item > .menu-link {
	color: #486572 !important;
}

body.ast-theme-transparent-header #ast-desktop-header.active .ast-header-button-1 .ast-custom-button,
body.ast-theme-transparent-header #ast-mobile-header.active .ast-header-button-1 .ast-custom-button {
	background-color: #486572 !important;
	color: #ffffff !important;
}

body.ast-theme-transparent-header #ast-desktop-header.active .ast-header-button-1 .ast-custom-button-link:hover .ast-custom-button,
body.ast-theme-transparent-header #ast-mobile-header.active .ast-header-button-1 .ast-custom-button-link:hover .ast-custom-button {
	background-color: #d7d6d0 !important;
	color: #486572 !important;
}

body.ast-theme-transparent-header #ast-desktop-header.active .ast-mobile-menu-trigger-minimal svg,
body.ast-theme-transparent-header #ast-mobile-header.active .ast-mobile-menu-trigger-minimal svg {
	fill: #486572 !important;
	color: #486572 !important;
}

/* End Astra Header Builder */

/* Video Carousel */

.reel-carousel {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 20px 0 20px;
	position: relative;
}

.reel-carousel .swiper-slide {
	width: 260px;
	aspect-ratio: 9 / 16;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.reel-carousel .swiper-slide video {
	width: 100%;
	height: 100%;
	cursor: pointer;
	object-fit: cover;
	display: block;
}

.reel-carousel .swiper-button-next,
.reel-carousel .swiper-button-prev {
	color: #486572;
	background: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.reel-carousel .swiper-button-next::after,
.reel-carousel .swiper-button-prev::after {
	font-size: 16px;
}

@media (max-width: 768px) {
	.reel-carousel .swiper-slide {
		width: 200px;
	}
	.reel-carousel .swiper-button-next,
	.reel-carousel .swiper-button-prev {
		display: none;
	}
}

.reel-carousel video::-webkit-media-controls,
.reel-carousel video::-webkit-media-controls-enclosure,
.reel-carousel video::-webkit-media-controls-panel {
	display: none !important;
}

/* End Video Carousel */

/* Content */

.elementor-widget-video .elementor-wrapper,
.elementor-widget-video .elementor-video {
	border-radius: 10px;
	overflow: hidden;
}

.elementor-widget-video video,
.elementor-widget-video iframe {
	border-radius: 10px;
	display: block;
}

.step .s {
	flex: 0 0 38px;
	height: 38px;
	border: 1px solid #486572;
	color: #486572;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
	padding-top: 5px;
}

.archive #content, .blog #content, .error404 #content {
	margin-top: 100px;
}

@media (max-width: 1058px) {
    .ast-container, .ast-container-fluid {
        padding-left: 0;
		padding-right: 0;
    }
}

h1.entry-title {
	font-size: 60px;
	font-weight: bold;
}

.entry-content :where(h2) {
	font-size: 40px;
}

@media (max-width: 1058px) {
	h1.entry-title {
		font-size: 40px;
	}
	
	.entry-content :where(h2) {
		font-size: 30px;
	}
}

@media (max-width: 544px) {
	h1.entry-title {
		font-size: 28px;
	}
	
	.entry-content :where(h2) {
		font-size: 24px;
	}
}

body.blog .ast-article-post,
body.archive .ast-article-post {
	border-radius: 10px !important;
}

body.blog .ast-article-post .ast-article-inner,
body.archive .ast-article-post .ast-article-inner {
	border-radius: 10px !important;
	overflow: hidden !important;
}

body.blog .ast-article-post .post-thumb-img-content,
body.archive .ast-article-post .post-thumb-img-content,
body.blog .ast-article-post img.wp-post-image,
body.archive .ast-article-post img.wp-post-image {
	border-radius: 10px 10px 0 0 !important;
	overflow: hidden !important;
	display: block;
}

body.single-post .entry-content ul,
body.single-post .entry-content ol,
body.single-post .elementor-widget-text-editor ul,
body.single-post .elementor-widget-text-editor ol {
	list-style-position: outside !important;
	padding-left: 20px !important;
	margin: 0 0 1em 0 !important;
}

body.single-post .entry-content li,
body.single-post .elementor-widget-text-editor li {
	margin-bottom: 6px;
}

body.single-post .ast-featured-img img,
body.single-post .post-thumb img,
body.single-post img.wp-post-image {
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	display: block;
}

.post-page-numbers.current .page-link, .ast-pagination .page-numbers.current {
	border-color: #486572;
	background-color: #486572;
	color: #FFF;
}

/* End Content */

/* Icon Movement */

.icon-float img {
	transform-origin: center bottom;
	animation: iconRock 3s ease-in-out infinite;
}

@keyframes iconRock {
	0%, 100% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(-5deg);
	}
	75% {
		transform: rotate(5deg);
	}
}

.icon-1 img { animation-delay: 0s; }
.icon-2 img { animation-delay: 0.3s; }
.icon-3 img { animation-delay: 0.6s; }
.icon-4 img { animation-delay: 0.15s; }
.icon-5 img { animation-delay: 0.45s; }
.icon-6 img { animation-delay: 0.75s; }

.icon-card:hover img {
	animation-duration: 0.6s;
}

/* End Icon Movement */

/* Case Study Hover */

.hover-reveal {
	position: relative;
	overflow: hidden; /* keeps the lifted text from spilling outside on hover */
}
 
.hover-reveal__text {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none; /* prevents hidden text from being clickable/selectable */
}
 
.hover-reveal:hover .hover-reveal__text,
.hover-reveal:focus-within .hover-reveal__text {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

/* End Case Study Hover */

/* Logo Marquee */

.logo-marquee-wrapper {
	overflow: hidden;
	width: 100%;
	-webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
	mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.logo-marquee-track {
	display: flex;
	align-items: center;
	width: max-content;
	gap: 90px;
	will-change: transform;
}

.logo-marquee-wrapper .logo-marquee-track img {
	height: 50px !important;
	width: auto !important;
	max-width: none !important;
	flex-shrink: 0;
	filter: brightness(0) saturate(100%) invert(37%) sepia(11%) saturate(1147%) hue-rotate(152deg) brightness(94%) contrast(89%);
	transition: filter 0.3s ease;
}

.logo-marquee-wrapper .logo-marquee-track img:hover {
	filter: none !important;
}

@media (max-width: 767px) {
	.logo-marquee-track {
		gap: 40px;
	}
}

@media (max-width: 480px) {
	.logo-marquee-track {
		gap: 20px;
	}
}

/* End Logo Marquee */

/* Google Reviews Text */

.ti-fade-container .ti-rating-text strong.ti-rating {
	color: #50555b !important;
}

.ti-fade-container .ti-rating-text span.nowrap,
.ti-fade-container .ti-rating-text span.nowrap strong {
	color: #50555b !important;
}

/* End Google Reviews Text */

/* WP Forms */

:root {
	--wpf-primary: #486572;
	--wpf-primary-dark: #344a54;
	--wpf-primary-light: #e9eef0;
	--wpf-border: #d7dde0;
	--wpf-text: #2c3a40;
	--wpf-error: #d9534f;
}

.wpforms-container.wpforms-render-modern input[type="date"],
.wpforms-container.wpforms-render-modern input[type="datetime"],
.wpforms-container.wpforms-render-modern input[type="datetime-local"],
.wpforms-container.wpforms-render-modern input[type="email"],
.wpforms-container.wpforms-render-modern input[type="month"],
.wpforms-container.wpforms-render-modern input[type="number"],
.wpforms-container.wpforms-render-modern input[type="password"],
.wpforms-container.wpforms-render-modern input[type="range"],
.wpforms-container.wpforms-render-modern input[type="search"],
.wpforms-container.wpforms-render-modern input[type="tel"],
.wpforms-container.wpforms-render-modern input[type="text"],
.wpforms-container.wpforms-render-modern input[type="time"],
.wpforms-container.wpforms-render-modern input[type="url"],
.wpforms-container.wpforms-render-modern input[type="week"],
.wpforms-container.wpforms-render-modern select,
.wpforms-container.wpforms-render-modern textarea {
	background: #fff !important;
	border-style: solid !important;
	border-width: 0 0 1px 0 !important;
	border-color: var(--wpf-border) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--wpf-text) !important;
	opacity: 0.5;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.wpforms-container.wpforms-render-modern input:focus,
.wpforms-container.wpforms-render-modern select:focus,
.wpforms-container.wpforms-render-modern textarea:focus {
	outline: none !important;
	opacity: 1;
	border-color: var(--wpf-primary) !important;
	box-shadow: none !important;
}

.wpforms-container.wpforms-render-modern textarea {
	resize: none !important;
}

.wpforms-container.wpforms-render-modern .wpforms-field-textarea textarea.wpforms-field-medium {
	height: 136px !important;
}

.wpforms-container.wpforms-render-modern .wpforms-field-label,
.wpforms-container.wpforms-render-modern legend.wpforms-field-label {
	font-weight: 600;
	color: var(--wpf-text);
}

.wpforms-container.wpforms-render-modern .wpforms-required-label {
	color: var(--wpf-primary);
}

.wpforms-container.wpforms-render-modern .wpforms-field-sublabel {
	color: #6b7b80;
	font-size: 13px;
}

.wpforms-container.wpforms-render-modern button[type="submit"],
.wpforms-container.wpforms-render-modern .wpforms-submit {
	padding: 15px 34px !important;
	font-size: 15px !important;
	background-color: var(--wpf-primary) !important;
	border-color: var(--wpf-primary) !important;
	border-radius: 4px !important;
	color: #fff !important;
	transition: background-color 0.2s ease !important;
}

.wpforms-container.wpforms-render-modern button[type="submit"]:hover,
.wpforms-container.wpforms-render-modern .wpforms-submit:hover {
	background-color: var(--wpf-primary-dark) !important;
	border-color: var(--wpf-primary-dark) !important;
}

.wpforms-container.wpforms-render-modern .wpforms-error,
.wpforms-container.wpforms-render-modern label.wpforms-error {
	color: var(--wpf-error) !important;
}

.wpforms-container.wpforms-render-modern input.wpforms-error,
.wpforms-container.wpforms-render-modern textarea.wpforms-error,
.wpforms-container.wpforms-render-modern select.wpforms-error {
	border-color: var(--wpf-error) !important;
}

.wpforms-confirmation-container-full {
	background-color: var(--wpf-primary-light);
	border-left: 4px solid var(--wpf-primary);
	padding: 20px 24px;
	color: var(--wpf-text);
}
.ast-builder-grid-row-3-equal .ast-builder-grid-row {
	grid-template-columns: 3fr 1fr 3fr;
}

/* End WP Forms */