/* =====================================================================
   DATA 7 Solutions — multi-page site
   Look inspired by "Dimension" (HTML5 UP) but built as real pages.
   Brand palette: #229DEF primary · #0e7fb9 hover · #006599 deep
   ===================================================================== */
@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,600italic,300,600");

:root {
	--data7: #229DEF;
	--data7-hover: #0e7fb9;
	--data7-deep: #006599;
	--card: rgba(20, 26, 33, 0.85);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
	font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
	font-weight: 300;
	font-size: 16.5px;
	line-height: 1.65;
	color: #ffffff;
	background: #0a0d10;
	-webkit-text-size-adjust: none;
}

/* --- Fixed page background (swap the per-page image, this styles it) --- */
#page-bg {
	position: fixed;
	inset: 0;
	z-index: -2;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: scale(1.02);
}
#page-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(6, 14, 24, 0.6), rgba(6, 14, 24, 0.82));
}

/* --- Overall column layout --- */
.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* --- Top bar / nav --- */
.topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.4rem 2.75rem;
	flex-wrap: wrap;
	background: rgba(10, 14, 18, 0.82);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar .brand img {
	display: block;
	height: 2.5rem;
	width: auto;
}
.topbar nav ul {
	display: flex;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
.topbar nav a {
	color: #ffffff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.18rem;
	font-size: 0.72rem;
	font-weight: 600;
	padding-bottom: 0.4rem;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.topbar nav a:hover { color: #9ed7ff; }
.topbar nav a.active {
	color: #9ed7ff;
	border-bottom-color: var(--data7);
}

/* --- Page content area --- */
.page {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem;
}
.card {
	width: 44rem;
	max-width: 100%;
	background: var(--card);
	border-radius: 6px;
	padding: 3rem 2.75rem;
	box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.45);
}
.card.wide { width: 58rem; }

/* --- Headings --- */
h1, h2, h3 { font-weight: 600; line-height: 1.3; margin: 0 0 0.75em 0; letter-spacing: 0.02em; }
h1 { font-size: 2.5rem; }
h2.major {
	position: relative;
	display: inline-block;
	padding-bottom: 0.6rem;
	margin-bottom: 1.4rem;
	font-size: 1.9rem;
}
h2.major::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 3.25rem; height: 3px;
	background: var(--data7);
	border-radius: 2px;
}
h3 { font-size: 1.15rem; margin-top: 1.4rem; }
h3 .icon { color: var(--data7); margin-right: 0.55rem; }
p { margin: 0 0 1.2em 0; }
p:last-child { margin-bottom: 0; }
a { color: #6cc3ff; }
a:hover { color: #9ed7ff; }

/* --- Hero (home) --- */
.hero { text-align: center; }
.hero .logo { width: 20rem; max-width: 80%; margin: 0 auto 1.75rem; display: block; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 34rem; margin: 0 auto 2rem; }

/* --- Content images --- */
.card img.feature {
	width: 100%;
	border-radius: 4px;
	margin: 0 0 1.5rem 0;
	display: block;
}

/* --- Buttons --- */
.button {
	display: inline-block;
	cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.15rem;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1;
	padding: 0.9rem 1.6rem;
	border-radius: 4px;
	border: solid 2px rgba(255,255,255,0.35);
	color: #ffffff;
	background: transparent;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.button:hover { border-color: var(--data7); color: #9ed7ff; }
.button.primary {
	background: var(--data7);
	border-color: var(--data7);
	color: #ffffff;
}
.button.primary:hover { background: var(--data7-hover); border-color: var(--data7-hover); color:#fff; }
.actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero .actions { justify-content: center; }

/* --- Forms --- */
label { display: block; font-size: 0.8rem; letter-spacing: 0.1rem; text-transform: uppercase; margin-bottom: 0.5rem; color: rgba(255,255,255,0.85); }
input[type="text"], input[type="email"], textarea {
	width: 100%;
	background: rgba(255,255,255,0.075);
	border: solid 1px rgba(255,255,255,0.25);
	border-radius: 4px;
	color: #fff;
	padding: 0.75rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	margin-bottom: 1.25rem;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.4); }
input:focus, textarea:focus {
	outline: none;
	border-color: var(--data7);
	box-shadow: 0 0 0 1px var(--data7);
	background: rgba(255,255,255,0.1);
}
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }

/* --- Contact meta / social icons --- */
.contact-line { margin: 1.25rem 0; }
.contact-line .icon { color: var(--data7); margin-right: 0.5rem; }
ul.socials { display: flex; gap: 1.1rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
ul.socials a { color: #fff; font-size: 1.2rem; transition: color 0.2s; }
ul.socials a:hover { color: var(--data7); }
ul.socials .label {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

/* --- Footer --- */
.site-footer {
	text-align: center;
	padding: 1.4rem;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.5);
}
.site-footer a { color: rgba(255,255,255,0.7); }

/* --- Responsive --- */
@media screen and (max-width: 736px) {
	.topbar { justify-content: center; padding: 1.2rem 1.25rem; gap: 1rem; }
	.page { padding: 1.5rem 1rem; }
	.card { padding: 2rem 1.5rem; }
	h1 { font-size: 2rem; }
	.fields-2 { grid-template-columns: 1fr; }
}

/* --- Our Work: project tiles --- */
.tiles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}
.tile {
	position: relative;
	display: block;
	border-radius: 6px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	text-decoration: none;
	color: #fff;
	box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.4);
}
.tile img {
	width: 100%; height: 100%;
	object-fit: cover; display: block;
	transform: scale(1);
	transition: transform 0.5s ease;
}
.tile::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(6,14,24,0.9) 0%, rgba(6,14,24,0.2) 55%, rgba(6,14,24,0) 100%);
}
.tile::before {
	content: '';
	position: absolute; inset: 0; z-index: 3;
	border: 2px solid transparent; border-radius: 6px;
	transition: border-color 0.3s ease; pointer-events: none;
}
.tile .tile-label {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	padding: 1rem 1.1rem;
}
.tile .tile-label h3 { margin: 0; font-size: 1.05rem; }
.tile .tile-label span {
	display: block; margin-top: 0.15rem;
	font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15rem; color: #9ed7ff;
}
.tile:hover img { transform: scale(1.07); }
.tile:hover::before { border-color: var(--data7); }

/* --- Language switch (top-bar content pages) --- */
.nav-group { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.lang-switch { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12rem; }
.lang-switch a { color: rgba(255,255,255,0.55); text-decoration: none; text-transform: uppercase; }
.lang-switch a:hover { color: #9ed7ff; }
.lang-switch a.active { color: var(--data7); }
.lang-switch .sep { color: rgba(255,255,255,0.3); }
