﻿/*
 * alnokhba-contact.css — ContactPage.tsx
 */

body.alnokhba-theme .an-contact-page {
	background: #000;
	min-height: 100vh;
	direction: rtl;
	padding: 7rem 0 0;
}

.an-contact-page__head {
	max-width: 80rem;
	margin: 0 auto;
	padding: 4rem 1.5rem;
	border-bottom: 1px solid rgba(201, 169, 122, 0.15);
}

.an-contact-page__kicker {
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: #C9A97A;
	margin: 0 0 0.75rem;
}

.an-contact-page__title {
	font-family: 'Playfair Display', 'Cairo', serif;
	font-size: clamp(2.5rem, 7vw, 5rem);
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1;
}

.an-contact-page__body {
	max-width: 80rem;
	margin: 0 auto;
	padding: 4rem 1.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
}

@media (min-width: 1024px) {
	.an-contact-page__body {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}
}

.an-contact-page__intro {
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.875rem;
	line-height: 2;
	color: rgba(255, 255, 255, 0.4);
	margin: 0 0 2rem;
}

/* Info rows */
.an-contact-info {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding-bottom: 1.5rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.an-contact-info__icon {
	flex-shrink: 0;
	margin-top: 0.25rem;
	padding: 0.75rem;
	border: 1px solid color-mix(in srgb, var(--an-contact-accent, #C9A97A) 20%, transparent);
	color: var(--an-contact-accent, #C9A97A);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.an-contact-info__label {
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.65rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--an-contact-accent, #C9A97A);
	margin: 0 0 0.25rem;
}

.an-contact-info__value {
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.875rem;
	color: #fff;
	margin: 0;
	text-decoration: none;
	transition: color 0.2s;
}

a.an-contact-info__value:hover {
	color: #C9A97A;
}

/* Map */
.an-contact-map {
	position: relative;
	height: 18.75rem;
	border: 1px solid rgba(201, 169, 122, 0.2);
	overflow: hidden;
	margin-top: 0.5rem;
}

.an-contact-map__iframe {
	width: 100%;
	height: 100%;
	border: none;
	filter: invert(0.85) sepia(0.3) saturate(0.4) hue-rotate(180deg);
	opacity: 0.85;
}

.an-contact-map__bar {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
	background: rgba(0, 0, 0, 0.8);
	border-top: 1px solid rgba(201, 169, 122, 0.2);
}

.an-contact-map__label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.75rem;
	color: #fff;
}

.an-contact-map__label svg {
	color: #C9A97A;
}

.an-contact-map__open {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.75rem;
	color: #C9A97A;
	text-decoration: none;
	transition: color 0.2s;
}

.an-contact-map__open:hover {
	color: #fff;
}

/* Form */
.an-contact-form__kicker {
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #C9A97A;
	margin: 0 0 2rem;
}

.an-contact-form__group {
	margin-bottom: 1.25rem;
}

.an-contact-form__label {
	display: block;
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.65rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(201, 169, 122, 0.7);
	margin-bottom: 0.5rem;
}

.an-contact-form__control {
	width: 100%;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.875rem;
	padding: 0.75rem 1rem;
	outline: none;
	transition: border-color 0.2s;
}

.an-contact-form__control::placeholder {
	color: rgba(255, 255, 255, 0.15);
}

.an-contact-form__control:focus {
	border-color: #C9A97A;
}

.an-contact-form__control--textarea {
	resize: none;
	min-height: 8rem;
}

.an-contact-form__error {
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.75rem;
	color: #f87171;
	margin: 0 0 0.35rem;
}

.an-contact-form__submit {
	width: 100%;
	background: transparent;
	border: 1px solid #C9A97A;
	color: #C9A97A;
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 1rem;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
	margin-top: 0.5rem;
}

.an-contact-form__submit:hover {
	background: #C9A97A;
	color: #000;
}

.an-contact-page__alert {
	font-family: 'Inter', 'Cairo', sans-serif;
	font-size: 0.875rem;
	padding: 0.75rem 1rem;
	margin: 0 0 1.25rem;
	border: 1px solid transparent;
}

.an-contact-page__alert--success {
	color: #86efac;
	border-color: rgba(134, 239, 172, 0.3);
	background: rgba(134, 239, 172, 0.08);
}

.an-contact-page__alert--error {
	color: #fca5a5;
	border-color: rgba(248, 113, 113, 0.3);
	background: rgba(248, 113, 113, 0.08);
}

.an-contact-page__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 640px) {
	body.alnokhba-theme .an-contact-page {
		padding-top: 5.5rem;
	}

	.an-contact-page__head,
	.an-contact-page__body {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}
