/* ------------------------------------ SETTINGS -------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");
@import url("https://fonts.googleapis.com/css?family=Oleo+Script:400|Open+Sans:300,300italic,600,600italic,800");

:root {
	--primary: #9c8763;
	--secondary: #421303;
	--hover: #811728;
	--text: #7a7a7a;
}

.heading {
	color: var(--secondary);
}

.primary {
	color: var(--primary);
}

body {
	padding: 0;
	margin: 0;
	font-family: 'Garamond', sans-serif;
	font-size: 20px;
	background: #fff;
	color: var(--black);
}

img {
	display: block;
	max-width: 100%;
}

svg {
	display: block;
	max-width: 50%;
	height: auto;
	margin: auto;
}

.container {
	max-width: 1200px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 10px 30px;
}

.contact {
	max-width: 700px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 30px 30px;
	box-shadow: 0 0 8px #888;
}

h1,
h2,
h3,
p {
	margin: 0;
}

a {
	text-decoration: none;
}

.button {
	padding: 10px 30px;
	display: inline;
	background: var(--primary);
	color: white;
}

.button:hover {
	color: var(--primary);
	border: 1px solid var(--primary);
	font-weight: bold;
	background-color: white;
}

.button2 {
	padding: 10px 30px;
	display: inline;
	color: var(--primary);
	border: 1px solid var(--primary);
	font-weight: bold;
}

.button2:hover {
	background: var(--primary);
	color: white;
}

.button3 {
	background: var(--primary);
	color: white;
	padding: 10px 30px;
	display: inline;
	font-weight: bold;
}

.button3:hover {
	background: white;
	color: var(--primary);
}

.flex-box {
	display: flex;
	flex-direction: row;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}

.flex-left {
	display: flex;
	flex-direction: row;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: start;
}

.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.p-1 {
	padding: 5px;
}

.p-2 {
	padding: 10px;
}

.p-3 {
	padding: 15px;
}

.p-4 {
	padding: 20px;
}

.p-5 {
	padding: 25px;
}

.m-1 {
	margin: 5px;
}

.m-2 {
	margin: 10px;
}

.m-3 {
	margin: 15px;
}

.m-4 {
	margin: 20px;
}

.m-5 {
	margin: 25px;
}

.mb-1 {
	margin-bottom: 5px;
}

.mb-2 {
	margin-bottom: 10px;
}

.mb-3 {
	margin-bottom: 15px;
}

.mb-4 {
	margin-bottom: 20px;
}

.mb-5 {
	margin-bottom: 25px;
}

.font-1 {
	font-size: 20px;
}

.font-2 {
	font-size: 30px;
}

.font-3 {
	font-size: 40px;
}

.font-4 {
	font-size: 50px;
}

.font-5 {
	font-size: 60px;
}

.gap-1 {
	gap: 5px;
}

.gap-2 {
	gap: 10px;
}

.gap-3 {
	gap: 15px;
}

.gap-4 {
	gap: 20px;
}

.gap-5 {
	gap: 25px;
}

.flex {
	display: flex;
}

.items-center {
	align-items: center;
}

.justify-center {
	justify-content: center;
}

.border {
	border: 3px solid var(--primary);
}

.bold {
	font-weight: bold;
}

table {
	width: 100%;
	margin-bottom: 10px;
	table-layout: auto;
}

th,
td {
	padding: 5px 10px;
	border-bottom: 4px solid var(--primary);

}

tr {
	border-bottom: 4px solid #333 !important;
}

th {
	background: var(--primary);
	color: white;
	text-align: start;
}


.grid-cols-4 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	justify-content: space-evenly;
	height: 100%;
}

.grid-cols-3 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	justify-content: space-evenly;
}

.grid-cols-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	justify-content: space-evenly;
}

.grid-cols-1 {
	display: grid;
	grid-template-columns: 1fr;
	justify-content: space-evenly;
}

.header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	justify-content: space-evenly;
	align-items: center;
}

@media only screen and (max-width: 900px) {

	.grid-cols-3,
	.grid-cols-4 {
		grid-template-columns: 1fr 1fr;
		justify-content: space-evenly;
	}

}

@media only screen and (max-width: 800px) {

	.grid-cols-4,
	.grid-cols-3 {
		display: block;
	}

	.grid-cols-2 {
		display: block;
	}
}


/* --------------------------------- END SETTINGS -------------------------------------*/

/* ------------------------------------- NAVBAR --------------------------------------*/
header {
	background-color: #f2f2f2;
	min-height: 70px;
}

.navbar {
	max-width: 1200px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 5px 30px;
	align-items: center;
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	justify-content: space-evenly;
}

.logo {
	display: flex;
	justify-content: start;
	align-items: center;

	img {
		height: 80px;
	}
}

.subnavs {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding-top: 10px;
	flex-wrap: wrap;

	a {
		padding: 10px 30px;
		display: inline;
		background: white;
		color: var(--primary);
		border: 1px solid var(--primary);
	}

	a:hover {
		background: var(--primary);
		color: white;
	}

	.act {
		background: var(--primary);
		color: white;
	}
}

.top-bar {
	display: flex;
	justify-content: end;
	align-items: center;
	padding: 10px;
	gap: 15px;

	a {
		color: var(--primary);
		padding: 5px 0;
	}

}

.mb-text-2 {
	display: none;
}

.mb-text {
	display: block;
}

.mb-tx {
	padding: 15px 30px;
	background-color: var(--primary);
	color: white;

	a {
		color: var(--secondary);
	}

	a:hover {
		color: white;
	}
}

.bottom-bar {
	display: flex;
	justify-content: end;
	align-items: center;
	padding: 10px;
	gap: 30px;

	a {
		color: var(--secondary);
		padding: 5px 0;
	}

	a:hover {
		border-bottom: 2px solid var(--primary);
	}

	.active {
		border-bottom: 2px solid var(--primary);
	}
}

/* Hamburger Menu for Mobile */
.hamburger {
	display: none;
	cursor: pointer;
}

.mobile-menu {
	display: none;
	position: absolute;
	top: 80px;
	left: 0;
	right: 0;
	background-color: #f2f2f2;
	text-align: center;
	padding: 10px;
}

.mobile-menu a {
	display: block;
	padding: 10px 0;
	color: var(--text);
}

.mobile-menu a:hover {
	border-bottom: 1px solid var(--primary);
}

/* Dropdown styling */
.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: white;
	min-width: 220px;
	box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
	z-index: 1;
	flex-direction: column;
}

.dropdown-content a {
	padding: 10px;
	text-decoration: none;
	display: block;
	color: black;
}

.dropdown-content a:hover {
	background-color: #f1f1f1;
}

/* Show the dropdown */
.dropdown.show .dropdown-content {
	display: flex;
}


/* --------------------------- END NAVBAR ------------------------------------------------------ */

.hero {
	height: 80vh;
	background: url('../../images/deavlei.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.hero-overlay {
	height: 80vh;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	background-color: rgba(0, 0, 0, 0.2);
}

.banner {
	height: 40vh;
	background: url('../images/etosha-dolomite.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.banner2 {
	min-height: 350px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.banner-overlay {
	height: 40vh;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	background-color: rgba(0, 0, 0, 0.2);
}

.new-card {
	align-items: center;
	box-shadow: 0 0 8px #333;

	.content {
		padding: 20px;
	}
}

.welcome {
	min-height: 300px;
	background-color: var(--primary);
	padding: 50px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;

	.container {
		max-width: 900px;
	}
}

.about {
	padding: 50px 0;

	.grid-cols-2 {
		align-items: center;
	}
}

.accommodation {
	padding: 50px 0;
	background-color: #f2f2f2;
}

.acc-card {
	box-shadow: 0 0 8px #333;

	.content {
		padding: 20px;
		color: black;
	}

	a {
		color: var(--primary);
		font-weight: bold;
	}
}

.dis {
	font-weight: bold;
	font-size: 18px;
}

.acts {
	min-height: 400px;
	align-items: center;
}

.acts-bg {
	background-image: url('../../images/dunes.jpg');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 400px;
	height: 100%;
}

.acts-content {
	padding: 50px;
}

.facs {
	padding: 50px 0;
	background-color: var(--primary);
	color: white;
}

.fac-card {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;

}

.c2a {
	padding: 50px 20px;
	color: white;

	.container {
		background-image: url('../images/scroll.jpg');
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
		min-height: 350px;
		background-attachment: fixed;
		padding: 0;
	}

	.c2a-overlay {
		background-color: rgba(0, 0, 0, 0.5);
		height: 350px;
		display: flex;
		justify-content: center;
		align-items: center;
	}
}

/*----------------------------------------BOOKING FORM ---------------------------------------------------------------------*/
.booking-form {
	padding: 20px;
	border-radius: 15px;

	label strong {
		color: var(--primary)
	}
}

.contact-form {
	border-radius: 15px;
	padding: 20px;
}

.enquire {
	box-shadow: 0 0 10px var(--black);
	border-radius: 15px;
	padding: 20px;
	text-align: start;
}

input[type="submit" i] {
	border: none;
}

input[type="text"],
input[type="date"],
input[type="tel"],
input[type="email"],
textarea,
select {
	width: 100%;
	padding: 15px;
	border-radius: 10px;
	border: 1px solid #ccc;
	margin-top: 10px;
}

input [type="checkbox"] {
	width: 10%;
}

* {
	box-sizing: border-box;
}

/*----------------------------------------BOOKING FORM ---------------------------------------------------------------------*/

/*----------------------------------------FOOTER ---------------------------------------------------------------------*/
footer {
	background-color: var(--primary);
	padding: 20px;
	color: white;
	border-top: 2px solid var(--secondary);

	a {
		color: var(--secondary);
	}

	a:hover {
		color: white;
	}
}

/*----------------------------------------END FOOTER ---------------------------------------------------------------------*/

/*----------------------------------------MEDIA SCREENS ---------------------------------------------------------------------*/

@media only screen and (max-width: 900px) {}

@media only screen and (max-width: 768px) {
	.bottom-bar {
		display: none;
		/* Hide the default bottom navbar on mobile */
	}

	.top-bar {
		display: none;
		/* Hide the default bottom navbar on mobile */
	}

	.hamburger {
		display: flex;
		/* Show hamburger icon on mobile */
		justify-content: end;
		font-size: 30px;
		color: var(--text);
	}

	.mobile-menu {
		display: none;
		/* Hide the mobile menu by default */
	}

	.mobile-menu.open {
		display: block;
		/* Show the mobile menu when it's toggled */
	}

	.mb-text {
		display: none;
	}

	.mb-text-2 {
		display: block;
		padding: 10px 30px;
		text-align: center;
	}

}

/*----------------------------------------END MEADIA SCREENS---------------------------------------------------------------------*/