@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;700&family=Rokkitt:wght@400;500;700&family=Spartan:wght@300;400;500;700&display=swap');

/* === Base === */
html {
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

body {
	margin: 0;
	padding: 0;
	height: 100vh;
	perspective: 1px;
	transform-style: preserve-3d;
	overflow-x: hidden;
	overflow-y: auto;
	background: #1C1C1C;
	scroll-behavior: smooth;
	color: #d0d0d4;
	font-family: 'Nunito Sans', sans-serif;
}

/* Kill the colorful particle pseudo-elements */
body::before, body::after {
	display: none !important;
	content: none !important;
	animation: none !important;
}

/* === Sticky Header (appears on scroll) === */
header {
	background: rgba(28, 28, 28, 0.95);
	border-bottom: 1px solid rgba(160, 0, 0, 0.15);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	position: sticky;
	top: 0;
	height: 99px;
	width: 100vw;
	z-index: 20;
}

/* === Nav Holder (home page bottom nav) === */
div#navHolder {
	height: 100px;
	width: 100vw;
	position: absolute;
	top: calc(100vh - 100px);
}

/* === Navigation === */
nav {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 99px;
	margin: 0 auto;
}

	nav a {
		display: block;
		color: #FFFFFF;
		font-family: 'Spartan', sans-serif;
		font-size: 16px;
		font-weight: 500;
		text-decoration: none;
		text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
		letter-spacing: .15em;
		text-transform: uppercase;
		margin: 0 20px;
		padding-bottom: 4px;
		border-bottom: 2px solid transparent;
		transition: all 0.3s ease;
	}

nav a:hover {
		opacity: 1;
		color: #CC0000;
		text-shadow: 0 0 10px rgba(204, 0, 0, 0.5), 0 0 25px rgba(204, 0, 0, 0.2);
		border-bottom-color: #CC0000;
		padding-top: 0;
		transition: all 0.3s ease;
	}

	nav a span.shade {
		display: none;
	}

/* === Home Section === */
article:nth-of-type(1) {
	background: #1C1C1C;
	position: relative;
	height: calc(100vh - 1px);
	z-index: 5;
	border-bottom: 1px solid rgba(180, 0, 0, 0.2);
}

	article:nth-of-type(1) div.logo {
		background: url(img/logo.png);
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		height: calc(100vh - 10%);
		width: 44vh;
		top: 5%;
		right: 3%;
	}

	article:nth-of-type(1) h1 {
		color: #FFFFFF;
		font-family: 'Spartan', sans-serif;
		font-size: 100px;
		font-weight: 300;
		text-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.15);
		letter-spacing: .1em;
		position: absolute;
		top: 30%;
		right: calc(44vh + 6% + 200px);
		margin: 0;
		padding: 0;
	}

		article:nth-of-type(1) h1 span.shade {
			display: none;
		}

	article:nth-of-type(1) p {
		color: rgba(210, 205, 205, 0.85);
		font-family: 'Spartan', sans-serif;
		font-size: 18px;
		font-weight: 300;
		letter-spacing: .15em;
		position: absolute;
		width: 900px;
		top: calc(30% + 150px);
		right: calc(44vh + 6%);
		margin: 0;
	}

/* === Background Animation Container === */
main {
	display: flex;
	position: fixed;
	height: calc(100vh - 101px);
	width: 100vw;
	align-items: center;
	justify-content: center;
	perspective: 50px;
	animation: zooming 12s ease-in-out infinite;
	transform-style: preserve-3d;
	z-index: -1;
}

/* === Animated Frames (subtle deep red) === */
.frame {
	border: 2px rgba(160, 0, 0, 0.22) solid;
	border-radius: 50px;
	position: absolute;
	height: calc(70vh - 101px);
	width: calc(70vh - 101px);
	box-shadow: 0 0 25px rgba(160, 0, 0, 0.07), inset 0 0 25px rgba(160, 0, 0, 0.04);
	animation: breathing 4s ease-out infinite;
}

	.frame:nth-child(1)  { transform: rotate(45deg)  translateZ(0px);    opacity: 0.55; animation-delay: 0.1s; }
	.frame:nth-child(2)  { transform: rotate(55deg)  translateZ(-.5px);  opacity: 0.50; animation-delay: 0.2s; }
	.frame:nth-child(3)  { transform: rotate(65deg)  translateZ(-1px);   opacity: 0.45; animation-delay: 0.3s; }
	.frame:nth-child(4)  { transform: rotate(75deg)  translateZ(-1.5px); opacity: 0.40; animation-delay: 0.4s; }
	.frame:nth-child(5)  { transform: rotate(85deg)  translateZ(-2px);   opacity: 0.36; animation-delay: 0.5s; }
	.frame:nth-child(6)  { transform: rotate(95deg)  translateZ(-2.5px); opacity: 0.32; animation-delay: 0.6s; }
	.frame:nth-child(7)  { transform: rotate(105deg) translateZ(-3px);   opacity: 0.28; animation-delay: 0.7s; }
	.frame:nth-child(8)  { transform: rotate(115deg) translateZ(-3.5px); opacity: 0.24; animation-delay: 0.8s; }
	.frame:nth-child(9)  { transform: rotate(125deg) translateZ(-4px);   opacity: 0.20; animation-delay: 0.9s; }
	.frame:nth-child(10) { transform: rotate(135deg) translateZ(-4.5px); opacity: 0.16; animation-delay: 1.0s; }
	.frame:nth-child(11) { transform: rotate(145deg) translateZ(-5px);   opacity: 0.13; animation-delay: 1.1s; }
	.frame:nth-child(12) { transform: rotate(155deg) translateZ(-5.5px); opacity: 0.10; animation-delay: 1.2s; }
	.frame:nth-child(13) { transform: rotate(165deg) translateZ(-6px);   opacity: 0.08; animation-delay: 1.3s; }
	.frame:nth-child(14) { transform: rotate(175deg) translateZ(-6.5px); opacity: 0.06; animation-delay: 1.4s; }
	.frame:nth-child(15) { transform: rotate(195deg) translateZ(-7px);   opacity: 0.04; animation-delay: 1.5s; }

@keyframes breathing {
	0%   { opacity: 1; }
	50%  { opacity: 0.7; }
	100% { opacity: 1; }
}

@keyframes zooming {
	0%   { perspective: 45px; }
	50%  { perspective: 50px; }
	100% { perspective: 45px; }
}

/* === Content Sections (shared) === */
article:nth-of-type(odd) {
	border-bottom: 1px solid rgba(160, 0, 0, 0.08);
	transform-style: preserve-3d;
}

article:nth-of-type(even) {
	border-bottom: 1px solid rgba(160, 0, 0, 0.08);
	position: relative;
	z-index: 2;
}

/* All content sections after home */
article:not(:nth-of-type(1)) {
	position: relative;
	padding: 80px 10%;
	min-height: calc(100vh - 100px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

	/* Section background overlays — alternating shades */
	article:not(:nth-of-type(1))::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: -1;
	}

	/* About Us — lighter gray */
	#about::before {
		background: #272727;
	}

	/* Services — base gray */
	#services::before {
		background: #1C1C1C;
	}

	/* Contact — lighter gray */
	#contact::before {
		background: #272727;
	}

	/* Section headings */
	article:not(:nth-of-type(1)) h1 {
		color: #ffffff;
		font-family: 'Rokkitt', serif;
		font-size: 40px;
		font-weight: 500;
		letter-spacing: 0.03em;
		text-align: center;
		text-shadow: 0 0 30px rgba(160, 0, 0, 0.12);
		margin: 0 0 12px 0;
		padding: 0;
	}

	/* Red accent underline for section headings */
	article:not(:nth-of-type(1)) h1::after {
		content: "";
		display: block;
		width: 50px;
		height: 3px;
		background: linear-gradient(90deg, #990000, #CC0000, #990000);
		margin: 14px auto 40px auto;
		border-radius: 2px;
	}

/* === About Section === */
#about p {
	color: rgba(205, 200, 200, 0.88);
	font-family: 'Nunito Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.85;
	max-width: 780px;
	width: auto;
	margin: 0 auto 28px auto;
	text-shadow: none;
}

/* === Services Section === */

	article:not(:nth-of-type(1)) div.sub {
		background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(140, 0, 0, 0.03));
		border: 1px solid rgba(160, 0, 0, 0.12);
		border-radius: 12px;
		padding: 32px 40px;
		margin: 0 auto 24px auto;
		max-width: 780px;
		transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
	}

	article:not(:nth-of-type(1)) div.sub:hover {
		border-color: rgba(180, 0, 0, 0.3);
		background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(140, 0, 0, 0.05));
		box-shadow: 0 0 30px rgba(140, 0, 0, 0.06);
	}

	article:not(:nth-of-type(1)) div.sub h2 {
		color: #CC0000;
		font-family: 'Rokkitt', serif;
		font-size: 26px;
		font-weight: 500;
		letter-spacing: 0.02em;
		margin: 0 0 14px 0;
		text-shadow: 0 0 20px rgba(160, 0, 0, 0.1);
	}

	article:not(:nth-of-type(1)) div.sub p {
		color: rgba(205, 200, 200, 0.85);
		font-family: 'Nunito Sans', sans-serif;
		font-size: 15px;
		font-weight: 300;
		line-height: 1.75;
		width: auto;
		margin: 0 0 12px 0;
		text-shadow: none;
	}

	article:not(:nth-of-type(1)) div.sub ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 8px;
		list-style: none;
		padding: 0;
		margin: 16px 0 4px 0;
		text-align: left;
		width: auto;
	}

	article:not(:nth-of-type(1)) div.sub ul li {
		background: rgba(160, 0, 0, 0.08);
		border: 1px solid rgba(160, 0, 0, 0.18);
		border-radius: 20px;
		padding: 5px 16px;
		font-size: 14px;
		color: rgba(230, 170, 170, 0.9);
		float: none;
		display: inline-block;
		margin: 0;
	}

/* === Contact Section === */
#contact > p {
	color: rgba(205, 200, 200, 0.85);
	font-family: 'Nunito Sans', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.75;
	max-width: 680px;
	width: auto;
	margin: 0 auto 40px auto;
	text-align: center;
	text-shadow: none;
}

.contact-card {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(140, 0, 0, 0.03));
	border: 1px solid rgba(160, 0, 0, 0.12);
	border-radius: 12px;
	padding: 48px 40px;
	max-width: 480px;
	margin: 0 auto;
	text-align: center;
	transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
	border-color: rgba(180, 0, 0, 0.3);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(140, 0, 0, 0.05));
	box-shadow: 0 0 30px rgba(140, 0, 0, 0.06);
}

.contact-email {
	display: block;
	color: #CC0000;
	font-family: 'Rokkitt', serif;
	font-size: 26px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-shadow: 0 0 20px rgba(160, 0, 0, 0.1);
	margin-bottom: 32px;
}

.contact-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.contact-btn {
	display: inline-block;
	font-family: 'Spartan', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 12px 32px;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
}

a.contact-btn {
	background: #CC0000;
	color: #ffffff;
	border: 1px solid #CC0000;
}

a.contact-btn:hover {
	background: #EE0000;
	border-color: #EE0000;
	box-shadow: 0 0 20px rgba(200, 0, 0, 0.3);
}

button.contact-copy {
	background: transparent;
	color: rgba(205, 200, 200, 0.85);
	border: 1px solid rgba(160, 0, 0, 0.25);
}

button.contact-copy:hover {
	color: #ffffff;
	border-color: rgba(200, 0, 0, 0.5);
	box-shadow: 0 0 15px rgba(140, 0, 0, 0.1);
}

/* === Footer === */
footer {
	background: rgba(28, 28, 28, 0.95);
	border-top: 1px solid rgba(160, 0, 0, 0.1);
	font-family: 'Spartan', sans-serif;
	position: relative;
	height: 50px;
	width: 100vw;
}

body.ember-application {
	background: #f3f3f300 !important;
}
