/* Flying Business Theme Stylesheet
 * Design tokens matched to Flight Search & Hotel Search prototypes
 */

:root {
	--navy: #10243d;
	--teal: #007f83;
	--ink: #14283e;
	--muted: #607084;
	--line: #dce4ea;
	--bg: #f4f7f8;
	--accent: #61ded5;
	--white: #ffffff;
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 18px;
	--shadow-card: 0 12px 32px rgba(16, 36, 61, 0.08);
	--shadow-hover: 0 18px 40px rgba(16, 36, 61, 0.14);
	--container-max: 1240px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ink);
	background-color: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--teal);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}

.fb-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fb-skip-link {
	position: absolute;
	top: -100%;
	left: 16px;
	z-index: 1000;
	background: var(--navy);
	color: var(--white);
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	font-weight: 600;
}

.fb-skip-link:focus {
	top: 16px;
}

.fb-container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 24px;
}

/* Header & Navigation */
.fb-site-header {
	background-color: var(--navy);
	color: var(--white);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: sticky;
	top: 0;
	z-index: 100;
}

.fb-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.fb-brand-link,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.fb-brand-logo,
.fb-brand img,
.custom-logo-link img {
	height: 44px;
	max-height: 48px;
	width: auto;
	object-fit: contain;
}

.fb-primary-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.fb-nav-list {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fb-nav-list li {
	position: relative;
	list-style: none;
}

.fb-site-header .fb-nav-list a {
	color: rgba(255, 255, 255, 0.94);
	font-weight: 500;
	font-size: 0.95rem;
	padding: 8px 4px;
	display: inline-block;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.fb-site-header .fb-btn-primary-sm,
.fb-site-header .fb-btn-outline-sm {
	color: #ffffff;
	white-space: nowrap;
}

.fb-site-header .fb-nav-list a:hover,
.fb-site-header .fb-nav-list .current-menu-item > a {
	color: var(--accent);
	text-decoration: none;
}

.fb-nav-list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	max-height: 70vh;
	overflow-y: auto;
	background: var(--navy);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius-sm);
	padding: 8px 0;
	margin: 0;
	list-style: none;
	box-shadow: 0 16px 36px rgba(8, 19, 34, 0.35);
	z-index: 250;
}

.fb-nav-list li:hover > .sub-menu,
.fb-nav-list li:focus-within > .sub-menu {
	display: block;
}

.fb-nav-list .sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 0.88rem;
	white-space: nowrap;
}

.fb-nav-list .sub-menu a:hover {
	background: rgba(255, 255, 255, 0.08);
}

.fb-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.fb-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius-sm);
	padding: 8px 10px;
	cursor: pointer;
}

.fb-nav-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--white);
}

/* Buttons */
.fb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 600;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
	text-decoration: none;
	border: 1px solid transparent;
}

.fb-btn:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.fb-btn-primary {
	background-color: var(--teal);
	color: var(--white);
	padding: 13px 24px;
	font-size: 1rem;
}

.fb-btn-primary:hover {
	background-color: #006669;
	color: var(--white);
}

.fb-btn-secondary {
	background-color: var(--navy);
	color: var(--white);
	padding: 13px 24px;
	font-size: 1rem;
}

.fb-btn-secondary:hover {
	background-color: #19365a;
	color: var(--white);
}

.fb-btn-primary-sm {
	background-color: var(--teal);
	color: var(--white);
	padding: 8px 16px;
	font-size: 0.9rem;
}

.fb-btn-primary-sm:hover {
	background-color: #006669;
	color: var(--white);
}

.fb-btn-outline-sm {
	background-color: transparent;
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.35);
	padding: 8px 14px;
	font-size: 0.9rem;
}

.fb-btn-outline-sm:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* Entry Hero (Front Page: Full-Bleed Photo + Two-Choice Cards) */
.fb-entry-hero {
	background-color: var(--navy);
	color: var(--white);
	padding: 64px 0 72px;
	position: relative;
	overflow: hidden;
}

.fb-entry-hero--photo {
	background-image: var(--fb-hero-bg);
	background-size: cover;
	background-position: center 45%;
}

.fb-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		110deg,
		rgba(16, 36, 61, 0.92) 0%,
		rgba(16, 36, 61, 0.78) 52%,
		rgba(12, 79, 89, 0.72) 100%
	);
	z-index: 0;
}

.fb-entry-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.fb-entry-copy {
	max-width: 720px;
}

.fb-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 12px;
}

.fb-entry-title {
	margin: 0 0 14px;
	font-size: clamp(2.2rem, 4.2vw, 3.35rem);
	line-height: 1.1;
	font-weight: 800;
	color: var(--white);
	letter-spacing: -0.01em;
}

.fb-entry-subtitle {
	margin: 0;
	font-size: 1.12rem;
	color: rgba(255, 255, 255, 0.9);
	max-width: 60ch;
}

.fb-choice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 920px;
}

.fb-choice-card {
	background: rgba(255, 255, 255, 0.97);
	color: var(--ink);
	border-radius: var(--radius-md);
	padding: 28px 28px 24px;
	box-shadow: 0 18px 42px rgba(8, 19, 34, 0.28);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fb-choice-card:hover,
.fb-choice-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 24px 52px rgba(8, 19, 34, 0.36);
	border-color: var(--accent);
	text-decoration: none;
}

.fb-choice-card h2 {
	margin: 0 0 8px;
	font-size: 1.5rem;
	color: var(--navy);
}

.fb-choice-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.96rem;
}

.fb-choice-badge {
	display: inline-block;
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--teal);
	margin-bottom: 6px;
}

.fb-choice-thumb {
	border-radius: var(--radius-sm);
	overflow: hidden;
	height: 120px;
	margin-bottom: 14px;
	background: var(--navy);
}

.fb-choice-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fb-choice-cta {
	align-self: flex-start;
}

/* Visual Showcase Band (Cabins, Luxury Hotels, Lounges & Fleet) */
.fb-showcase-band {
	padding: 64px 0 32px;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.fb-section-eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--teal);
	margin-bottom: 8px;
}

.fb-showcase-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.fb-showcase-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: 0 6px 22px rgba(16, 36, 61, 0.06);
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fb-showcase-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-card);
}

.fb-showcase-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--navy);
}

.fb-showcase-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.fb-showcase-card:hover .fb-showcase-media img {
	transform: scale(1.03);
}

.fb-showcase-pill {
	position: absolute;
	top: 14px;
	left: 14px;
	background: rgba(16, 36, 61, 0.86);
	color: var(--accent);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.fb-showcase-body {
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
}

.fb-showcase-body h3 {
	margin: 0;
	font-size: 1.2rem;
	color: var(--navy);
}

.fb-showcase-body p {
	margin: 0;
	color: var(--muted);
	font-size: 0.94rem;
	flex: 1;
}

.fb-showcase-links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
	font-size: 0.9rem;
	font-weight: 600;
}

.fb-showcase-links a {
	color: var(--teal);
}

/* Trust & Features Band */
.fb-trust-band {
	padding: 44px 0 60px;
	background: var(--bg);
}

.fb-section-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 36px;
}

.fb-section-header h2 {
	margin: 0 0 10px;
	font-size: 1.85rem;
	color: var(--navy);
}

.fb-section-header p {
	margin: 0;
	color: var(--muted);
}

.fb-trust-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.fb-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 26px;
	box-shadow: 0 4px 16px rgba(16, 36, 61, 0.04);
}

.fb-card h3 {
	margin: 0 0 10px;
	font-size: 1.15rem;
	color: var(--navy);
}

.fb-card p {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

/* Standard Content & Archive Templates */
.fb-page-wrap {
	padding: 48px 0 64px;
}

.fb-content-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: 36px 40px;
	box-shadow: 0 4px 18px rgba(16, 36, 61, 0.04);
}

.fb-page-header {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.fb-page-title {
	margin: 0 0 8px;
	font-size: clamp(1.75rem, 2.8vw, 2.35rem);
	color: var(--navy);
	line-height: 1.2;
}

.fb-entry-meta {
	font-size: 0.88rem;
	color: var(--muted);
}

.fb-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.fb-post-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.fb-post-card-thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.fb-post-card-body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.fb-post-card-title {
	margin: 0 0 10px;
	font-size: 1.2rem;
	color: var(--navy);
}

.fb-post-card-excerpt {
	color: var(--muted);
	font-size: 0.94rem;
	margin: 0 0 16px;
	flex: 1;
}

.fb-pagination {
	margin-top: 36px;
	display: flex;
	justify-content: center;
	gap: 8px;
}

/* Footer */
.fb-site-footer {
	background-color: var(--navy);
	color: rgba(255, 255, 255, 0.85);
	padding: 56px 0 0;
	margin-top: auto;
}

.fb-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 1.1fr;
	gap: 40px;
	padding-bottom: 40px;
}

.fb-footer-logo {
	height: 40px;
	width: auto;
	margin-bottom: 16px;
}

.fb-footer-tagline {
	margin: 0 0 18px;
	font-size: 0.94rem;
	color: rgba(255, 255, 255, 0.78);
	max-width: 38ch;
}

.fb-footer-contact p {
	margin: 6px 0;
	font-size: 0.94rem;
}

.fb-site-footer a,
.fb-footer-contact a {
	color: #61ded5;
	font-weight: 500;
}

.fb-footer-heading {
	margin: 0 0 14px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--white);
}

.fb-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fb-footer-links li {
	margin-bottom: 8px;
}

.fb-site-footer .fb-footer-links a {
	color: #ffffff;
	font-size: 0.94rem;
}

.fb-site-footer .fb-footer-links a:hover,
.fb-site-footer a:hover {
	color: var(--accent);
}

.fb-atol-stamp {
	display: flex;
	align-items: center;
	gap: 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius-md);
	padding: 14px 16px;
	margin-bottom: 16px;
}

.fb-atol-logo {
	width: 84px;
	height: auto;
	flex-shrink: 0;
}

.fb-atol-copy {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.86);
}

.fb-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fb-site-footer .fb-social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #ffffff;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.fb-site-footer .fb-social-links svg {
	width: 18px;
	height: 18px;
	fill: #ffffff;
	display: block;
}

.fb-site-footer .fb-social-links a:hover {
	background: var(--teal);
	border-color: var(--accent);
	color: #ffffff;
	text-decoration: none;
}

.fb-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 18px 0;
	font-size: 0.86rem;
	color: rgba(255, 255, 255, 0.68);
}

.fb-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.fb-footer-bottom p {
	margin: 0;
}

/* Responsive Breakpoints (1000px & 720px matching prototypes) */
@media (max-width: 1000px) {
	.fb-showcase-grid,
	.fb-trust-grid,
	.fb-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fb-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 960px) {
	.fb-entry-hero {
		padding: 44px 0 52px;
	}

	.fb-nav-toggle {
		display: inline-flex;
	}

	.fb-primary-nav {
		display: none;
		position: absolute;
		top: 76px;
		left: 0;
		right: 0;
		background: var(--navy);
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
		flex-direction: column;
		align-items: stretch;
		padding: 20px 24px 24px;
		gap: 16px;
	}

	.fb-primary-nav.is-open {
		display: flex;
	}

	.fb-nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.fb-header-actions {
		flex-direction: column;
		align-items: stretch;
	}
}

@media (max-width: 720px) {

	.fb-choice-grid,
	.fb-showcase-grid,
	.fb-trust-grid,
	.fb-archive-grid,
	.fb-footer-grid {
		grid-template-columns: 1fr;
	}

	.fb-content-card {
		padding: 24px 20px;
	}

	.fb-footer-bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Contact Page & Forms */
.fb-contact-layout {
	display: grid;
	grid-template-columns: 1.45fr 0.75fr;
	gap: 28px;
	align-items: start;
}

.fb-contact-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.fb-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.fb-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fb-field label {
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--navy);
}

.fb-field input,
.fb-field select,
.fb-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit;
	color: var(--ink);
	background: var(--white);
}

.fb-field input:focus,
.fb-field select:focus,
.fb-field textarea:focus {
	border-color: var(--teal);
	outline: 2px solid rgba(0, 127, 131, 0.2);
}

.fb-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fb-contact-sidebar h2 {
	margin: 0 0 12px;
	color: var(--navy);
	font-size: 1.25rem;
}

.fb-contact-sidebar p {
	margin: 0 0 14px;
}

.fb-alert {
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	margin-bottom: 20px;
	font-weight: 500;
}

.fb-alert-success {
	background: #e6f6f5;
	border: 1px solid #8fd8d2;
	color: #094c4f;
}

.fb-alert-error {
	background: #fdecec;
	border: 1px solid #f2b4b4;
	color: #7c1f1f;
}

@media (max-width: 900px) {
	.fb-contact-layout,
	.fb-form-row {
		grid-template-columns: 1fr;
	}
}

/* Reviews Hub & Cards */
.fb-review-dropdowns {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
	gap: 12px;
	margin-top: 20px;
	align-items: end;
}

.fb-review-filter-actions {
	display: flex;
	gap: 8px;
}

@media (max-width: 1000px) {
	.fb-review-dropdowns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.fb-review-dropdowns {
		grid-template-columns: 1fr;
	}
}

.fb-review-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.fb-filter-pill {
	display: inline-block;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--navy);
	font-size: 0.88rem;
	font-weight: 600;
}

.fb-filter-pill.is-active,
.fb-filter-pill:hover {
	background: var(--teal);
	border-color: var(--teal);
	color: var(--white);
	text-decoration: none;
}

.fb-review-meta-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.fb-review-code {
	background: var(--bg);
	border: 1px solid var(--line);
	color: var(--navy);
	font-size: 0.78rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
}

.fb-review-rating {
	background: rgba(0, 127, 131, 0.12);
	color: var(--teal);
	font-size: 0.78rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 6px;
}

.fb-review-book-cta {
	margin-top: 32px;
	padding: 22px 24px;
	border-radius: var(--radius-md);
	background: var(--bg);
	border: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.fb-review-book-cta h3 {
	margin: 0 0 4px;
	color: var(--navy);
}

.fb-review-book-cta p {
	margin: 0;
	color: var(--muted);
}
