/* Box sizing reset */
* {
	box-sizing: border-box;
}

:root {
	--black: #000000;
	--blue: #1A3D6D;
	--navy: #202945;
	--red: #FF251B;
	--grey: #424953;
	--text: #F5F5F5;
}

/* Body and wrapper */
body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-style: normal;
	background-color: var(--black);
	color: var(--text);
	line-height: 1.6;
	display: flex;
	justify-content: center;
	min-height: 100vh;
}

#wrapper {
	background-color: var(--grey);
	width: 80%;
	max-width: 1200px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

/* Header */
header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5em;
	padding: 14px 18px;
	background-color: var(--navy);
	color: var(--text);
	font-size: 1.4em;
	margin-bottom: 14px;
	border-radius: 6px;
	position: relative;
	overflow: hidden;
}

header > * { position: relative; z-index: 2; }

.hero-header {
	background-image: url('../images/travel.jpg');
	background-size: cover;
	background-position: center;
	min-height: 320px;
	padding: 40px 18px;
	border-radius: 8px;
}

.hero-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.18);
	z-index: 1;
}

/* Full-bleed hero (edge-to-edge) */
.hero-header.full-bleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	border-radius: 0;
}

/* Hero header title contrast */
.hero-header h1 {
	color: var(--text);
	text-shadow: 0 3px 12px rgba(0,0,0,0.65);
	font-size: clamp(1.8rem, 4.5vw, 3.2rem);
	margin: 0;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width: 100%;
	z-index: 3;
}

.header-logo {
	width: 100px;
	height: auto;
	margin-left: 1em;
	cursor: pointer;
	display: block;
}

/* Ensure header logos contrast against dark hero/header backgrounds */
header .header-logo {
	filter: brightness(0) invert(1) saturate(0.1);
}

/* Navigation */
nav ul {
	list-style: none;
	padding: 0;
	margin: 0 0 2em;
	display: flex;
	justify-content: space-around;
}

nav ul li a {
	display: block;
	text-decoration: none;
	color: #111827;
	background-color: #E6EEF9;
	padding: 0.6em 1.1em;
	border-radius: 8px;
	font-weight: 700;
	text-transform: none;
	transition: background-color 0.22s ease, color 0.22s ease, transform 0.12s ease;
	width: 140px;
	text-align: center;
	border: 2px solid #B6C9EB;
}

nav ul li a:hover,
nav ul li a.active,
nav ul li#active > a {
	background-color: #FCD7D2;
	color: #111827;
	transform: translateY(-2px);
}

/* Main content */
main {
	flex-grow: 1;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 1em 2em 1em;
	color: var(--text);
}

/* Headings */
h1, h2, h3 {
	color: var(--text);
	text-align: center;
	margin: 1em 0 0.5em;
	font-weight: 700;
}

/* Call to action button style */
.cta {
	display: inline-block;
	background-color: #FDE2E0;
	color: #111827;
	padding: 0.6em 1.2em;
	border-radius: 6px;
	text-decoration: none;
	font-weight: bold;
	border: 2px solid #E7A7A0;
}

.cta:hover { background-color: #DDEBFF; color: #111827; }

/* Paragraphs */
p {
	margin: 0.5em 0;
	text-align: center;
	color: var(--text);
}

/* Images */
img {
	max-width: 90%;
	height: auto;
	display: block;
	margin: 0.5em auto;
	border-radius: 6px;
}

.hero {
	width: 100%;
	max-height: 360px;
	object-fit: cover;
	border-radius: 6px;
	margin: 0.5em 0 1em 0;
}

.gallery {
	display: flex;
	gap: 0.8em;
	flex-wrap: wrap;
	justify-content: center;
}

.gallery img {
	width: 30%;
	min-width: 200px;
	height: 140px;
	object-fit: cover;
	border-radius: 6px;
}

.contact-image {
	width: 160px;
	float: right;
	margin-left: 1em;
	border-radius: 6px;
}

/* Contact panel - form left, image right on wide screens */
.contact-panel {
	display: flex;
	gap: 1.2rem;
	align-items: center;
	justify-content: center;
}

.contact-panel form {
	flex: 1 1 480px;
}

.contact-panel .contact-image {
	width: 320px;
	height: auto;
	float: none;
	margin: 0 auto;
	align-self: center;
}

@media (max-width: 720px) {
	.contact-panel { flex-direction: column; }
	.contact-panel .contact-image { width: 100%; max-width: 320px; margin: 0.5em auto; }
}

/* Links */
a {
	color: var(--text);
	text-decoration: none;
	transition: transform 0.2s ease, color 0.2s ease;
}

a:hover,
a:focus {
	color: var(--red);
	transform: scale(1.05);
	outline: none;
}

/* Tables */
table {
	width: 90%;
	max-width: 600px;
	margin: 1.5em auto;
	border-collapse: collapse;
	font-family: inherit;
	color: var(--text);
	background: var(--navy);
}

th, td {
	border: 1px solid var(--blue);
	padding: 0.6em 1em;
	text-align: left;
	background-color: var(--navy);
}

tr:nth-child(even) { background-color: var(--grey); }
tr:nth-child(odd) { background-color: var(--navy); }

/* Forms */
form {
	max-width: 520px;
	margin: 2em auto;
	padding: 1em 1.2em;
	border: 1px solid var(--blue);
	background-color: var(--navy);
	font-family: inherit;
	color: var(--text);
	border-radius: 6px;
}

label {
	display: block;
	margin-bottom: 0.3em;
	font-size: 0.9em;
	color: var(--text);
}

input[type="text"],
input[type="email"],
textarea {
	width: 100%;
	padding: 0.6em;
	margin-bottom: 1em;
	border: 1px solid var(--blue);
	font-family: inherit;
	color: var(--text);
	background-color: var(--black);
	border-radius: 4px;
}

input[type="submit"] {
	background-color: #FDE2E0;
	color: #111827;
	border: 2px solid #E7A7A0;
	padding: 0.7em 1.4em;
	font-weight: 700;
	cursor: pointer;
	border-radius: 6px;
	transition: background-color 0.18s ease, transform 0.12s ease;
}

input[type="submit"]:hover {
	background-color: #DDEBFF;
	color: #111827;
	transform: translateY(-2px);
}

/* Footer */
footer {
	margin: 2em auto 1em;
	width: 100%;
	background-color: var(--navy);
	color: var(--text);
	text-align: center;
	padding: 18px 10px;
	border-radius: 8px;
	font-family: 'Abel', sans-serif;
	box-shadow: 0 6px 20px rgba(0,0,0,0.18);
	box-sizing: border-box;
}

footer h3 { color: var(--text); margin-bottom: 0.6em; }

/* Footer social icons */
.footer-social {
	margin-top: 1em;
	display: flex;
	gap: 0.6em;
	justify-content: center;
	align-items: center;
}

.footer-social .social-icon {
	display: inline-flex;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(0,0,0,0.2);
	align-items: center;
	justify-content: center;
	color: var(--text);
	text-decoration: none;
	transition: transform 0.12s ease, background-color 0.12s ease;
}

.footer-social .social-icon:hover { transform: translateY(-3px); background: rgba(0,0,0,0.35); }
.footer-social svg { display: block; }

/* Footer logo */
.footer-logo-link { display: inline-block; margin-bottom: 0.6em; }
.footer-logo { width: 84px; height: auto; display: block; margin: 0.4em auto; }
