/* ═══════════════════════════════════════════════════════════
   Contact Page — Full Redesign
   ═══════════════════════════════════════════════════════════ */

/* ── Page header ── */
.contact-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.title-section {
	margin: 0;
}

.contact-title {
	margin: 0 0 1.25rem;
	color: #f5ebe9;
	font-family: "Alegreya", serif;
	font-size: clamp(2rem, 4.5vw, 4.2rem);
	line-height: 1.15;
	text-align: left;
}

.contact-title .line1 {
	display: block;
}

.divider-line {
	width: 0;
	margin-left: 0;
	border: none;
	border-top: 2px solid #e6fe6e;
	animation: slideInFromLeft 0.9s ease-out forwards;
}

@keyframes slideInFromLeft {
	from { width: 0; }
	to   { width: clamp(200px, 55%, 520px); }
}

/* ── Form section: background image + frosted card ── */
.contact-form-background {
	background: var(--wf-contact-bg) center center / cover fixed no-repeat;
	padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem);
	position: relative;
}

/* Dark tint over the background */
.contact-form-background::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(26, 41, 42, 0.55);
	pointer-events: none;
}

.contact-form-container {
	position: relative;
	z-index: 1;
	max-width: 780px;
	margin: 0 auto;
	background: rgba(245, 235, 233, 0.94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 6px;
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(230, 254, 110, 0.18);
}

/* ── Form typography baseline ── */
.contact-form-container .wpcf7 {
	color: #2a4345;
	font-family: "Merriweather Sans", sans-serif;
	font-size: 16px;
}

/* ── Form intro heading (optional) ── */
.contact-form-container .wpcf7 > p:first-child {
	font-family: "Alegreya", serif;
	font-size: 1.5rem;
	color: #2a4345;
	margin-bottom: 1.75rem;
}

/* ── Field groups ── */
.contact-form-container .nameemail,
.contact-form-container .selectphotog,
.contact-form-container .message {
	margin-bottom: 1.5rem;
}

.contact-form-container .nameemail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.contact-form-container .name,
.contact-form-container .email {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

/* ── Labels ── */
.contact-form-container label {
	display: block;
	font-family: "Alegreya Sans", sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7a9a9b;
	margin-bottom: 0.35rem;
}

/* ── Inputs & textarea ── */
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1.5px solid rgba(42, 67, 69, 0.2);
	border-radius: 4px;
	background-color: #ffffff;
	color: #2a4345;
	font-family: "Merriweather Sans", sans-serif;
	font-size: 15px;
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
	color: rgba(42, 67, 69, 0.38);
	font-size: 0.9em;
}

.contact-form-container input[type="text"]:focus,
.contact-form-container input[type="email"]:focus,
.contact-form-container textarea:focus {
	border-color: #e6fe6e;
	box-shadow: 0 0 0 3px rgba(230, 254, 110, 0.3);
}

.contact-form-container textarea {
	min-height: 130px;
	resize: vertical;
}

/* ── Photography type selector (radio group) ── */
.contact-form-container .selectphotog {
	border-top: 1px solid rgba(42, 67, 69, 0.12);
	border-bottom: 1px solid rgba(42, 67, 69, 0.12);
	padding: 1.25rem 0;
}

.contact-form-container .selectphotog > label {
	margin-bottom: 0.85rem;
	font-size: 0.78rem;
}

.contact-form-container .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

/* Pill-style radio buttons */
.contact-form-container .wpcf7-radio .wpcf7-list-item {
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
}

.contact-form-container .wpcf7-radio .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	border: 1.5px solid rgba(42, 67, 69, 0.3);
	border-radius: 100px;
	font-size: 0.85rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: none;
	color: #2a4345;
	background-color: #ffffff;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.contact-form-container .wpcf7-radio .wpcf7-list-item label:hover {
	border-color: #e6fe6e;
	background-color: rgba(230, 254, 110, 0.12);
}

/* Hide native radio, checked state drives the pill style */
.contact-form-container .wpcf7-radio input[type="radio"] {
	display: none;
}

.contact-form-container .wpcf7-radio input[type="radio"]:checked + span,
.contact-form-container .wpcf7-radio .wpcf7-list-item:has(input:checked) label {
	border-color: #2a4345;
	background-color: #2a4345;
	color: #e6fe6e;
}

/* ── Submit button ── */
.contact-form-container .submit-booking-inquiry,
.contact-form-container input[type="submit"] {
	display: block;
	width: 100%;
	margin: 1.75rem 0 0;
	padding: 1rem 2rem;
	border: 2px solid #e6fe6e;
	background-color: #e6fe6e;
	color: #2a4345;
	cursor: pointer;
	font-family: "Alegreya Sans", sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-align: center;
	border-radius: 4px;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.contact-form-container .submit-booking-inquiry:hover,
.contact-form-container input[type="submit"]:hover {
	background-color: transparent;
	color: #2a4345;
	box-shadow: 0 0 0 3px rgba(230, 254, 110, 0.35);
}

.contact-form-container .submit-booking-inquiry:active,
.contact-form-container input[type="submit"]:active {
	transform: scale(0.98);
}

/* ── CF7 success / error notices ── */
.contact-form-container .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 0.9rem 1.25rem;
	border-radius: 4px;
	font-family: "Merriweather Sans", sans-serif;
	font-size: 0.9rem;
}

.contact-form-container .wpcf7-mail-sent-ok {
	border: 1.5px solid #e6fe6e;
	background-color: rgba(230, 254, 110, 0.15);
	color: #2a4345;
}

.contact-form-container .wpcf7-validation-errors,
.contact-form-container .wpcf7-acceptance-missing {
	border: 1.5px solid #c0392b;
	background-color: rgba(192, 57, 43, 0.08);
	color: #2a4345;
}

.contact-form-container span.wpcf7-not-valid-tip {
	font-size: 0.78rem;
	color: #c0392b;
	margin-top: 0.25rem;
	display: block;
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.contact-header {
		padding: 2.5rem 1.25rem 1.5rem;
	}

	.contact-title {
		font-size: clamp(1.8rem, 7vw, 2.6rem);
	}

	.divider-line {
		animation-duration: 0.7s;
	}

	@keyframes slideInFromLeft {
		from { width: 0; }
		to   { width: 65%; }
	}

	.contact-form-background {
		padding: clamp(2rem, 6vw, 3rem) 1.25rem;
		background-attachment: scroll;
	}

	.contact-form-container {
		padding: 2rem 1.25rem;
	}

	.contact-form-container .nameemail {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.contact-form-container .wpcf7-radio {
		gap: 0.5rem;
	}

	.contact-form-container input[type="submit"],
	.contact-form-container .submit-booking-inquiry {
		font-size: 1rem;
		padding: 0.9rem 1.5rem;
	}
}
