/* ==========================================================
   form.css — PREMIUM TOWNHOUSE THEME
========================================================== */

.contact-form {
	width: 100%;
}

.contact-form h2 {
	margin-bottom: 2rem;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 3rem;
	font-weight: 700;
	color: var(--brand-forest);
}

label,
.contact-form label {
	display: block;
	margin: 1.2rem 0 0.4rem;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	color: var(--brand-forest);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
	width: 100%;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid rgba(23,59,50,0.18);
	border-radius: 14px;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 1rem;
	color: #222;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
	min-height: 160px;
	resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--brand-gold);
	box-shadow: 0 0 0 3px rgba(185, 141, 78, 0.18);
}

::placeholder {
	color: #9f9a90;
	opacity: 1;
}

::-webkit-input-placeholder {
	color: #9f9a90;
}

:-ms-input-placeholder {
	color: #9f9a90;
}

::-ms-input-placeholder {
	color: #9f9a90;
}

select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg fill='%23173b32' height='14' width='14' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 14,0 7,9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px;
}

input[type="submit"] {
	display: inline-block;
	width: auto;
	margin-top: 2rem;
	padding: 15px 34px;
	background: var(--brand-gold);
	color: #111;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

input[type="submit"]:hover {
	background: var(--brand-forest);
	color: #fff;
}

.form-message {
	margin-top: 1.5rem;
	padding: 12px 16px;
	border-radius: 14px;
	font-size: 0.95rem;
}

.form-message.error {
	background: #fdeaea;
	border: 1px solid #e0a1a1;
	color: #7a1f1f;
}

.form-message.success {
	background: #eef6ef;
	border: 1px solid #b9d2bd;
	color: var(--brand-forest);
}

@media (max-width: 768px) {
	.contact-form h2 {
		font-size: 2.25rem;
	}

	input[type="submit"] {
		width: 100%;
	}
}
