/* District 35 - Homepage */

html, body {
	margin: 0;
	padding: 0;
	overflow: hidden;
	height: 100%;
	background-color: #f8efe3;
}

.district35-hero {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f8efe3;
}

.district35-hero__gradient {
	position: absolute;
	inset: -5%;
	background-image: url('../images/gradient-bg.gif');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	animation: hero-gradient-drift 30s ease-in-out infinite;
}

@keyframes hero-gradient-drift {
	0%, 100% { transform: scale(1.05) translate(0, 0); }
	33% { transform: scale(1.08) translate(1%, -1%); }
	66% { transform: scale(1.06) translate(-1%, 1%); }
}

.district35-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
	animation: logo-fade-in 1.2s ease-out both;
}

.district35-hero__logo-wrap {
	width: clamp(280px, 40vw, 500px);
}

.district35-hero__logo {
	display: block;
	width: 100%;
	height: auto;
}

@keyframes logo-fade-in {
	0% { opacity: 0; transform: scale(0.95); }
	100% { opacity: 1; transform: scale(1); }
}

/* Tagline below logo */
.district35-hero__tagline {
	font-family: 'Sora', sans-serif;
	font-weight: 300;
	font-size: 0.8125rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #0a1319;
	margin: 0;
	opacity: 0.7;
}

/* Contact button */
.district35-contact-btn {
	font-family: 'Sora', sans-serif;
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f8efe3;
	background: #0a1319;
	border: none;
	padding: 0.9rem 2.5rem;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.district35-contact-btn:hover {
	background: #e8735a;
	transform: translateY(-1px);
}

/* Modal overlay */
.district35-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.district35-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.district35-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 19, 25, 0.6);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.district35-modal__dialog {
	position: relative;
	background: #f8efe3;
	width: min(520px, 90vw);
	max-height: 90vh;
	overflow-y: auto;
	padding: 2.5rem;
	transform: translateY(20px) scale(0.97);
	transition: transform 0.35s ease;
}

.district35-modal.is-open .district35-modal__dialog {
	transform: translateY(0) scale(1);
}

.district35-modal__close {
	position: absolute;
	top: 1rem;
	right: 1.25rem;
	background: none;
	border: none;
	font-size: 1.75rem;
	color: #0a1319;
	cursor: pointer;
	line-height: 1;
	padding: 0.25rem;
	transition: color 0.2s ease;
}

.district35-modal__close:hover {
	color: #e8735a;
}

.district35-modal__title {
	font-family: 'Sora', sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	color: #0a1319;
	margin: 0 0 1.75rem 0;
}

/* Form */
.district35-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.district35-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

@media (max-width: 500px) {
	.district35-form__row {
		grid-template-columns: 1fr;
	}
}

.district35-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.district35-form__field label {
	font-family: 'Sora', sans-serif;
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #0a1319;
}

.district35-form__field label span {
	font-weight: 300;
	text-transform: none;
	letter-spacing: normal;
	color: #6b7280;
}

.district35-form__field input,
.district35-form__field textarea {
	font-family: 'Sora', sans-serif;
	font-weight: 300;
	font-size: 0.9375rem;
	color: #0a1319;
	background: rgba(10, 19, 25, 0.04);
	border: 1px solid rgba(10, 19, 25, 0.15);
	padding: 0.7rem 0.85rem;
	outline: none;
	transition: border-color 0.2s ease;
}

.district35-form__field input:focus,
.district35-form__field textarea:focus {
	border-color: #0a1319;
}

.district35-form__field textarea {
	resize: vertical;
}

.district35-form__submit {
	font-family: 'Sora', sans-serif;
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f8efe3;
	background: #0a1319;
	border: none;
	padding: 0.9rem 2.5rem;
	cursor: pointer;
	align-self: flex-start;
	transition: background-color 0.3s ease;
}

.district35-form__submit:hover {
	background: #e8735a;
}
