/**
 * Contact Us Page Styling — Shoootlifestyle Theme
 * Modern, compact 2-column layout: Contact Form on one side, Editorial Product Showcase on the other.
 */

.contact-page {
	padding: 32px 0 44px;
	background: var(--color-bg, #0d0d0d);
}

.contact-page__container {
	width: 100%;
	max-width: var(--container-max, 100%);
	margin-inline: auto;
	padding-inline: var(--container-padding);
}

.contact-page__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(20px, 2.5vw, 36px);
	align-items: stretch;
}

/* ---- Form Side ---- */
.contact-page__form-col {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(32px, 3.5vw, 48px);
	background: var(--color-surface, #181818);
	border: 1px solid var(--color-border-subtle, rgba(255,255,255,0.08));
	border-radius: var(--radius-lg, 16px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	position: relative;
	min-height: 640px;
}

.contact-page__header {
	margin-bottom: 20px;
}

.contact-page__eyebrow {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-accent, #e53e3e);
	margin-bottom: 6px;
}

.contact-page__title {
	font-size: clamp(26px, 2.2vw, 34px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--color-ink, #ffffff);
	margin: 0 0 8px;
}

.contact-page__subtitle {
	font-size: 14px;
	line-height: 1.55;
	color: var(--color-ink-muted, #9ca3af);
	margin: 0;
}

/* Form Styles */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
	justify-content: space-between;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.contact-form__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-ink, #ffffff);
	letter-spacing: 0.01em;
}

.contact-form__label .required {
	color: var(--color-accent, #e53e3e);
	margin-left: 2px;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
	width: 100%;
	padding: 13px 16px;
	background: var(--color-bg, #111111);
	border: 1px solid var(--color-border-strong, rgba(255,255,255,0.14));
	border-radius: 8px;
	color: var(--color-ink, #ffffff);
	font-family: inherit;
	font-size: 14.5px;
	transition: border-color var(--duration-fast, 0.2s) ease, box-shadow var(--duration-fast, 0.2s) ease;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
	outline: none;
	border-color: var(--color-ink, #ffffff);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
	color: var(--color-ink-faint, #6b7280);
	font-size: 13.5px;
}

.contact-form__textarea {
	resize: vertical;
	min-height: 130px;
	line-height: 1.5;
}

.contact-form__submit-btn {
	width: 100%;
	padding: 15px 24px;
	margin-top: 4px;
	background: var(--color-cta-bg, #ffffff);
	color: var(--color-cta-text, #000000);
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.2s ease;
}

.contact-form__submit-btn:hover {
	background: var(--color-cta-hover-bg, #e5e7eb);
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
}

.contact-form__submit-btn:active {
	transform: translateY(0);
}

.contact-form__submit-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.contact-form__submit-btn svg {
	width: 15px;
	height: 15px;
	transition: transform 0.2s ease;
}

.contact-form__submit-btn:hover svg {
	transform: translateX(3px);
}

/* Notice / Alert States */
.contact-form__notice {
	display: none;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	margin-bottom: 12px;
}

.contact-form__notice--error {
	background: rgba(229, 62, 62, 0.12);
	border: 1px solid rgba(229, 62, 62, 0.35);
	color: #fc8181;
}

/* Dedicated Success Box (Shows on submission) */
.contact-form__success-box {
	display: none;
	padding: 28px 20px;
	text-align: center;
	background: rgba(34, 197, 94, 0.08);
	border: 1px solid rgba(34, 197, 94, 0.25);
	border-radius: 10px;
	margin-top: 4px;
	animation: contact-fade-in 0.3s ease;
}

.contact-form__success-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 14px;
	background: #22c55e;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.contact-form__success-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-ink, #ffffff);
	margin: 0 0 8px;
}

.contact-form__success-desc {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--color-ink-muted, #9ca3af);
	margin: 0 0 20px;
}

.contact-form__success-desc strong {
	color: var(--color-ink, #ffffff);
}

.contact-form__reset-btn {
	display: inline-block;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-ink, #ffffff);
	background: transparent;
	border: 1px solid var(--color-border-strong, rgba(255,255,255,0.2));
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.contact-form__reset-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--color-ink, #ffffff);
}

@keyframes contact-fade-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Spinner */
.contact-spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: contact-spin 0.6s linear infinite;
}

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

/* ---- Image Column ---- */
.contact-page__image-col {
	position: relative;
	border-radius: var(--radius-lg, 16px);
	overflow: hidden;
	background: #111;
	border: 1px solid var(--color-border-subtle, rgba(255,255,255,0.08));
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	min-height: 640px;
	height: 100%;
}

.contact-page__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	display: block;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-page__image-col:hover .contact-page__img {
	transform: scale(1.02);
}

.contact-page__image-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.2) 40%,
		transparent 100%
	);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	pointer-events: none;
}

.contact-page__brand-pill {
	display: inline-block;
	padding: 3px 10px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 16px;
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 6px;
	width: fit-content;
}

.contact-page__image-caption {
	color: #ffffff;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0;
	text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

/* Responsive adjustments */
@media (max-width: 900px) {
	.contact-page {
		padding: 24px 0 36px;
	}

	.contact-page__inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.contact-page__image-col {
		min-height: 340px;
		max-height: 400px;
		order: 2;
	}

	.contact-page__form-col {
		min-height: auto;
		padding: 28px 22px;
		order: 1;
	}
}

@media (max-width: 600px) {
	.contact-form__row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.contact-page__title {
		font-size: 20px;
	}

	.contact-page__image-col {
		min-height: 280px;
	}
}
