/* index.css - Main styles for the index page
   Author: Luke Wulf
   Date: March 27, 2025
*/

@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');

@font-face {
	font-family: 'Alata';
	src: url('../assets/fonts/Alata-Regular.ttf') format('truetype');
}

:root {
	--color-background: #1c2120;
	--color-text: #f3f4f0;
	--color-primary: #22e2fc;
	--color-primary-light: #a7f5ff;
	--color-primary-dark: #098ea0;
	--font-primary: 'Alata', sans-serif;
}

html {
	font-size: 18px;
	color: var(--color-text);
	background-color: var(--color-background);
	font-family: var(--font-primary);
	scroll-behavior: smooth;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}

/* ===== HEADER ===== */
header {
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../assets/header-photo.jpg');
	background-size: cover;
	background-position: center Center;
	position: relative;
	min-height: 78vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	overflow: hidden;
}

header>img.logo {
	position: absolute;
	top: 0;
	left: 0;
	width: 120px;
	padding: 10px;
	background-color: #080A0A;
	z-index: 1000;
}

header .img-hero {
	width: 70%;
	min-width: 350px;
	margin-bottom: -30px;
}

header .subheader {
	font-size: 1.6em;
}

header button {
	border: 2px solid var(--color-text);
	background-color: transparent;
	color: #f4f4f4;
	padding: 10px 20px;
	font-size: 1.2em;
	cursor: pointer;
	border-radius: 5px;
	margin-top: 20px;
	transition: border 0.3s ease, background-color 0.2s ease, color 0.3s ease;
}

header button:hover {
	background-color: #f4f4f4;
	color: var(--color-background);
}

header .overlay {
	padding: 20px;
	border-radius: 40px;
}

/* ===== MISSION SECTION ===== */
.mission {
	margin-top: 20px;
	margin-bottom: 20px;
	position: relative;
	z-index: 1;
	padding: 0 20px 20px;
}

h2 {
	font-size: 3em;
	margin: 0 1rem 1rem;
	text-align: center;
}

.mission p {
	font-size: 1.5rem;
	color: #ffffff;
	margin: 0 1rem 1rem;
	line-height: 1.5;
}

hr {
	border: none;
	border-top: 4px dotted #b1b1b1;
	width: 100%;
}

/* ===== SERVICES SECTION ===== */
.services {
	z-index: 1;
	margin-top: 20px;
	padding: 0 20px 50px;
}

.services>ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.services>ul>li {
	background-color: var(--color-primary-dark);
	padding: 3rem 1.5rem;
	border-radius: 8px;
	text-align: left;
	transition: transform 0.2s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.services>ul>li:hover {
	transform: translateY(-5px);
}

.services>ul>li>ul {
	list-style: none;
	padding: 0;
	margin: 10px 50px;
}

.services>ul>li>ul>li,
.services h3 {
	color: #ffffff;
}

.services>ul>li>ul>li {
	font-size: 1.4rem;
}

.services h3 {
	font-size: 1.8rem;
	margin-top: 0;
}

/* ===== PORTFOLIO SECTION ===== */
.porfolio {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 1000px;
	margin: 30px auto 10px;
	padding-bottom: 20px;
}

.porfolio-track {
	display: flex;
	transition: transform 0.4s ease-in-out;
}

.porf-card {
	min-width: 100%;
	box-sizing: border-box;
	padding: 2rem;
	border-radius: 10px;
}

.porf-card h2 {
	font-size: 2.5rem;
}

.porf-card video {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.055);
	border-radius: 10px;
	border: none;
	color: var(--color-text);
	font-size: 2rem;
	padding: 0.5rem 1rem;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s ease, color 0.2s ease;
}

.carousel-btn:hover {
	background: rgba(255, 255, 255, 0.15);
}

.carousel-btn.prev {
	left: 0;
}

.carousel-btn.next {
	right: 0;
}

/* ===== TEAM SECTION ===== */
.about-us {
	margin: 0 auto;
	padding: 2rem;
}

.about-us h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 3rem;
}

.bio-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
}

.bio {
	display: flex;
	gap: 1.5rem;
	background-color: rgba(0, 0, 0, 0.18);
	/* border: 5px solid rgba(0, 0, 0, 0.2); */
	padding: 1.5rem;
	border-radius: 10px;
	align-items: flex-start;
}

.bio img {
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
}

.bio .text {
	flex: 1;
}

.bio .text h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
	color: #fff;
}

.bio .text p {
	font-size: 1rem;
	line-height: 1.6;
	color: #ddd;
}

/* Responsive stacking */
@media (max-width: 768px) {
	.bio-grid {
		grid-template-columns: 1fr;
	}

	.bio {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.bio img {
		width: 100%;
		max-width: 200px;
		height: auto;
	}

	.bio .text {
		padding-top: 1rem;
	}
}




/* ===== TESTIMONIALS ===== */
.testimony {
	color: #127362;
}

.testimony h2 {
	text-align: center;
	text-decoration-color: #127362;
}

.testimonial-ticker {
	background-color: var(--color-text);
	color: var(--color-background);
	overflow: hidden;
	padding: 2rem 0;
}

.ticker-wrapper {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.ticker-track {
	display: inline-flex;
	width: max-content;
	animation: scrollLeft 40s linear infinite;
}

.testimonial {
	flex: 0 0 auto;
	margin: 0 3rem;
	font-size: 1.2rem;
	font-style: italic;
	white-space: nowrap;
}

q::before {
	content: "“";
	font-size: 2rem;
	color: #127362;
	margin-right: 0.2rem;
}

q::after {
	content: "”";
	font-size: 2rem;
	color: #127362;
	margin-left: 0.2rem;
}

@keyframes scrollLeft {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

/* ===== CONTACT SECTION ===== */
.contact {
	position: relative;
	background-image: url('../assets/Contact-us.jpg');
	background-size: cover;
	background-position: bottom center;
	background-repeat: no-repeat;
	padding: 4rem 2rem;
	color: #fff;
	overflow: hidden;
}

.contact .overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 0;
}

.contact>*:not(.overlay) {
	position: relative;
	z-index: 1;
}

.two-column {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
	max-width: 1000px;
	margin: 0 auto;
	align-items: stretch;
}

.column-1 {
	flex: 1;
	display: flex;
	align-items: center;
	text-align: center;
}

.column-1 p {
	font-size: 1.2rem;
	line-height: 2;
}

.column-1 a {
	font-size: 1.3rem;
	text-decoration: underline;
	color: var(--color-primary);
	transition: all 0.3s ease;
}

.column-1 a:hover {
	color: var(--color-primary-light);
}

.column-1 .line-break {
	display: block;
	margin-bottom: 1rem;
}

.column-2 {
	flex: 1;
	padding: 2rem;
	max-width: 500px;
}

.row.two-inputs {
	display: flex;
	gap: 1rem;
}

.row.two-inputs input {
	flex: 1;
}

input,
textarea {
	background-color: rgba(0, 0, 0, 0.15);
	color: #fff;
	border: 1px solid #fff;
}

form input,
form textarea {
	width: 100%;
	padding: 0.75rem;
	margin-bottom: 1rem;
	font-size: 1rem;
	font-family: inherit;
	border: none;
	border-radius: 10px;
	background-color: rgba(0, 0, 0, 0.4);
	color: #fff;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

form textarea {
	min-height: 180px;
	resize: none;
}

form input[type="submit"] {
	border: 1px solid #fff;
	background-color: rgba(0, 0, 0, 0.4);
	color: #fff;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
}

form input[type="submit"]:hover {
	background-color: #ddd;
	color: #000;
	font-weight: bold;
}

/* ===== FOOTER ===== */
footer {
	background-color: var(--color-background);
	padding: 1.5rem 2rem;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-left p {
	margin: 0;
	font-size: 1rem;
}

.footer-right a {
	color: #fff;
	font-size: 1.5rem;
	margin-left: 1rem;
	transition: opacity 0.3s ease;
}

.footer-right a:hover {
	opacity: 0.7;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
	header > img.logo {
		width: 80px;
	}

	header .img-hero {
		width: 100%;
		margin-bottom: -20px;
	}

	header .subheader {
		font-size: 1.18em;
	}

	header {
		padding-bottom: 40px;
	}

	.mission h2 {
		font-size: 2.5em;
		margin-top: 20px;
	}

	.mission p {
		font-size: 1.2rem;
	}

	.services>ul>li>ul {
		margin: 10px 20px;
	}

	.porf-card h2 {
		font-size: 1.5em;
	}

	.carousel-btn {
		font-size: 1.5rem;
	}

	.about-us .bio {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.about-us .bio .text {
		text-align: left;
	}

	.two-inputs {
		display: block !important;
	}

	.faq-accordion h2 {
		font-size: 2.5em;
	}

	.accordion-wrapper summary {
		font-size: 1.2rem;
	}

	.testimonial-ticker {
		padding: 1rem 0;
	}
}

@media (max-width: 600px) {
	.footer-content {
		flex-direction: column;
		text-align: center;
	}

	.footer-right a {
		margin: 0 0.5rem;
	}
}