/* ==========================================================================
   WP Bdalyft - Main Stylesheet
   Ported from Joomla 3.10 "forward_lyft" template (main_css.css, template.css,
   responsive.css). Unused/legacy Joomla-only selectors removed. Missing
   styles needed for the WordPress markup have been added where noted.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts & Reset
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700');

html, body, p, ul, h1, h2, h3, h4, h5, h6, img { margin: 0; padding: 0; }

img { border: 0; max-width: 100%; width: auto; height: auto; }

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

body {
	font: 15px/20px Arial, sans-serif;
	color: #575757;
	background: #fff;
	overflow-x: hidden;
}

p { text-align: justify; }

a { color: #f7941e; text-decoration: none; }
a:hover, a:focus { color: #ec008c; text-decoration: none; }

/* Clearfix - not present in original CSS but required for WP markup */
.clr { clear: both; }
.clearfix::after { content: ""; display: table; clear: both; }

/* --------------------------------------------------------------------------
   2. Layout / Grid
   Original Joomla template used its own simple grid (not real Bootstrap).
   Kept identical widths/behaviour for an exact match.
   -------------------------------------------------------------------------- */
.wrap { width: 1080px; max-width: 100%; margin: 0 auto; }

div { margin: 0 auto; }

.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
	float: left;
	margin: 0 1%;
}

.col-md-1 { width: 6.3333%; }
.col-md-2 { width: 14.6666%; }
.col-md-3 { width: 23%; }
.col-md-4 { width: 31.3333%; }
.col-md-5 { width: 39.6666%; }
.col-md-6 { width: 48%; }
.col-md-7 { width: 56.3333%; }
.col-md-8 { width: 64.6666%; }
.col-md-9 { width: 73%; }
.col-md-10 { width: 81.3333%; }
.col-md-11 { width: 89.6666%; }
.col-md-12 { width: 98%; }

.row-fluid { width: 100%; float: left; }

/* --------------------------------------------------------------------------
   3. Headings
   -------------------------------------------------------------------------- */
h1 {
	font-size: 32px;
	line-height: 50px;
	margin-bottom: 10px;
	color: #ec008c;
	font-weight: 400;
	font-family: 'Roboto Condensed', sans-serif;
	text-transform: uppercase;
	text-align: center;
}

h1::before {
	background: #e3bb4d;
	display: block;
	position: relative;
	top: 0;
	left: 50%;
	width: 44px;
	height: 3px;
	overflow: hidden;
	margin: 0 0 10px -22px;
	content: '';
}

h2 {
	font-size: 28px;
	line-height: normal;
	margin-bottom: 0;
	color: #e3bb4d;
	font-weight: 400;
	font-family: 'Roboto Condensed', sans-serif;
}

h3 {
	font-size: 24px;
	line-height: normal;
	padding: 20px 0 10px;
	color: #ec008c;
	font-weight: 400;
	font-family: 'Roboto Condensed', sans-serif;
	text-align: center;
}

h3::before { content: ''; display: block; clear: both; height: 20px; }

h4 {
	font-size: 15px;
	margin-bottom: 5px;
	margin-top: 10px;
	font-family: 'Roboto Condensed', sans-serif;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.main-bd {
	width: 100%;
	background: #e3bb4d;
	margin: 0 auto;
	z-index: 999999;
	position: fixed;
	top: 0;
	left: 0;
}

.site-header-inner { padding: 10px 0; }

.site-logo { margin-top: 0; }
.site-logo a { display: inline-block; }

.site-nav { margin-top: 25px; }

/* Primary menu - simple horizontal nav ported from the desktop megamenu look.
   Mobile behaviour is intentionally left to the separate mobile-menu plugin. */
.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.primary-menu li { position: relative; }

.primary-menu li a {
	display: block;
	padding: 8px 14px;
	color: #fff;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .3px;
}

.primary-menu li a:hover,
.primary-menu li.current-menu-item > a {
	color: #ec008c;
}

.primary-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
	z-index: 999;
	padding: 6px 0;
}

.primary-menu li:hover > .sub-menu { display: block; }

.primary-menu .sub-menu li a { color: #575757; padding: 8px 16px; }
.primary-menu .sub-menu li a:hover { color: #ec008c; }

.slid-hgt { height: 105px; }

/* --------------------------------------------------------------------------
   5. Hero Slider
   The original template relied on a separate slideshow module whose CSS was
   not part of this template package, so this section has been rebuilt from
   scratch to match the screenshot (full-width fade slider with side arrows).
   -------------------------------------------------------------------------- */
.hero-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	line-height: 0;
}

.hero-slider .slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity .8s ease-in-out;
}

.hero-slider .slide.is-active { position: relative; opacity: 1; z-index: 2; }

.hero-slider .slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero-slider .slide-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	background: rgba(255, 255, 255, .6);
	border: 0;
	width: 40px;
	height: 40px;
	font-size: 20px;
	line-height: 40px;
	text-align: center;
	cursor: pointer;
	color: #575757;
}

.hero-slider .slide-arrow:hover { background: #ec008c; color: #fff; }
.hero-slider .slide-prev { left: 15px; }
.hero-slider .slide-next { right: 15px; }

/* --------------------------------------------------------------------------
   6. Main content wrap / Welcome block
   -------------------------------------------------------------------------- */
.main-content-wrap { min-height: 450px; text-align: center; }

.welcome-block { text-align: center; }

.welcome-block .welcome-text {
	text-align: center;
	padding: 0 15%;
	font: 300 18px/24px 'Open Sans', sans-serif;
	color: #ec008c;
}

/* --------------------------------------------------------------------------
   7. Service blocks (the 4 image blocks below the slider)
   -------------------------------------------------------------------------- */
.service-blocks img {
	width: 100%;
	border: 1px solid #d5d5d5;
	padding: 5px;
}

.service-blocks .service-block { margin-bottom: 15px; }

/* --------------------------------------------------------------------------
   8. Tours section
   Card markup/classes kept identical to the original template so the
   separate tours shortcode/plugin can reuse this same shared stylesheet.
   -------------------------------------------------------------------------- */
.tours-section { text-align: center; }

.gdl-blog-list .blog-title { text-align: center; }
.gdl-blog-list img { width: 100%; display: block; }

.blog-media-wrapper { position: relative; }
.blog-media-wrapper img { z-index: 1; }

.package-ribbon-wrapper {
	width: 100px;
	float: right;
	margin-right: -5px;
	margin-top: -40px;
	position: relative;
	z-index: 3;
}

.package-type {
	background: #1d86c8;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 10px;
	position: relative;
	z-index: 2;
}

.package-type a { color: #fff; }

.package-title-wrapper { margin-top: 10px; }

.blog-title {
	font-size: 18px;
	margin: 0;
}

.blog-title a { color: #f7941e; }
.blog-title a:hover { color: #ec008c; }

.package-info { display: none; }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.footer {
	color: #fff;
	width: 100%;
	background: #e3bb4d;
	padding: 17px 0 14px;
}

.footer, .footer a, .footer a:hover { color: #fff; }

.footer-logo img { display: inline-block; }

.footer-copy { text-align: right; }

/* --------------------------------------------------------------------------
   10. Responsive
   -------------------------------------------------------------------------- */
@media screen and (min-width: 240px) and (max-width: 980px) {
	.wrap { width: calc(100% - 30px); margin: 0 15px; }

	.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
	.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
		width: 100% !important;
		display: block;
		float: left !important;
		margin: 10px 0;
	}

	.main-bd { position: relative; }

	.slid-hgt { height: 0; }

	.site-nav { margin-top: 0; text-align: center; }

	.primary-menu { justify-content: center; }

	.welcome-block .welcome-text { padding: 0 5%; }

	.footer-copy { text-align: center; }

	.hero-slider .slide { height: 260px !important; }
}

@media screen and (min-width: 981px) and (max-width: 1024px) {
	.primary-menu li a { padding: 8px 10px; font-size: 14px; }
}
