/**
 * Pound & Penny Theme - Main Stylesheet
 * Converted from Squarespace
 */

/* CSS Variables */
:root {
	--white-hsl: 0, 0%, 100%;
	--black-hsl: 0, 0%, 0%;
	--accent-hsl: 36, 10.1%, 38.82%;
	--lightAccent-hsl: 36, 10.1%, 38.82%;
	--darkAccent-hsl: 0, 0%, 0%;
	
	--black: hsla(var(--black-hsl), 1);
	--white: hsla(var(--white-hsl), 1);
	--accent: hsla(var(--accent-hsl), 1);
	
	--max-page-width: 1445px;
	--site-gutter: 4vw;
	--mobile-site-gutter: 6vw;
	--page-padding: 3vw;
	--mobile-page-padding: 3.3vw;
	
	/* Typography */
	--font-primary: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-secondary: 'Libre Baskerville', Georgia, serif;
}

/* Base Styles */
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	font-family: var(--font-primary) !important;
	font-size: 16px;
	line-height: 1.6;
	color: var(--black);
	background-color: var(--white);
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.menu-open {
	overflow: hidden;
	position: fixed;
	width: 100%;
}

body.modal-open {
	overflow: hidden;
}

/* Prevent scroll during loading */
body.loading {
	overflow: hidden;
}

/* Loading Screen */
.page-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--black);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.page-loader.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.page-loader-content {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.page-loader-logo {
	max-width: 200px;
	max-height: 200px;
	width: auto;
	height: auto;
	opacity: 0;
	transform: scale(0.8);
	animation: logoFadeIn 0.8s ease-out 0.3s forwards;
	filter: brightness(1);
	transition: opacity 0.3s ease;
}

@keyframes logoFadeIn {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

/* Hide site content while loading */
body.loading #siteWrapper {
	opacity: 0;
	visibility: hidden;
}

body.loading #siteWrapper.loaded {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.8s ease-in 0.3s, visibility 0.8s ease-in 0.3s;
}

/* Ensure smooth transition */
#siteWrapper {
	transition: opacity 0.8s ease-in, visibility 0.8s ease-in;
}

/* Force fonts on all elements - EXACT Squarespace Match */
/* Note: Using * selector can be too aggressive, so we target specific elements */
body, html {
	font-family: var(--font-primary) !important;
}

h1, h2, h3, h4, h5, h6,
p, a, span, div,
button, input, select, textarea,
label, li, ul, ol {
	font-family: var(--font-primary) !important;
}

/* WP Bakery elements */
.vc_row *,
.vc_column *,
.vc_column_inner *,
.vc_column_text *,
.vc_toggle *,
.vc_btn *,
.vc_single_image *,
.vc_carousel *,
.vc_carousel_item * {
	font-family: var(--font-primary) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-primary) !important;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1em;
	color: var(--black);
	font-style: normal;
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.5rem;
}

h3 {
	font-size: 2rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin: 0 0 1em;
	font-family: var(--font-primary) !important;
	font-weight: 400;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s ease;
	font-family: var(--font-primary) !important;
}

a:hover {
	opacity: 0.7;
}

img,
video {
	max-width: 100%;
	height: auto;
}

/* Site Wrapper */
.site-wrapper {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	max-width: 100%;
}

/* Header Styles */
.header {
	position: relative;
	width: 100%;
	background-color: var(--black);
	color: var(--white);
	z-index: 1000;
}

.header-border {
	border-bottom: 1px solid var(--black);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.4vw 3vw;
	max-width: 100%;
	margin: 0 auto;
	width: 100%;
	position: relative;
}

.header-display-desktop {
	width: 100%;
}

.header-title-nav-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	flex-wrap: nowrap;
}

.header-title {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	order: 1;
}

.header-title-logo {
	display: flex;
	align-items: center;
}

.header-title-logo img,
.header-title-logo a,
.header-title-logo .custom-logo-link img {
	max-height: 86px !important;
	width: auto !important;
	display: block !important;
	height: auto !important;
	object-fit: contain;
}

.header-title-logo .custom-logo-link {
	display: block;
	line-height: 0;
}

.header-nav {
	flex-shrink: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-left: auto;
	order: 2;
}

.header-nav-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.header-nav-list {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2em;
	justify-content: flex-end;
	flex-wrap: nowrap;
}


.header-nav-item {
	margin: 0;
}

.header-nav-item a {
	color: var(--white);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.9rem;
	font-weight: 500;
	font-family: var(--font-primary) !important;
	padding: 0.5em 0;
	display: block;
}

.header-nav-item a:hover {
	opacity: 0.7;
}

/* Mobile Menu */
.header-display-mobile {
	display: none;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	padding: 3.3vw;
}

.header-display-mobile .header-title {
	flex: 0 0 auto;
}

.header-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
	width: 32px;
	height: 32px;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 10001;
}

.header-menu-toggle span {
	width: 24px;
	height: 1px;
	background-color: var(--white);
	display: block;
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	transform-origin: center;
}

.header-menu-toggle.active span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.header-menu-toggle.active span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.header-menu-toggle.active span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.header-menu-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.98);
	z-index: 10000;
	overflow-y: auto;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.header-menu-overlay.active {
	display: block;
	opacity: 1;
}

.header-menu-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--black);
}

.header-menu-nav {
	position: relative;
	z-index: 1;
	padding: 100px 0 50px;
	min-height: 100vh;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.header-menu-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 600px;
}

.header-menu-nav-list li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.header-menu-overlay.active .header-menu-nav-list li {
	opacity: 1;
	transform: translateY(0);
}

.header-menu-overlay.active .header-menu-nav-list li:nth-child(1) {
	transition-delay: 0.1s;
}

.header-menu-overlay.active .header-menu-nav-list li:nth-child(2) {
	transition-delay: 0.15s;
}

.header-menu-overlay.active .header-menu-nav-list li:nth-child(3) {
	transition-delay: 0.2s;
}

.header-menu-overlay.active .header-menu-nav-list li:nth-child(4) {
	transition-delay: 0.25s;
}

.header-menu-nav-list a {
	color: var(--white);
	text-transform: uppercase;
	font-size: 1.5rem;
	font-family: var(--font-primary) !important;
	font-weight: 500;
	letter-spacing: 0.1em;
	padding: 1.5em 3vw;
	display: block;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
}

.header-menu-nav-list a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 3vw;
	right: 3vw;
	height: 1px;
	background-color: rgba(255, 255, 255, 0.1);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.header-menu-nav-list a:hover {
	color: rgba(255, 255, 255, 0.8);
	padding-left: 4vw;
}

.header-menu-nav-list a:hover::after {
	transform: scaleX(1);
}


/* Container */
.container {
	max-width: var(--max-page-width);
	margin: 0 auto;
	padding: 0 var(--site-gutter);
}

.container--fluid {
	width: 100%;
}

/* Sections */
.page-section {
	position: relative;
	width: 100%;
}

.full-bleed-section {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.content-wrapper {
	position: relative;
	z-index: 2;
}

.content {
	max-width: var(--max-page-width);
	margin: 0 auto;
	padding: var(--page-padding);
}

/* Hero Section */
.hero-section {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	padding: 8vmax 0;
}

.hero-section h2 {
	font-size: 124.3px !important;
	font-weight: 700 !important;
	font-family: var(--font-primary) !important;
	margin-bottom: 1em;
	letter-spacing: -0.02em;
	white-space: pre-wrap;
	line-height: 1.1;
}

@media screen and (max-width: 767px) {
	.hero-section h2 {
		font-size: 3rem !important;
	}
}

.hero-section h3 {
	font-size: 1.5rem;
	color: #BF8C74;
	font-weight: 400;
	font-family: var(--font-primary) !important;
	font-style: normal;
	white-space: pre-wrap;
}

/* About Section */
#about {
	padding: 8vmax 0;
}

#about h2 {
	font-size: 2.5rem;
	margin-bottom: 2em;
}

#about p {
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 1.5em;
}

/* Portfolio Section */
#portfolio {
	padding: 8vmax 0;
	background-color: rgba(0, 0, 0, 0.03);
}

#portfolio .section-title {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 4em;
}

/* Services Section */
#services {
	padding: 8vmax 0;
}

/* Contact Section */
#contact {
	padding: 4vmax 0;
	background-color: rgba(0, 0, 0, 0.03);
}

/* Quote Section - "When you're all-in" */
.quote-section {
	position: relative;
	padding: 8vmax 0;
	min-height: 60vh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.quote-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.15);
	z-index: 1;
}

.quote-section .vc_row_inner {
	position: relative;
	z-index: 2;
}

.quote-section .vc_column_text {
	position: relative;
	z-index: 2;
}

.quote-box {
	background-color: #8B3A3A !important;
	padding: 6% !important;
	text-align: center;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex-direction: column;
}

.quote-box h4 {
	color: white;
	font-size: 30.1px !important;
	text-align: center;
	margin: 0;
	font-family: var(--font-primary) !important;
	font-weight: 700;
	font-style: normal;
	white-space: pre-wrap;
}

/* Penny Coin Styling */
.penny-coin {
	display: inline-flex;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: linear-gradient(135deg, #CD7F32 0%, #B87333 25%, #8B4513 50%, #B87333 75%, #CD7F32 100%);
	border: 10px solid #654321;
	box-shadow: 
		inset 0 0 25px rgba(0, 0, 0, 0.4),
		inset 0 0 50px rgba(255, 255, 255, 0.15),
		0 5px 10px rgba(0, 0, 0, 0.5),
		0 10px 20px rgba(0, 0, 0, 0.3);
	padding: 25px;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	margin: 20px auto;
	color: #654321 !important;
	font-size: 20px !important;
	line-height: 1.2;
	text-shadow: 
		0 1px 3px rgba(255, 255, 255, 0.4),
		0 -1px 2px rgba(0, 0, 0, 0.3);
	font-weight: 700;
	word-wrap: break-word;
}

.penny-coin::before {
	content: '';
	position: absolute;
	top: 10%;
	left: 10%;
	right: 10%;
	bottom: 10%;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
	pointer-events: none;
}

.penny-coin::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60%;
	height: 60%;
	border-radius: 50%;
	border: 2px solid rgba(139, 69, 19, 0.4);
	pointer-events: none;
}

.penny-coin strong {
	position: relative;
	z-index: 1;
	display: block;
	padding: 5px;
	width: 100%;
}

.quote-text {
	padding: 2em 0;
	font-style: italic;
	font-family: var(--font-primary) !important;
	font-weight: 400;
}

.quote-text em,
.quote-text strong em,
.quote-text p {
	font-family: var(--font-primary) !important;
	font-style: italic;
}

/* About Section - Image Styling */
.about-section {
	padding: 8vmax 0;
}

.about-section .vc_single_image {
	height: 100%;
	display: flex;
	align-items: center;
}

.about-section .vc_single_image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

.about-section .vc_column_text h2 {
	font-family: var(--font-primary) !important;
	font-weight: 700;
	white-space: pre-wrap;
}

.about-section .vc_column_text p {
	font-family: var(--font-primary) !important;
	font-weight: 400;
	white-space: pre-wrap;
	line-height: 1.8;
}

/* Portfolio Section - Carousel */
.portfolio-section {
	padding: 4vmax 0 0;
	background-color: rgba(0, 0, 0, 0.03);
	min-height: 75vh;
}

.portfolio-section .vc_column_text p {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 70px;
	padding-top: 4vmax;
	font-family: 'Libre Baskerville', serif !important;
	font-weight: 700;
	white-space: pre-wrap;
	color: #ffffff !important;
}

/* WP Bakery Carousel Styling */
.portfolio-section .vc_carousel {
	min-height: 75vh;
}

.portfolio-section .vc_carousel .vc_carousel-slideline {
	min-height: 75vh;
}

.portfolio-section .vc_carousel .vc_carousel-slideline-inner {
	min-height: 75vh;
}

.portfolio-section .vc_row_inner {
	min-height: 75vh;
	position: relative;
	padding: 40px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
}

.portfolio-section .vc_row_inner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 1;
}

.portfolio-section .vc_row_inner .vc_column_inner {
	position: relative;
	z-index: 2;
}

/* Carousel Navigation Styling */
.portfolio-section .vc_carousel-controls {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
}

.portfolio-section .vc_carousel-control {
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(0, 0, 0, 0.1);
	padding: 15px 20px;
	cursor: pointer;
	font-size: 1.5rem;
	transition: all 0.3s ease;
	color: var(--black);
	font-weight: 700;
	line-height: 1;
}

.portfolio-section .vc_carousel-control:hover {
	background: rgba(255, 255, 255, 1);
	border-color: rgba(0, 0, 0, 0.3);
}

.portfolio-section .vc_carousel-control-left {
	left: 5vw;
}

.portfolio-section .vc_carousel-control-right {
	right: 5vw;
}

.portfolio-slide::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 1;
}

.portfolio-slide .vc_column_inner {
	position: relative;
	z-index: 2;
}

.portfolio-card {
	background: rgba(255, 255, 255, 0.95);
	padding: 2%;
	width: 500px;
	max-width: 100%;
}

.portfolio-card h2 {
	font-size: 2.5rem;
	margin-bottom: 10px;
	font-family: var(--font-primary) !important;
	font-weight: 700;
}

.portfolio-card p {
	font-size: 1rem;
	margin-top: 10px;
	margin-bottom: 10px;
	white-space: pre-wrap;
	font-family: var(--font-primary) !important;
}

/* Portfolio Carousel Styles - Alternative using WP Bakery Testimonials */
.vc_images_carousel {
	padding: 2em 0;
}

.vc_images_carousel .vc_carousel-slideline {
	display: flex;
}

.vc_images_carousel .vc_carousel-slideline-inner {
	display: flex;
	align-items: center;
}

/* Services Section - Accordions */
.services-section {
	padding: 8vmax 0;
}

.services-section h2 {
	font-size: 2.5rem;
	margin-bottom: 1.5em;
	font-family: var(--font-primary) !important;
	font-weight: 700;
	white-space: pre-wrap;
}

.services-section .vc_column_text p {
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 2em;
	font-family: var(--font-primary) !important;
	white-space: pre-wrap;
}

.services-section h4 {
	font-family: var(--font-primary) !important;
	font-weight: 500;
	white-space: pre-wrap;
}

.services-section ul {
	font-family: var(--font-primary) !important;
}

.services-section ul li p {
	white-space: pre-wrap;
	font-family: var(--font-primary) !important;
}

/* WP Bakery Toggle/Accordion Styles */
.vc_toggle {
	margin-bottom: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.vc_toggle_title {
	padding: 15px 0;
	padding-right: 30px;
	font-size: 1rem;
	font-weight: 400 !important;
	font-family: var(--font-primary) !important;
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Remove any default icons or content */
.vc_toggle_title::before {
	display: none !important;
	content: none !important;
}

.vc_toggle_title::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 300;
	line-height: 1;
	transition: transform 0.3s ease, content 0.3s ease;
	width: 20px;
	text-align: center;
}

.vc_toggle_active .vc_toggle_title::after {
	content: '−';
	transform: translateY(-50%);
}

/* Hide any other icons that WP Bakery might add */
.vc_toggle_title .vc_toggle_icon,
.vc_toggle_title i,
.vc_toggle_title span[class*="icon"] {
	display: none !important;
}

/* Ensure title text is not bold */
.vc_toggle_title h4,
.vc_toggle_title h3,
.vc_toggle_title h2,
.vc_toggle_title h1,
.vc_toggle_title a {
	font-weight: 400 !important;
}

.vc_toggle_content {
	padding: 0 0 30px 0;
	font-size: 1rem;
	line-height: 1.8;
	max-width: 100%;
	font-family: var(--font-primary) !important;
	font-weight: 400;
}

/* FAQ / Accordion block: single-open (only one item open at a time) */
.accordion-items-container .accordion-item .accordion-item__dropdown {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.35s ease, opacity 0.25s ease;
}
.accordion-items-container .accordion-item--open .accordion-item__dropdown {
	max-height: 1200px;
	opacity: 1;
}
.accordion-items-container .accordion-item--open .accordion-icon-container .arrow {
	transform: rotate(180deg);
}
.accordion-items-container .accordion-icon-container .arrow {
	transition: transform 0.3s ease;
}

/* Portfolio Intent Quote Section */
.portfolio-intent-section {
	padding: 4vmax 0;
}

.portfolio-intent-section .vc_column_text {
	background-color: #BF8C74 !important;
	padding: 3% !important;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	box-sizing: border-box;
}

.portfolio-intent-section h4 {
	font-family: var(--font-primary);
	font-weight: 400;
	font-size: 1.5rem;
	color: var(--white);
	white-space: pre-wrap;
	margin: 0;
	line-height: 1.6;
}

/* Virginia Distillery Company Quote Section */
.vdc-quote-section {
	padding: 4vmax 0;
	background-color: rgba(0, 0, 0, 0.03);
}

.vdc-quote-section h2 {
	font-family: var(--font-primary) !important;
	font-weight: 700;
	white-space: pre-wrap;
	text-align: center;
}

.vdc-quote-section p {
	font-family: var(--font-primary) !important;
	font-size: 1.25rem;
	text-align: center;
	white-space: pre-wrap;
}

/* Contact Section */
.contact-section {
	padding: 4vmax 0;
	background-color: var(--black, #000000);
	color: var(--white, #ffffff);
}

.contact-section h2 {
	font-family: var(--font-primary) !important;
	font-weight: 700;
	white-space: pre-wrap;
}

.contact-section .vc_column_text a {
	font-family: var(--font-primary) !important;
}

.contact-section .vc_column_text:last-child {
	text-align: right;
	margin-top: 2em;
}

.contact-section .vc_column_text:last-child a {
	color: var(--black);
	font-weight: 700;
	font-family: var(--font-primary) !important;
	white-space: pre-wrap;
}

/* Footer */
.footer {
	background-color: var(--black);
	color: var(--white);
	padding: 3vw 0;
	margin-top: auto;
}

.footer-content {
	max-width: var(--max-page-width);
	margin: 0 auto;
	padding: 0 var(--site-gutter);
}

.footer-bottom {
	text-align: center;
	padding-top: 2em;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5em;
}

.copyright {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.7;
	font-family: var(--font-primary) !important;
	font-weight: 400;
}

.footer-privacy {
	margin: 0;
	text-align: right;
	width: 100%;
}

.footer-privacy a {
	color: var(--white);
	text-transform: uppercase;
	font-family: var(--font-primary) !important;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	transition: opacity 0.3s ease;
	opacity: 0.7;
}

.footer-privacy a:hover {
	opacity: 1;
}

/* Privacy Policy Modal */
.privacy-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	align-items: center;
	justify-content: center;
}

.privacy-modal.active {
	display: flex;
	opacity: 1;
	visibility: visible;
}

.privacy-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.privacy-modal-content {
	position: relative;
	z-index: 1;
	background-color: var(--white);
	max-width: 800px;
	width: 90%;
	max-height: 90vh;
	margin: auto;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transform: scale(0.95);
	transition: transform 0.3s ease;
}

.privacy-modal.active .privacy-modal-content {
	transform: scale(1);
}

.privacy-modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 10;
	color: var(--black);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.05);
}

.privacy-modal-close:hover {
	opacity: 0.7;
	background-color: rgba(0, 0, 0, 0.1);
	transform: rotate(90deg);
}

.privacy-modal-close svg {
	width: 20px;
	height: 20px;
}

.privacy-modal-header {
	padding: 2em 2.5em 1em;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.privacy-modal-header h2 {
	margin: 0;
	font-family: var(--font-primary) !important;
	font-weight: 700;
	font-size: 2rem;
	color: var(--black);
}

.privacy-modal-body {
	padding: 2em 2.5em;
	overflow-y: auto;
	flex: 1;
	font-family: var(--font-primary) !important;
	line-height: 1.8;
	color: var(--black);
}

.privacy-modal-body p {
	margin-bottom: 1.5em;
	font-family: var(--font-primary) !important;
}

.privacy-modal-body h3,
.privacy-modal-body h4 {
	font-family: var(--font-primary) !important;
	font-weight: 700;
	margin-top: 2em;
	margin-bottom: 1em;
}

.privacy-modal-body ul,
.privacy-modal-body ol {
	margin-left: 2em;
	margin-bottom: 1.5em;
	font-family: var(--font-primary) !important;
}

.privacy-modal-body li {
	margin-bottom: 0.5em;
	font-family: var(--font-primary) !important;
}

body.modal-open {
	overflow: hidden;
}

/* Responsive Modal */
@media screen and (max-width: 768px) {
	.privacy-modal-content {
		width: 95%;
		max-height: 95vh;
	}
	
	.privacy-modal-header {
		padding: 1.5em 1.5em 1em;
	}
	
	.privacy-modal-header h2 {
		font-size: 1.5rem;
	}
	
	.privacy-modal-body {
		padding: 1.5em;
	}
	
	.privacy-modal-close {
		top: 15px;
		right: 15px;
		width: 36px;
		height: 36px;
	}
}

/* Ensure all text elements use the primary font */
button,
input,
select,
textarea,
label {
	font-family: var(--font-primary) !important;
}

/* WP Bakery elements - FORCE fonts */
.vc_column_text,
.vc_column_text p,
.vc_column_text h1,
.vc_column_text h2,
.vc_column_text h3,
.vc_column_text h4,
.vc_column_text h5,
.vc_column_text h6,
.vc_column_text a,
.vc_column_text span,
.vc_column_text div {
	font-family: var(--font-primary) !important;
}

/* Secondary font for special cases (if needed) */
.quote-text em,
blockquote,
cite {
	font-family: var(--font-secondary);
}

/* Footer Logo */
.footer-logo {
	margin: 2em auto;
	max-width: 120px;
	display: block;
}

/* Responsive */
@media screen and (max-width: 767px) {
	.header-display-desktop {
		display: none;
	}
	
	.header-display-mobile {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}
	
	.header-menu-toggle {
		display: flex !important;
	}
	
	.header-menu-nav-list a {
		font-size: 1.25rem;
		padding: 1.25em 6vw;
	}
	
	.header-menu-nav-list a:hover {
		padding-left: 7vw;
	}
	
	.header-inner {
		padding: var(--mobile-page-padding);
	}
	
	.header-title-logo img,
	.header-title-logo .custom-logo-link {
		max-height: 30px;
	}
	
	.header-title-logo .custom-logo-link img {
		max-height: 30px;
	}
	
	.hero-section h2 {
		font-size: 3rem;
	}
	
	.penny-coin {
		width: 160px !important;
		height: 160px !important;
		font-size: 14px !important;
		padding: 18px !important;
		border-width: 7px !important;
	}
	
	.penny-coin strong {
		padding: 5px !important;
		font-size: 14px !important;
	}
	
	.page-loader-logo {
		max-width: 150px !important;
		max-height: 150px !important;
	}
	
	.content {
		padding: var(--mobile-site-gutter);
	}
	
	h1 {
		font-size: 2rem;
	}
	
	h2 {
		font-size: 1.75rem;
	}
	
	h3 {
		font-size: 1.5rem;
	}
	
	.quote-section {
		padding: 4vmax 0;
	}
	
	.quote-box h4 {
		font-size: 1.5rem;
	}
	
	.about-section {
		padding: 4vmax 0;
	}
	
	.portfolio-section {
		padding: 4vmax 0;
	}
	
	.portfolio-section .vc_column_text p {
		font-size: 1.75rem;
	}
	
	.services-section {
		padding: 4vmax 0;
	}
	
	.contact-section {
		padding: 2vmax 0;
	}
}

/* WP Bakery Compatibility */
.vc_row {
	margin-bottom: 0;
	box-sizing: border-box;
}

.vc_column_container {
	padding: 0;
}

/* Ensure WP Bakery text elements inherit fonts - FORCE IT */
.vc_row *,
.vc_column *,
.vc_column_inner *,
.vc_column_text *,
.vc_toggle *,
.vc_btn *,
.vc_single_image *,
.vc_carousel *,
.vc_carousel_item *,
.vc_raw_html * {
	font-family: var(--font-primary) !important;
}

/* Force fonts on all WP Bakery elements */
.vc_column_text,
.vc_column_text p,
.vc_column_text h1,
.vc_column_text h2,
.vc_column_text h3,
.vc_column_text h4,
.vc_column_text h5,
.vc_column_text h6,
.vc_toggle_title {
	font-weight: 400 !important;
}

.vc_toggle_title,
.vc_toggle_content,
.vc_btn,
button,
input,
select,
textarea,
label,
form * {
	font-family: var(--font-primary) !important;
}

/* Additional Section Styling */
.vdc-quote-section p.sqsrte-large {
	font-size: 1.25rem;
	font-family: var(--font-primary);
}

/* Ensure all text maintains proper spacing */
.vc_column_text p,
.vc_column_text h1,
.vc_column_text h2,
.vc_column_text h3,
.vc_column_text h4 {
	white-space: pre-wrap;
}

/* Form elements */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select,
button,
.vc_btn,
.wpcf7-form input,
.wpcf7-form textarea {
	font-family: var(--font-primary) !important;
}

/* Contact Form 7 Styling - Dark Theme for Contact Section */
.contact-section .wpcf7 {
	font-family: var(--font-primary) !important;
	max-width: 100%;
	background-color: transparent;
}

.contact-section .wpcf7-form {
	width: 100%;
}

.contact-section .wpcf7-form p {
	margin-bottom: 1.5em;
	font-family: var(--font-primary) !important;
	text-align: left;
}

.contact-section .wpcf7-form label {
	display: block;
	margin-bottom: 0.5em;
	font-family: var(--font-primary) !important;
	font-weight: 400;
	font-size: 0.95rem;
	color: var(--white, #ffffff) !important;
	line-height: 1.5;
	text-align: left;
}

.contact-section .wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
	margin-bottom: 0;
}

/* Name fields side-by-side layout */
.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="first"]),
.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="fname"]),
.contact-section .wpcf7-form fieldset .field.first-name .wpcf7-form-control-wrap,
.contact-section .wpcf7-form fieldset .field:first-child .wpcf7-form-control-wrap {
	display: inline-block;
	width: calc(50% - 8px);
	margin-right: 16px;
	margin-bottom: 1.5em;
	vertical-align: top;
}

.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="last"]),
.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="lname"]),
.contact-section .wpcf7-form fieldset .field.last-name .wpcf7-form-control-wrap,
.contact-section .wpcf7-form fieldset .field:last-child .wpcf7-form-control-wrap {
	display: inline-block;
	width: calc(50% - 8px);
	margin-right: 0;
	margin-bottom: 1.5em;
	vertical-align: top;
}

/* Handle fieldset structure for name fields */
.contact-section .wpcf7-form fieldset {
	display: block;
	margin-bottom: 1.5em;
}

.contact-section .wpcf7-form fieldset .field {
	display: inline-block;
	width: calc(50% - 8px);
	margin-right: 16px;
	vertical-align: top;
}

.contact-section .wpcf7-form fieldset .field:last-child {
	margin-right: 0;
}

/* Ensure inputs within half-width containers fill their space */
.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="first"]) input,
.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="fname"]) input,
.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="last"]) input,
.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="lname"]) input,
.contact-section .wpcf7-form fieldset .field input {
	width: 100%;
	box-sizing: border-box;
}

.contact-section .wpcf7-form input[type="text"],
.contact-section .wpcf7-form input[type="email"],
.contact-section .wpcf7-form input[type="tel"],
.contact-section .wpcf7-form input[type="url"],
.contact-section .wpcf7-form input[type="number"],
.contact-section .wpcf7-form textarea,
.contact-section .wpcf7-form select {
	width: 100%;
	padding: 12px 16px;
	font-family: var(--font-primary) !important;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--black, #000000);
	background-color: var(--white, #ffffff);
	border: none;
	border-radius: 0;
	transition: opacity 0.3s ease;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	box-sizing: border-box;
}

.contact-section .wpcf7-form input[type="text"]:focus,
.contact-section .wpcf7-form input[type="email"]:focus,
.contact-section .wpcf7-form input[type="tel"]:focus,
.contact-section .wpcf7-form input[type="url"]:focus,
.contact-section .wpcf7-form input[type="number"]:focus,
.contact-section .wpcf7-form textarea:focus,
.contact-section .wpcf7-form select:focus {
	outline: none;
	opacity: 0.95;
}

.contact-section .wpcf7-form textarea {
	min-height: 120px;
	resize: vertical;
	font-family: var(--font-primary) !important;
}

.contact-section .wpcf7-form input[type="radio"] {
	width: auto;
	margin-right: 8px;
	margin-top: 2px;
	vertical-align: top;
	accent-color: var(--white, #ffffff);
	background-color: var(--white, #ffffff);
	border: 1px solid var(--white, #ffffff);
	cursor: pointer;
}

/* Mailing list checkbox styling - #8B3A3A color */
.contact-section .wpcf7-form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	margin-right: 8px;
	margin-top: 2px;
	vertical-align: top;
	accent-color: #8B3A3A;
	background-color: var(--white, #ffffff);
	border: 1px solid var(--white, #ffffff);
	cursor: pointer;
	-webkit-appearance: checkbox;
	-moz-appearance: checkbox;
	appearance: checkbox;
}

.contact-section .wpcf7-form input[type="checkbox"]:checked {
	accent-color: #8B3A3A;
	background-color: #8B3A3A;
	border-color: #8B3A3A;
}

.contact-section .wpcf7-form .wpcf7-checkbox .wpcf7-list-item,
.contact-section .wpcf7-form .wpcf7-radio .wpcf7-list-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 0.75em;
}

.contact-section .wpcf7-form .wpcf7-checkbox label,
.contact-section .wpcf7-form .wpcf7-radio label {
	display: flex;
	align-items: flex-start;
	margin-bottom: 0;
	font-weight: 400;
	font-size: 0.95rem;
	color: var(--white, #ffffff) !important;
	cursor: pointer;
	line-height: 1.6;
	text-align: left;
}

/* Ensure all text within checkbox labels is white */
.contact-section .wpcf7-form .wpcf7-checkbox label span,
.contact-section .wpcf7-form .wpcf7-checkbox label *,
.contact-section .wpcf7-form .wpcf7-radio label span,
.contact-section .wpcf7-form .wpcf7-radio label * {
	color: var(--white, #ffffff) !important;
}

.contact-section .wpcf7-form .wpcf7-checkbox input[type="checkbox"] {
	margin-right: 10px;
	margin-top: 4px;
	flex-shrink: 0;
	accent-color: #8B3A3A;
}

.contact-section .wpcf7-form .wpcf7-checkbox input[type="checkbox"]:checked {
	accent-color: #8B3A3A;
	background-color: #8B3A3A;
	border-color: #8B3A3A;
}

.contact-section .wpcf7-form .wpcf7-radio input[type="radio"] {
	margin-right: 10px;
	margin-top: 4px;
	flex-shrink: 0;
}

.wpcf7-form .wpcf7-submit {
	display: inline-block;
	padding: 14px 32px;
	font-family: var(--font-primary) !important;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--white);
	background-color: var(--black);
	border: 2px solid var(--black);
	border-radius: 0;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: none;
	letter-spacing: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.wpcf7-form .wpcf7-submit:hover {
	background-color: rgba(0, 0, 0, 0.85);
	border-color: rgba(0, 0, 0, 0.85);
}

.wpcf7-form .wpcf7-submit:active {
	transform: translateY(1px);
}

.wpcf7-form .wpcf7-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Required field indicator */
.contact-section .wpcf7-form .wpcf7-validates-as-required::after {
	content: ' (required)';
	color: var(--white, #ffffff);
	font-weight: 400;
}

/* Error and validation messages */
.contact-section .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.5em;
	font-family: var(--font-primary) !important;
	font-size: 0.875rem;
	color: #ff6b6b;
	line-height: 1.4;
}

.contact-section .wpcf7-form-control-wrap .wpcf7-not-valid {
	border: 1px solid #ff6b6b !important;
}

.contact-section .wpcf7-form-control-wrap .wpcf7-not-valid:focus {
	border: 1px solid #ff6b6b !important;
	outline: none;
}

.contact-section .wpcf7-validation-errors,
.contact-section .wpcf7-mail-sent-ng {
	display: block;
	padding: 12px 16px;
	margin-bottom: 1.5em;
	font-family: var(--font-primary) !important;
	font-size: 0.9rem;
	line-height: 1.5;
	background-color: rgba(255, 107, 107, 0.2);
	border-left: 4px solid #ff6b6b;
	color: #ffffff;
}

.contact-section .wpcf7-mail-sent-ok {
	display: block;
	padding: 12px 16px;
	margin-bottom: 1.5em;
	font-family: var(--font-primary) !important;
	font-size: 0.9rem;
	line-height: 1.5;
	background-color: rgba(76, 175, 80, 0.2);
	border-left: 4px solid #4caf50;
	color: #ffffff;
}

.wpcf7-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 8px;
	vertical-align: middle;
	border: 2px solid rgba(0, 0, 0, 0.2);
	border-top-color: var(--black);
	border-radius: 50%;
	animation: wpcf7-spin 0.6s linear infinite;
}

@keyframes wpcf7-spin {
	to {
		transform: rotate(360deg);
	}
}


/* Responsive adjustments for Contact Form 7 */
@media screen and (max-width: 768px) {
	.contact-section .wpcf7-form input[type="text"],
	.contact-section .wpcf7-form input[type="email"],
	.contact-section .wpcf7-form input[type="tel"],
	.contact-section .wpcf7-form input[type="url"],
	.contact-section .wpcf7-form textarea {
		padding: 10px 14px;
		font-size: 16px; /* Prevents zoom on iOS */
	}
	
	.contact-section .wpcf7-form .wpcf7-submit {
		width: 100%;
		padding: 14px 24px;
	}
	
	/* Stack name fields on mobile */
	.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="first"]),
	.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="fname"]),
	.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="last"]),
	.contact-section .wpcf7-form .wpcf7-form-control-wrap:has(input[name*="lname"]),
	.contact-section .wpcf7-form fieldset .field {
		display: block;
		width: 100%;
		margin-right: 0;
		margin-bottom: 1.5em;
	}
	
	.contact-section .wpcf7-form fieldset .field:last-child {
		margin-bottom: 0;
	}
}

/* Utility Classes */
.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}
