:root {
	--brand-navy: #06284a;
	--brand-blue: #004785;
	--brand-yellow: #ffbf00;
	--brand-yellow-active: #e9ad00;
	--brand-sky: #e7f3fc;
	--brand-cream: #fff7df;
}

#home,
#contact {
	background: linear-gradient(135deg, var(--brand-sky), #fff);
}

#home > .image img {
	object-position: 35% center;
}

#rates {
	background: linear-gradient(135deg, #fff, var(--brand-cream));
}

h1,
h2,
#rates h3 {
	color: var(--brand-navy);
}

a:hover,
a:focus-visible {
	color: var(--brand-blue);
}

.button.primary,
input[type="submit"].primary {
	background-color: var(--brand-yellow);
	color: var(--brand-navy) !important;
}

.button.primary:hover,
.button.primary:active,
input[type="submit"].primary:hover,
input[type="submit"].primary:active {
	background-color: var(--brand-yellow-active);
	color: var(--brand-navy) !important;
}

.button:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid var(--brand-blue);
	outline-offset: 3px;
}

#contact .field :is(input, textarea) {
	border-color: #596e81;
}

#contact .field :is(input, textarea):focus {
	border-color: var(--brand-blue);
	box-shadow: none;
	outline: 2px solid var(--brand-blue);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@media (prefers-reduced-motion: reduce) {
	#home > .content,
	#home > .image img,
	#equipment > .image img,
	#gallery article .image img {
		opacity: 1;
		transform: none;
		transition: none;
	}

	#gallery .caption,
	#gallery .modal,
	#gallery .modal .inner,
	#gallery .modal img {
		transition: none;
	}
}
