/*
Theme Name: My Underscores Starter
Theme URI: https://example.com
Author: You
Description: Modern, scalable starter stylesheet for _s
Version: 1.0
Text Domain: mytheme
*/

/* =========================================================
   DESIGN TOKENS
========================================================= */
:root {
	/* Colors */
	--color-bg: #111827;
	--color-surface: #ffffff;
	--color-text: #f9fafb;
	--color-muted: #6b7280;
	--color-primary: #2563eb;
	--color-primary-hover: #1d4ed8;
	--color-border: #e5e7eb;

	/* Typography */
	--font-sans: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.25rem;
	--text-xl: 1.5rem;
	--text-2xl: 2rem;

	/* Spacing */
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-4: 1rem;
	--space-6: 1.5rem;
	--space-8: 2rem;

	/* Radius */
	--radius: 0.5rem;
	--radius-lg: 0.75rem;

	/* Shadow */
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   RESET
========================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

html:focus-within {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

/* =========================================================
   BASE
========================================================= */
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: var(--text-base);
	background: var(--color-bg);
	color: var(--color-text);
	line-height: 1.6;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: 0.2s ease;
}

a:hover {
	color: var(--color-primary-hover);
}

/* =========================================================
   TYPOGRAPHY
========================================================= */
h1,
h2,
h3,
h4 {
	line-height: 1.25;
	margin-bottom: var(--space-2);
}

h1 {
	font-size: var(--text-2xl);
}

h2 {
	font-size: var(--text-xl);
}

h3 {
	font-size: var(--text-lg);
}

p {
	margin-bottom: var(--space-4);
	color: #f9fafb;
}

/* =========================================================
   LAYOUT
========================================================= */
.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: var(--space-4);
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1;
}

/* =========================================================
   COMPONENTS
========================================================= */

/* Buttons */
.button,
button,
input[type="submit"] {
	display: inline-block;
	background: var(--color-primary);
	color: white;
	padding: 0.5rem 1rem;
	border-radius: var(--radius);
	border: none;
	cursor: pointer;
	transition: background 0.2s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
	background: var(--color-primary-hover);
}

.site-title a {
	color: #ffffff;
	font-size: 2rem;
	font-weight: 700;
}

/* Cards */
.card {
	background: var(--color-surface);
	padding: var(--space-6);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

/* Navigation */
.main-navigation ul {
	list-style: none;
	display: flex;
	gap: var(--space-4);
}

.main-navigation a {
	color: var(--color-text);
}

.main-navigation a:hover {
	color: var(--color-primary);
}

/* Forms */
input,
textarea,
select {
	width: 100%;
	padding: var(--space-2);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font: inherit;
}

input:focus,
textarea:focus,
select:focus {
	outline: 2px solid var(--color-primary);
	border-color: transparent;
}

/* =========================================================
   UTILITIES (lightweight, not excessive)
========================================================= */

/* Spacing */
.mt-4 {
	margin-top: var(--space-4);
}

.mb-4 {
	margin-bottom: var(--space-4);
}

.p-4 {
	padding: var(--space-4);
}

/* Layout */
.flex {
	display: flex;
}

.grid {
	display: grid;
}

.justify-between {
	justify-content: space-between;
}

.items-center {
	align-items: center;
}

/* Text */
.text-center {
	text-align: center;
}

.text-muted {
	color: var(--color-muted);
}

/* =========================================================
   WORDPRESS CORE
========================================================= */
.aligncenter {
	display: block;
	margin: var(--space-4) auto;
}

.alignleft {
	float: left;
	margin-right: var(--space-4);
}

.alignright {
	float: right;
	margin-left: var(--space-4);
}

.wp-caption {
	max-width: 100%;
	font-size: var(--text-sm);
	color: var(--color-muted);
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
	padding: var(--space-8) 0;
	text-align: center;
	color: var(--color-muted);
}



/* Home Page */

.home .site {
	position: relative;
	background: url('/wp-content/uploads/2026/04/vaultovia-bg-01.jpg') center/cover no-repeat;
	min-height: 100vh;
}

#primary-menu {
	display: none;
}

/* Overlay layer */
.home .site::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 15, 89 , 0.7);
	/* adjust darkness */
	z-index: 0;
}

/* Keep content above overlay */
.home .site>* {
	position: relative;
	z-index: 1;
}



.footer-links {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 1rem;
	list-style: none;
	padding: 0;
}

.footer-links a {
	color: #d6d6d6;
	font-size: 0.8rem;
}

/* Contact Form */

/* =========================================================
   CONTACT FORM 7 - MODERN SAAS LAYOUT SYSTEM
========================================================= */

/* FORM WRAPPER (matches your React card) */
.cf7-form {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #e2e8f0;
	border-radius: 1.25rem;
	padding: 2rem;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

/* =========================================================
   SECTIONS (like your React "Property Location", etc.)
========================================================= */
.cf7-section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cf7-title {
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #1e3a8a;
	border-bottom: 1px solid #1e3a8a;
	padding-bottom: 0.5rem;
}

/* =========================================================
   FIELD BASE
========================================================= */
.cf7-field {
	display: flex;
	flex-direction: column;
}

.cf7-field label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
	margin-bottom: 0.25rem;
}

/* Inputs */
.cf7-field input,
.cf7-field textarea,
.cf7-field select {
	width: 100%;
	padding: 0.75rem 1rem;
	background: #f8fafc;
	border: 1px solid #cdd4dc;
	border-radius: 0.40rem;
	font-size: 0.95rem;
	color: #0f172a;
	outline: none;
	transition: all 0.2s ease;
}

/* Focus state (important SaaS feel) */
.cf7-field input:focus,
.cf7-field textarea:focus,
.cf7-field select:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
	background: #ffffff;
}

/* Placeholder styling */
.cf7-field input::placeholder,
.cf7-field textarea::placeholder {
	color: #94a3b8;
}

/* =========================================================
   GRID SYSTEM (matches your md:grid-cols-2 / 3)
========================================================= */

.cf7-grid-2,
.cf7-grid-3 {
	display: grid;
	gap: 1rem;
}

/* 2 columns */
@media (min-width: 768px) {
	.cf7-grid-2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* 3 columns */
@media (min-width: 768px) {
	.cf7-grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* =========================================================
   SUBMIT BUTTON (matches your React button)
========================================================= */
.cf7-submit input[type="submit"] {
	width: 100%;
	padding: 1rem 1.25rem;
	border-radius: 0.75rem;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 800;
	color: white;
	background: #2563eb;
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
	transition: all 0.2s ease;
}

.cf7-submit input[type="submit"]:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

.cf7-submit input[type="submit"]:active {
	transform: scale(0.98);
}

/* =========================================================
   DISABLED STATE (CF7 pending submit)
========================================================= */
.cf7-submit input[disabled] {
	background: #94a3b8;
	cursor: not-allowed;
	box-shadow: none;
}

/* =========================================================
   DISCLAIMER TEXT
========================================================= */
.cf7-disclaimer {
	font-size: 0.75rem;
	color: #94a3b8;
	text-align: center;
	line-height: 1.4;
}

/* =========================================================
   SPACING HELPERS
========================================================= */
.cf7-center {
	display: flex;
	justify-content: center;
}

/* =========================================================
   CF7 ERROR / SUCCESS STATES
========================================================= */
.wpcf7-response-output {
	border-radius: 0.75rem;
	padding: 1rem;
	font-size: 0.875rem;
	margin: 0 !important;
}

.wpcf7-validation-errors {
	background: #fef2f2;
	border: 1px solid #ef4444;
	color: #b91c1c;
}

.wpcf7-mail-sent-ok {
	background: #ecfdf5;
	border: 1px solid #10b981;
	color: #047857;
}

.cf-turnstile{
	text-align:center;
}