/*------ Florine: photographer restyled as a dive, from the surface to the deep ------*/
:root {
	--lagoon: #0a6585;
	--blue: #083a5c;
	--deep: #051f38;
	--abyss: #020c1a;
	--text: #e6f4f7;
	--text-muted: #a9cdd6;
	--coral: #ff8a73;
	--row-height: 260px;
	--logo-width: 380;
	--logo-height: 89;
	--font: "Avenir Next", Nunito, "Segoe UI", system-ui, -apple-system, sans-serif;
}
body {
	color: var(--text);
	font-family: var(--font);
	background: linear-gradient(180deg, var(--lagoon) 400px, var(--blue) max(35%, 620px), var(--deep) 70%, var(--abyss) 100%) no-repeat var(--abyss);
}
p, h1, h2, h3, h4, h5, h6, li, td, th, blockquote {
	font-family: var(--font);
	color: inherit;
}
p {
	font-size: 17px;
	line-height: 26px;
	color: var(--text-muted);
}
h2 {
	font-size: 34px;
	line-height: 40px;
	font-weight: 600;
	padding: 0 0 12px;
}
a {
	color: var(--coral);
}
a:hover, a:focus {
	color: #ffb3a3;
}
a:focus-visible {
	outline: 2px solid var(--coral);
	outline-offset: 3px;
}
hr {
	border-color: rgba(255, 255, 255, 0.15);
}
/*------ surface ------*/
header {
	position: relative;
	overflow: hidden;
	padding: 28px 0 70px;
	text-align: center;
	background: linear-gradient(180deg, #38c6cf 0, #0c7c97 60%);
	box-shadow: none;
}
.navbar-brand_ {
	float: none;
	display: inline-block;
	max-width: 100%;
	position: static;
	margin: 0;
	padding: 0;
	height: auto;
}
.navbar-brand_ img {
	display: block;
	width: calc(var(--logo-width) * 1px);
	max-width: 100%;
	height: auto;
	aspect-ratio: var(--logo-width) / var(--logo-height);
}
.menuheader {
	margin-top: 16px;
	background: none;
}
.tm_navbar {
	float: none;
	min-height: 0;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}
.tm_navbar .nav {
	float: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 10px;
	margin: 0;
	padding: 0;
}
.tm_navbar .nav::before, .tm_navbar .nav::after {
	display: none;
}
.tm_navbar .nav li, .tm_navbar .nav li:first-child {
	float: none;
	margin: 0;
	padding: 0;
	background: none;
}
.tm_navbar .nav li a {
	padding: 6px 18px;
	border-radius: 20px;
	font-family: var(--font);
	font-size: 16px;
	line-height: 22px;
	font-weight: 600;
	text-transform: none;
	text-shadow: none;
	color: #fff;
	background: none;
}
.tm_navbar .nav li a:hover, .tm_navbar .nav li a:focus,
.tm_navbar .nav > li.active > a, .tm_navbar .nav > li.active > a:hover, .tm_navbar .nav > li.active > a:focus {
	color: var(--deep);
	background: #fff;
}
.tm_navbar .nav ul {
	background: var(--blue);
}
.wave {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 43px;
	fill: var(--lagoon);
}
.bubbles span {
	position: absolute;
	bottom: -20px;
	left: 12%;
	width: 14px;
	height: 14px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 60%);
	animation: bubble 9s linear infinite;
}
.bubbles span:nth-child(2) { left: 24%; width: 8px; height: 8px; animation-duration: 7s; animation-delay: -2s; }
.bubbles span:nth-child(3) { left: 36%; width: 11px; height: 11px; animation-duration: 11s; animation-delay: -6s; }
.bubbles span:nth-child(4) { left: 67%; width: 16px; height: 16px; animation-duration: 10s; animation-delay: -4s; }
.bubbles span:nth-child(5) { left: 79%; width: 7px; height: 7px; animation-duration: 6s; animation-delay: -1s; }
.bubbles span:nth-child(6) { left: 90%; width: 12px; height: 12px; animation-duration: 12s; animation-delay: -8s; }
@keyframes bubble {
	0% { transform: translate(0, 0); opacity: 0; }
	10% { opacity: 1; }
	50% { transform: translate(10px, -160px); }
	100% { transform: translate(-6px, -340px); opacity: 0; }
}
/*------ content rows ------*/
.row_5, .row_6, .row_7, .row_8, .row_9, .row_10, .row_11 {
	padding: 40px 0 72px;
	background: none;
}
.pad_bot3 {
	padding-bottom: 12px;
}
/*------ gallery: justified rows, each photo keeps its ratio ------*/
.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}
.gallery::after {
	content: "";
	flex-grow: 1000000;
}
.gallery-item {
	position: relative;
	flex-grow: calc(var(--ratio) * 100);
	flex-basis: calc(var(--ratio) * var(--row-height));
	aspect-ratio: var(--ratio);
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 6px 18px rgba(0, 10, 25, 0.35);
}
.gallery-item .thumb {
	display: block;
	height: 100%;
}
.gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.gallery-item:hover img, .gallery-item .thumb:focus-visible img {
	transform: scale(1.04);
}
.gallery-item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 24px 12px 8px;
	font-size: 15px;
	color: #fff;
	background: linear-gradient(180deg, transparent, rgba(2, 12, 26, 0.8));
	pointer-events: none;
}
.gallery-empty {
	width: 100%;
}
/*------ lightbox ------*/
#galleryOverlay {
	background-color: rgba(2, 12, 26, 0.94);
}
#gallerySlider .placeholder img {
	width: auto;
	height: auto;
}
/*------ depth gauge ------*/
.depth-gauge {
	display: none;
	--depth: 0;
	/* One tick per depth range of the gallery */
	--ranges: 12;
	position: fixed;
	z-index: 100;
	top: 22vh;
	right: 14px;
	bottom: 22vh;
	width: 10px;
	border-right: 2px solid rgba(255, 255, 255, 0.45);
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px calc(100% / var(--ranges)));
	pointer-events: none;
}
.depth-gauge.visible {
	display: block;
}
.depth-gauge-value {
	position: absolute;
	top: calc(var(--depth) * 100%);
	right: 16px;
	transform: translateY(-50%);
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 18px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--deep);
	background: var(--coral);
	transition: top 0.4s ease;
}
/*------ sea floor ------*/
footer {
	padding: 28px 0;
	background: none;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.smalllogo2 img {
	width: 182px;
	height: 43px;
}
.footerpriv {
	font-family: var(--font);
	color: var(--text-muted);
}
@media (max-width: 767px) {
	:root {
		--row-height: 170px;
		--logo-width: 300;
		--logo-height: 70;
	}
	.sf-menu {
		display: flex !important;
	}
	.select-menu {
		display: none !important;
	}
	.gallery {
		gap: 6px;
	}
	.depth-gauge {
		top: auto;
		right: 12px;
		bottom: 12px;
		width: auto;
		border: 0;
		background: none;
	}
	.depth-gauge-value {
		position: static;
		display: block;
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.bubbles {
		display: none;
	}
	.gallery-item img,
	.depth-gauge-value {
		transition: none;
	}
}
