/* ================================================
   Octoprod.tv — Custom Overrides (Plexx Child Theme)
   ================================================ */

/* ------------------------------------------------ */
/* CF7 Form — Cinematic Dark Redesign              */
/* ------------------------------------------------ */

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-date,
.wpcf7-url,
.wpcf7-tel,
.wpcf7-select {
	width: 100%;
}

.wpcf7-form {
	margin-top: 10px;
	max-width: 580px;
	margin-left: auto;
	margin-right: auto;
}

.wpcf7-form p {
	margin: 0 0 2px 0 !important;
	padding: 0;
	position: relative;
}

.wpcf7-form label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 3px;
	padding-top: 4px;
}

.container .wpcf7-form p {
	font-size: 15px;
	font-weight: 400;
	margin: 0 0 2px 0;
	line-height: normal;
}

/* Inputs, textareas, selects, date */
.wpcf7 input[type="text"],
.wpcf7 input[type="password"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
	font-size: 14px;
	padding: 11px 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	outline: none;
	transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.wpcf7 textarea {
	min-height: 90px;
	resize: vertical;
}

/* Placeholder */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
	color: rgba(255, 255, 255, 0.22);
	font-style: italic;
}

/* Focus state — subtle amber glow matching the site's gold accents */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="password"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	border-color: rgba(207, 168, 78, 0.5);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 0 0 3px rgba(207, 168, 78, 0.08);
}

/* Select dropdown styling */
.wpcf7 select {
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.04);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.wpcf7 select option {
	background: #1e2228;
	color: rgba(255, 255, 255, 0.9);
	padding: 8px;
}

/* Date input */
.wpcf7 input[type="date"] {
	color-scheme: dark;
}

.type-page .wpcf7-form {
	padding: 10px 0;
}

/* Checkboxes & acceptance */
.wpcf7-acceptance,
.wpcf7-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0;
}

.wpcf7-acceptance label,
.wpcf7-checkbox label {
	text-transform: none;
	letter-spacing: 0;
	font-size: 13px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
}

.wpcf7-acceptance input[type="checkbox"],
.wpcf7-checkbox input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	min-width: 18px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
	margin-top: 1px;
	transition: all 0.2s ease;
	position: relative;
}

.wpcf7-acceptance input[type="checkbox"]:checked,
.wpcf7-checkbox input[type="checkbox"]:checked {
	background: rgba(207, 168, 78, 0.85);
	border-color: rgba(207, 168, 78, 0.85);
}

.wpcf7-acceptance input[type="checkbox"]:checked::after,
.wpcf7-checkbox input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 6px;
	width: 4px;
	height: 8px;
	border: solid #1a1d21;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.wpcf7-acceptance a {
	color: rgba(207, 168, 78, 0.85);
	text-decoration: none;
	border-bottom: 1px solid rgba(207, 168, 78, 0.25);
	transition: border-color 0.2s ease;
}

.wpcf7-acceptance a:hover {
	border-bottom-color: rgba(207, 168, 78, 0.7);
}

/* Submit button */
.wpcf7 input[type="submit"] {
	display: table;
	width: auto;
	float: none !important;
	clear: both;
	margin: 10px auto 0 auto !important;
	padding: 14px 40px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #1a1d21;
	background: linear-gradient(135deg, #cfa84e 0%, #e8c96a 100%);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 10px;
}

.wpcf7 input[type="submit"]:hover {
	background: linear-gradient(135deg, #e8c96a 0%, #cfa84e 100%);
	box-shadow: 0 4px 20px rgba(207, 168, 78, 0.3);
	transform: translateY(-1px);
}

.wpcf7 input[type="submit"]:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(207, 168, 78, 0.2);
}

/* Validation */
.wpcf7-not-valid-tip {
	font-size: 12px;
	color: #e85454;
	margin-top: 4px;
	display: block !important;
	position: relative;
	width: auto;
}

.wpcf7-validation-errors,
.wpcf7-response-output {
	border: 1px solid rgba(232, 84, 84, 0.3) !important;
	border-radius: 6px;
	padding: 12px 16px !important;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	margin: 16px 0 0 0 !important;
}

.wpcf7-mail-sent-ok,
.wpcf7-response-output[style*="border-color: #46b450"],
.wpcf7 form.sent .wpcf7-response-output {
	border-color: rgba(70, 180, 80, 0.4) !important;
	color: rgba(255, 255, 255, 0.8);
}

.wpcf7 input[type="email"].wpcf7-not-valid,
.wpcf7 input[type="text"].wpcf7-not-valid,
.wpcf7 input[type="url"].wpcf7-not-valid,
.wpcf7 input[type="tel"].wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
	border-color: rgba(232, 84, 84, 0.5);
}

/* Spinner on submit */
.wpcf7-spinner {
	display: inline-block;
	margin-left: 12px;
	vertical-align: middle;
}


/* ------------------------------------------------ */
/* Workflow Page — Cinematic Timeline (page-id-1729) */
/* ------------------------------------------------ */

/* Reset theme defaults inside workflow page */
.page-id-1729 .post-description > .wf-page p {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.page-id-1729 .post-description > .wf-page h2,
.page-id-1729 .post-description > .wf-page h4,
.page-id-1729 .post-description > .wf-page h6 {
	color: inherit;
}

.page-id-1729 .post-description > .wf-page ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.page-id-1729 .post-description > .wf-page li {
	line-height: 1.6;
}

.page-id-1729 .post-description > .wf-page a {
	color: rgba(207, 168, 78, 0.85);
	text-decoration: none;
	border-bottom: 1px solid rgba(207, 168, 78, 0.2);
	transition: border-color 0.2s ease;
}

.page-id-1729 .post-description > .wf-page a:hover {
	border-bottom-color: rgba(207, 168, 78, 0.7);
}

/* Page wrapper */
.wf-page {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Hero quote */
.wf-hero {
	text-align: center !important;
	padding: 30px 0 50px;
	border-bottom: 1px solid rgba(207, 168, 78, 0.12);
	margin-bottom: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wf-page .wf-hero p.wf-quote {
	font-size: 24px;
	font-style: italic;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.7;
	max-width: 620px;
	margin: 0 auto !important;
	font-weight: 300;
	letter-spacing: 0.01em;
	text-align: center !important;
}

/* Services two-column grid */
.wf-services {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	margin-bottom: 55px;
	padding-bottom: 45px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wf-services h6 {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(207, 168, 78, 0.65);
	margin: 0 0 18px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(207, 168, 78, 0.1);
}

.wf-services li {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.55);
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.wf-services li:last-child {
	border-bottom: none;
}

.wf-services li strong {
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
}

/* Timeline */
.wf-timeline {
	position: relative;
	padding-left: 80px;
}

.wf-timeline::before {
	content: '';
	position: absolute;
	left: 30px;
	top: 8px;
	bottom: 40px;
	width: 1px;
	background: linear-gradient(
		180deg,
		rgba(207, 168, 78, 0.35) 0%,
		rgba(207, 168, 78, 0.1) 40%,
		rgba(207, 168, 78, 0.1) 60%,
		rgba(207, 168, 78, 0.35) 100%
	);
}

.wf-step {
	position: relative;
	margin-bottom: 0;
	padding: 0 0 40px 0;
}

.wf-step:last-child {
	padding-bottom: 0;
}

/* Step number */
.wf-step::before {
	content: attr(data-step);
	position: absolute;
	left: -80px;
	top: -3px;
	width: 60px;
	text-align: right;
	font-size: 32px;
	font-weight: 700;
	color: rgba(207, 168, 78, 0.25);
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	line-height: 1;
}

/* Timeline dot */
.wf-step::after {
	content: '';
	position: absolute;
	left: -53px;
	top: 10px;
	width: 6px;
	height: 6px;
	background: rgba(207, 168, 78, 0.6);
	border-radius: 50%;
	box-shadow: 0 0 0 3px rgba(207, 168, 78, 0.1);
}

/* Step heading */
.wf-step h2 {
	font-size: 24px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 18px 0;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.wf-tag {
	font-size: 12px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.25);
	margin-left: 10px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	vertical-align: middle;
}

/* Step list items */
.wf-step > ul > li {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.65);
	padding: 6px 0 6px 18px;
	position: relative;
}

.wf-step > ul > li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 15px;
	width: 7px;
	height: 1px;
	background: rgba(207, 168, 78, 0.35);
}

.wf-step li strong {
	color: rgba(255, 255, 255, 0.88);
	font-weight: 500;
}

/* Optional items (italic) */
.wf-step li em {
	color: rgba(255, 255, 255, 0.35);
	font-style: italic;
}

/* Nested sub-lists */
.wf-step li > ul {
	margin-top: 2px;
	padding-left: 8px;
}

.wf-step li > ul > li {
	padding: 3px 0 3px 16px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.45);
}

.wf-step li > ul > li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 11px;
	width: 4px;
	height: 1px;
	background: rgba(255, 255, 255, 0.15);
}

/* Inline note */
.wf-note-inline {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.25);
	font-style: italic;
	margin-top: 10px;
	padding-left: 18px;
}

/* Legend */
.wf-legend {
	text-align: center;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.3);
	padding: 35px 0 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	margin-top: 10px;
	font-style: italic;
	letter-spacing: 0.02em;
}

/* Contact section */
.wf-contact {
	margin-top: 10px;
	padding: 35px 30px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
}

.wf-contact h4 {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(207, 168, 78, 0.65);
	margin: 0 0 25px 0;
	text-align: center;
}

.wf-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
}

.wf-contact-item {
	text-align: center;
	padding: 14px 10px;
	border-radius: 6px;
	transition: background 0.2s ease;
}

.wf-contact-item:hover {
	background: rgba(255, 255, 255, 0.02);
}

.wf-contact-item strong {
	display: block;
	font-size: 17px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	margin-bottom: 6px;
}

.wf-contact-item span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.35);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* Workflow mobile */
@media (max-width: 640px) {
	.wf-services {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.wf-timeline {
		padding-left: 55px;
	}

	.wf-step::before {
		left: -55px;
		width: 40px;
		font-size: 24px;
	}

	.wf-step::after {
		left: -20px;
		top: 8px;
	}

	.wf-timeline::before {
		left: 17px;
	}

	.wf-contact-grid {
		grid-template-columns: 1fr;
	}

	.wf-contact {
		padding: 25px 20px;
	}
}


/* ------------------------------------------------ */
/* Portfolio thumbnails — EWWW lazy load fix        */
/* ------------------------------------------------ */

.portfolio-item-slug .thumb {
	opacity: 1 !important;
}


/* ------------------------------------------------ */
/* Mobile menu — dark background, compact padding   */
/* ------------------------------------------------ */

@media only screen and (max-width: 959px) {
	#navigation .nav-menu {
		padding: 20px 20px 20px 10px;
		background: #1a1d21;
	}

	.menu-alt #navigation .nav-menu {
		width: 100%;
		padding: 20px 30px;
		background: #1a1d21;
	}

	.fullwidth-navigation.menu-alt #navigation .nav-menu {
		padding: 20px 20px 20px 10px;
	}

	/* Page title, subtitle, filters */
	#page-title h1 {
		font-size: 26px;
		line-height: 1.2;
		padding: 10px 15px;
	}

	.subtitle p {
		font-size: 16px;
		line-height: 1.5;
		margin: 0 10px;
	}

	#page-title {
		padding: 20px 10px;
	}

	.filters-container {
		padding: 25px 5px;
		font-size: 13px;
	}

	.filters-container li {
		padding: 4px 8px;
	}
}

/* Small phones */
@media only screen and (max-width: 420px) {
	#page-title h1 {
		font-size: 22px;
		line-height: 1.25;
		padding: 8px 10px;
	}

	.subtitle p {
		font-size: 15px;
		line-height: 1.45;
	}

	.filters-container {
		padding: 20px 5px;
		font-size: 12px;
	}

	.filters-container li {
		padding: 3px 6px;
	}
}
