/* GSS custom front-end styles. */

/* ---------------------------------------------------------------------------
   Site-wide dark base.
   The page area between the header and the footer is dark on every page, with
   white headings and soft-white body text. Sections and widgets that set
   their own colours in Elementor keep them. Accent colour: #01A7FD.
   --------------------------------------------------------------------------- */

body {
	background-color: #0e0e0e;
}
#content.site-content {
	background-color: #0e0e0e;
}
:where(#content.site-content) {
	color: rgba(255, 255, 255, 0.78);
}
/* :where() keeps these as low-priority defaults, so any colour set on a
   widget in Elementor still wins. */
:where(#content.site-content) h1,
:where(#content.site-content) h2,
:where(#content.site-content) h3,
:where(#content.site-content) h4,
:where(#content.site-content) h5,
:where(#content.site-content) h6,
:where(#content.site-content) .ct-heading .item--title {
	color: #ffffff;
}
:where(#content.site-content) .ct-heading .item--sub-title {
	color: rgba(255, 255, 255, 0.6);
}

/* Form fields inside the page area. */
#content.site-content .elementor-field-group .elementor-field-textual {
	border-color: rgba(255, 255, 255, 0.18);
}
#content.site-content .elementor-field-group .elementor-field-textual::placeholder {
	color: rgba(255, 255, 255, 0.5);
}
#content.site-content .elementor-field-group .elementor-field-textual:focus {
	border-color: #01a7fd;
}

/* Home hero slider: make title and description text stand out from the
   background image. The class is added to the slider's text layers by the
   2026_11_16_home_slider_text_shadow migration. */
.gss-hero-text,
.gss-hero-text * {
	text-shadow:
		0 2px 4px rgba(0, 0, 0, 0.85),
		0 0 18px rgba(0, 0, 0, 0.65) !important;
}

/* Home page statistics counters: centre labels that wrap onto two lines. */
.elementor-9 .elementor-widget-counter .elementor-counter-title {
	text-align: center;
}

/* ---------------------------------------------------------------------------
   Service cards: Services page (post 407) and any ct_fancy_box widget with
   the CSS class "gss-service-card" (home page services section).
   Replaces the theme's plain white boxes with dark translucent cards that sit
   on the page's dark background, with a single accent colour (#01A7FD).
   --------------------------------------------------------------------------- */

/* Equal-height cards within each row. */
.elementor-407 .elementor-widget-wrap:has(> .elementor-widget-ct_fancy_box),
.elementor-widget-wrap:has(> .gss-service-card) {
	align-content: stretch;
}
.elementor-407 .elementor-widget-ct_fancy_box > .elementor-widget-container,
.gss-service-card > .elementor-widget-container {
	height: 100%;
}

:is(.elementor-407, .gss-service-card) .ct-fancy-box-layout6 {
	box-sizing: border-box;
	height: calc(100% - 56px);
	margin-top: 56px;
	padding: 68px 32px 36px;
	background-color: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: transform 250ms ease, border-color 250ms ease, background-color 250ms ease;
}
:is(.elementor-407, .gss-service-card) .ct-fancy-box-layout6:hover {
	transform: translateY(-6px);
	background-color: rgba(255, 255, 255, 0.09);
	border-color: rgba(1, 167, 253, 0.65);
}

/* Accent line that grows along the bottom edge on hover. */
:is(.elementor-407, .gss-service-card) .ct-fancy-box-layout6:before {
	height: 3px;
	left: 16px;
	right: 16px;
	background: #01a7fd;
	background-image: none;
	filter: none;
	border-radius: 3px 3px 0 0;
}
:is(.elementor-407, .gss-service-card) .ct-fancy-box-layout6:hover:before {
	width: calc(100% - 32px);
}

/* Icon badge. */
:is(.elementor-407, .gss-service-card) .ct-fancy-box-layout6 .item--icon {
	width: 88px;
	height: 88px;
	top: -44px;
	background-color: #01a7fd;
	box-shadow: 0 8px 22px rgba(1, 167, 253, 0.35);
}
:is(.elementor-407, .gss-service-card) .ct-fancy-box-layout6 .item--icon i {
	font-size: 34px;
	line-height: 1;
	color: #ffffff;
}
:is(.elementor-407, .gss-service-card) .ct-fancy-box-layout6 .item--icon svg {
	width: 34px;
	height: 34px;
	fill: #ffffff;
}

/* Text. */
:is(.elementor-407, .gss-service-card) .ct-fancy-box-layout6 .item--title {
	margin-bottom: 12px;
	color: #ffffff;
	font-size: 20px;
	line-height: 1.35;
}
:is(.elementor-407, .gss-service-card) .ct-fancy-box-layout6 .item--description {
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	line-height: 26px;
}

/* ---------------------------------------------------------------------------
   Project cards: Portfolio page ("Featured Projects") and the projects
   section on the home page. Columns are tagged "gss-project-card" by the
   2026_11_16_project_cards migration. Same dark card language as the
   service cards, with the poster in a thin rounded frame.
   --------------------------------------------------------------------------- */

.elementor .elementor-column.gss-project-card {
	padding: 14px;
}
.elementor .elementor-column.gss-project-card > .elementor-element-populated {
	align-content: flex-start;
	padding: 18px 18px 26px;
	background-color: #14171c;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
	transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.elementor .elementor-column.gss-project-card > .elementor-element-populated:hover {
	transform: translateY(-6px);
	border-color: rgba(1, 167, 253, 0.65);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

/* Poster frame. All posters are 3:2, so the frame keeps that shape. */
.gss-project-card .elementor-widget-image > .elementor-widget-container {
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background-color: #0c0e11;
	line-height: 0;
}
.gss-project-card .elementor-widget-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 500ms ease;
}
.gss-project-card > .elementor-element-populated:hover .elementor-widget-image img {
	transform: scale(1.04);
}

/* Genre tag above the project name. */
.gss-project-card .gss-project-tag {
	display: table;
	margin: 0 0 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background-color: rgba(1, 167, 253, 0.14);
	color: #01a7fd;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Details. */
.gss-project-card .elementor-widget-heading .elementor-heading-title {
	margin: 0;
}
.gss-project-card .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}
