/*
Theme Name: Gone Digital Twenty Twenty Six
Theme URI: https://wordpress.org/themes/gonedigitaltwentysix
Author: the WordPress team
Author URI: https://wordpress.org
Description: Gone Digital Twenty Twenty Six is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
Requires at least: 6.1
Tested up to: 6.9
Requires PHP: 5.6
Version: 1.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: gonedigitaltwentysix
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

body {
	background: linear-gradient(
		to bottom,
		#1A3A58 0%,
		#032547 50%,
		#00264A 100%
	) fixed;
	font-family: 'Montserrat', sans-serif;
}

.site-header .navbar {
	background: linear-gradient(
		to right,
		#1A3A58 0%,
		#032547 50%,
		#00264A 100%
	);
}

header#masthead.site-header {
	display: flow-root;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 1030;
}

#page {
	padding-top: var(--masthead-height, 144px);
}

#home,
#services,
#contact {
	scroll-margin-top: var(--masthead-height, 144px);
}

@media (min-width: 992px) {
	#page {
		--masthead-height: 120px;
	}
}

.site-header .navbar > .container {
	max-width: none;
	padding-right: 1.5rem;
	padding-left: 1.5rem;
}

.navbar-identity {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-width: 0;
}

.site-header .navbar {
	display: block;
	margin-top: var(--admin-bar-offset, 0px);
	padding: 0.5rem 0;
	color: #ffffff;
}

body.admin-bar .site-header .navbar {
	margin-top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .site-header .navbar {
		margin-top: 46px;
	}
}

.site-header .navbar .nav-link,
.site-header .navbar .nav-link:hover,
.site-header .navbar .nav-link:focus {
	color: #ffffff;
}

.site-header .navbar-brand img {
	max-height: 48px;
}

.site-header .navbar-brand {
	padding-top: 0;
	padding-bottom: 0;
}

.site-header .navbar-nav .nav-link {
	font-size: 1.15rem;
	padding: 0.5rem 1rem;
}

@media (min-width: 992px) {
	.site-header .navbar > .container {
		align-items: center;
	}

	.site-header .navbar-nav {
		align-items: center;
	}

	.site-header .navbar-nav .nav-link {
		display: flex;
		min-height: 48px;
			align-items: center;
		padding: 0 1rem;
	}
}

.site-header .navbar-toggler {
	font-size: 1.2rem;
	padding: 0.5rem 0.75rem;
}

.navbar-contact {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 1rem;
	color: #ffffff;
	font-size: 0.9rem;
	line-height: 1.35;
}

.navbar-contact-item {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

.navbar-contact-item svg {
	width: 1rem;
	height: 1rem;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
}

.navbar-contact-item[href]:hover,
.navbar-contact-item[href]:focus-visible {
	text-decoration: underline;
}

@media (max-width: 991.98px) {
	.site-header .navbar > .container {
		position: relative;
		flex-wrap: wrap;
	}

	.navbar-identity {
		flex: 1 1 100%;
		flex-wrap: wrap;
		padding-right: 3.5rem;
		gap: 0.5rem 1rem;
	}

	.navbar-contact {
		flex: 1 1 100%;
		overflow-x: auto;
		padding-bottom: 0.25rem;
	}

	.site-header .navbar-toggler {
		position: absolute;
		top: 0.25rem;
		right: 1.5rem;
	}

	.site-header .navbar-collapse {
		flex-basis: 100%;
	}
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Libre Baskerville', serif;
}

html.has-scroll-reveal [data-scroll-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 700ms ease, transform 700ms ease;
}

html.has-scroll-reveal [data-scroll-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

.hero-section {
	box-sizing: border-box;
	min-height: 100vh;
	min-height: 100svh;
	padding: 0;
	display: flex;
	align-items: center;
	background-image: url('assets/images/ocean-bg.webp');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: #ffffff;
}

.hero-section > .container {
	width: 100%;
	max-width: none;
	padding: 0;
}

.hero-layout {
	width: 100%;
}

.hero-copy {
	max-width: 32rem;
}

.hero-eyebrow {
	margin: 0 0 0.75rem;
	color: #efbd60;
	font-size: 0.9rem;
	font-weight: 700;
	text-transform: uppercase;
}

.hero-copy h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.25rem, 4vw, 3.75rem);
	line-height: 1.12;
}

.hero-lead {
	margin: 0 0 1.75rem;
	color: #e2eaf0;
	font-size: 1.15rem;
	line-height: 1.5;
}

.hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	min-height: 48px;
	padding: 0.65rem 1rem;
	border-radius: 4px;
	background: #d7a33b;
	color: #032547;
	font-weight: 700;
	text-decoration: none;
}

.hero-cta:hover,
.hero-cta:focus-visible {
	background: #f0e3c8;
	color: #032547;
}

.service-map {
	position: relative;
	--hero-panel-width: clamp(4.5rem, 24vw, 19rem);
	--hero-panel-offset: clamp(3.1rem, 15.6vw, 12.5rem);
	width: 100%;
	height: 100svh;
	box-sizing: border-box;
}

.mobile-services {
	display: none;
}

.map-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

#namibia-map {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	opacity: 0;
}

.hero-side-panel {
	position: absolute;
	top: 50%;
	left: calc(50vw + var(--hero-panel-offset));
	width: var(--hero-panel-width);
	height: 60%;
	box-sizing: border-box;
	transform: translateY(-50%);
	border: 2px solid #d7a33b;
	border-radius: 14px;
	background: linear-gradient(
		to bottom,
		rgba(26, 58, 88, 0.72) 0%,
		rgba(3, 37, 71, 0.72) 50%,
		rgba(0, 38, 74, 0.72) 100%
	);
}

.map-area-detail {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 1.25rem;
	box-sizing: border-box;
	height: 100%;
	padding: clamp(1.25rem, 2vw, 2rem);
	color: #ffffff;
	text-align: center;
	opacity: 0;
	transition: opacity 450ms ease;
}

.map-area-detail.is-visible {
	opacity: 1;
}

.map-area-detail > div {
	width: 100%;
}

.map-area-icon {
	display: block;
	width: 4.5rem;
	height: 4.5rem;
	object-fit: contain;
}

.map-area-icon[hidden] {
	display: none;
}

.map-area-title {
	margin: 0 0 0.75rem;
	color: #ffffff;
	font: 700 1.75rem/1.2 'Libre Baskerville', serif;
}

.map-area-description {
	margin: 0;
	color: #e2eaf0;
	font-size: 1.25rem;
	line-height: 1.5;
}

.benefits-intro h1 {
	margin-bottom: 0.2rem;
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	line-height: 1.1;
}

.benefits-section {
	margin-top: 3rem;
	color: #ffffff;
}

.benefits-intro {
	text-align: center;
	margin-bottom: 1.5rem;
}

.benefits-intro h2 {
	margin-bottom: 0.25rem;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	line-height: 1.2;
}

.benefits-intro p {
	margin-bottom: 0;
	color: inherit;
	font-size: clamp(1.2rem, 2.5vw, 1.75rem);
	font-style: italic;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 1000px;
	margin: 0 auto;
}

.benefit-item {
	display: flex;
	gap: 1rem;
	min-height: 116px;
	padding: 1.25rem 1.5rem;
	border-bottom: 2px solid #d7a33b;
}

.benefit-item:nth-child(n + 4) {
	border-bottom: 0;
}

.benefit-item:not(:nth-child(3n)) {
	border-right: 2px solid #d7a33b;
}

.benefit-icon {
	flex: 0 0 4rem;
	width: 4rem;
	height: 4rem;
	object-fit: contain;
	filter: drop-shadow(0 0 2px rgba(215, 163, 59, 0.2));
}

.benefit-item h3 {
	margin-bottom: 0.25rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
}

.benefit-item p {
	margin-bottom: 0;
	font-size: 0.95rem;
	line-height: 1.4;
}

.journey-cta {
	display: flex;
	justify-content: center;
}

.journey-button {
	display: inline-flex;
	margin-top: 1.5rem;
	align-items: center;
	justify-content: space-between;
	width: min(100%, 360px);
	min-height: 48px;
	box-sizing: border-box;
	padding: 0.5rem 0.9rem 0.5rem 1rem;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(110deg, #f6d879 0%, #e5b94f 48%, #c98a24 100%);
	color: #032547;
	font-size: clamp(0.9rem, 3vw, 1.25rem);
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.journey-button:hover,
.journey-button:focus-visible {
	filter: brightness(1.08);
	color: #032547;
	transform: translateY(-1px);
}

.journey-button-arrow {
	font-size: 1.45em;
	font-weight: 700;
	line-height: 1;
}

.flag-section {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	box-sizing: border-box;
	min-height: 100vh;
	min-height: 100svh;
	padding: 2rem 1rem;
	background-image: url('assets/images/namibia-flag.webp');
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% auto;
}

.flag-section-content {
	align-self: center;
	max-width: 850px;
	color: #ffffff;
	text-align: center;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	padding: 20vh 1rem 2rem;
}

.flag-section-content h2 {
	margin: 0 0 0.5rem;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.1;
}

.flag-section-content p {
	margin: 0;
	font-size: clamp(1.1rem, 2.5vw, 1.75rem);
	font-weight: 500;
	line-height: 1.35;
	
}

.contact-panel {
	width: min(100%, 900px);
	box-sizing: border-box;
	align-self: flex-end;
	margin-top: clamp(10rem, 20vh, 18rem);
	margin-right: clamp(1rem, 6vw, 5rem);
	padding: 2rem;
	border: 2px solid #d7a33b;
	border-radius: 14px;
	background: linear-gradient(
		to bottom,
		rgba(26, 58, 88, 0.82) 0%,
		rgba(3, 37, 71, 0.82) 50%,
		rgba(0, 38, 74, 0.82) 100%
	);
}

.contact-panel h2 {
	margin: 0 0 1.5rem;
	color: #ffffff;
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.1;
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 3rem;
}

.contact-field {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.contact-field label {
	margin-bottom: 0.45rem;
	color: #ffffff;
	font-size: 1rem;
}

.contact-field input,
.contact-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 0;
	border-bottom: 2px solid #d7a33b;
	border-radius: 0;
	padding: 0.45rem 0;
	background: transparent;
	color: #ffffff;
	font: inherit;
}

.contact-field input {
	min-height: 2.2rem;
}

.contact-field textarea {
	min-height: 8rem;
	border: 2px solid #d7a33b;
	border-radius: 7px;
	padding: 0.65rem;
	background: rgba(255, 255, 255, 0.86);
	color: #032547;
	resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
	outline: 2px solid #e5d3b0;
	outline-offset: 3px;
}

.contact-field-message {
	grid-column: 1 / -1;
}

.contact-submit button:disabled,
.contact-submit input[type="submit"]:disabled {
	opacity: 0.6;
	cursor: wait;
}

.contact-panel .wpcf7-response-output {
	margin: 1.5rem 0 0;
	color: #ffffff;
}

.contact-submit {
	display: flex;
	grid-column: 1 / -1;
	justify-content: flex-end;
}

.contact-submit button,
.contact-submit input[type="submit"] {
	border: 0;
	border-radius: 6px;
	padding: 0.55rem 1.35rem;
	background: #d7a33b;
	color: #ffffff;
	font: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-submit button:hover,
.contact-submit button:focus-visible,
.contact-submit input[type="submit"]:hover,
.contact-submit input[type="submit"]:focus-visible {
	background: #e5d3b0;
	color: #032547;
}

.location-map iframe {
	display: block;
	width: 100%;

	border: 0;
}

@media (max-width: 767.98px) {
	.hero-section {
		align-items: stretch;
		min-height: 0;
		padding: 2rem 0;
	}

	.service-map {
		height: auto;
		padding: 0 1rem;
	}

	.map-frame,
	.hero-side-panel {
		display: none;
	}

	.mobile-services {
		display: block;
		max-width: 40rem;
		margin: 0 auto;
	}

	.mobile-services-title {
		margin: 0 0 1rem;
		color: #ffffff;
		font-size: 1.7rem;
		text-align: center;
	}

	.mobile-service-group + .mobile-service-group {
		margin-top: 1.5rem;
	}

	.mobile-service-group-title {
		margin: 0 0 0.25rem;
		color: #efbd60;
		font-size: 1.4rem;
	}

	.mobile-service-group-description {
		margin: 0 0 0.75rem;
		color: #e2eaf0;
		font-size: 1.05rem;
		line-height: 1.4;
	}

	.mobile-service-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.mobile-service-card {
		display: flex;
		min-height: 9rem;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		padding: 0.75rem 0.4rem;
		border: 1px solid rgba(215, 163, 59, 0.7);
		border-radius: 6px;
		background: rgba(3, 37, 71, 0.84);
		color: #ffffff;
		font: inherit;
		font-size: 1rem;
		font-weight: 600;
		line-height: 1.35;
		text-align: center;
	}

	.mobile-service-card:hover,
	.mobile-service-card:focus-visible {
		border-color: #efbd60;
		background: rgba(26, 58, 88, 0.96);
	}

	.mobile-service-card:focus-visible {
		outline: 2px solid #efbd60;
		outline-offset: 2px;
	}

	.mobile-service-card img {
		width: 2.25rem;
		height: 2.25rem;
		object-fit: contain;
	}

	.mobile-service-modal .modal-content {
		border: 1px solid #d7a33b;
		background: #032547;
		color: #ffffff;
	}

	.mobile-service-modal .modal-title {
		margin: 0;
		font-size: 1.35rem;
	}

	.mobile-service-modal .btn-close {
		filter: invert(1);
	}

	.mobile-service-modal .modal-body {
		color: #e2eaf0;
		text-align: center;
	}

	.mobile-service-modal-icon {
		width: 4rem;
		height: 4rem;
		margin: 0 auto 1rem;
		object-fit: contain;
	}

	.mobile-service-modal .modal-body p {
		margin: 0;
		font-size: 1.05rem;
		line-height: 1.6;
	}

	.map-area-detail {
		gap: 0.9rem;
		padding: 1rem;
	}

	.map-area-icon {
		width: 3.25rem;
		height: 3.25rem;
	}

	.map-area-title {
		font-size: 1.35rem;
	}

	.map-area-description {
		font-size: 1.05rem;
	}

	.benefits-section {
		padding-top: 3rem;
	}

	.benefits-intro {
		margin-bottom: 2rem;
	}

	.benefits-grid {
		grid-template-columns: 1fr;
	}

	.benefits-grid > .benefit-item {
		border-top: 2px solid #d7a33b;
		border-bottom: 2px solid #d7a33b;
	}

	.benefit-item:not(:nth-child(3n)) {
		border-right: 0;
	}

	.contact-panel {
		align-self: stretch;
		margin-right: 0;
	}

	.contact-form {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.contact-field-message,
	.contact-submit {
		grid-column: auto;
	}

	.contact-submit {
		justify-content: stretch;
	}

	.contact-submit button,
	.contact-submit input[type="submit"] {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html.has-scroll-reveal [data-scroll-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.map-area-detail {
		transition: none;
	}
}
