/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* Header - Absolute position to overlap the slider */
#header {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	background-color: transparent !important;
	border-bottom: none !important;
	box-shadow: none !important;
	z-index: 1001;
	transition: all 0.4s ease;
}

#header-wrap {
	background-color: transparent !important;
	height: 100px;
	transition: all 0.4s ease;
}

/* Container for Header Content */
.container-full {
	padding: 0 4%;
	width: 100%;
}

/* Header Row Alignment - Ensures logo and menu are perfectly side-by-side */
.header-row {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: space-between !important;
	align-items: center !important;
	height: 100% !important;
}

/* Sticky Header State */
#header.sticky-header,
#header.sticky-header #header-wrap {
	background-color: #ffffff !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
	position: fixed !important;
}

.sticky-header #header-wrap {
	height: 80px;
}

#logo {
	display: flex !important;
	align-items: center !important;
	flex-shrink: 0 !important;
	margin-right: 40px !important;
}

#logo img {
	height: 70px;
	padding: 5px 0;
	transition: height 0.4s ease;
}

.sticky-header #logo img {
	height: 55px;
}

/* Navigation - Desktop Alignment */
.primary-menu {
	display: flex !important;
	align-items: center !important;
	flex-grow: 1 !important;
	justify-content: flex-end !important;
}

.primary-menu .menu-container {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-end !important;
	padding: 0 !important;
	margin: 0 !important;
}

.primary-menu .menu-container>.menu-item {
	margin: 0 12px;
	list-style: none;
}

.primary-menu .menu-container>.menu-item>.menu-link {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	font-size: 11px;
	color: #ffffff !important;
	padding: 0 !important;
	transition: all 0.3s ease;
	line-height: 100px;
	height: 100px;
	display: flex !important;
	align-items: center !important;
	text-align: center;
	background-color: transparent !important;
	border: none !important;
	white-space: nowrap !important;
	position: relative;
}

.sticky-header .primary-menu .menu-container>.menu-item>.menu-link {
	color: #333333 !important;
	line-height: 80px;
	height: 80px;
}

/* Hover/Active States */
.primary-menu .menu-container>.current>.menu-link,
.primary-menu .menu-container>.menu-item:hover>.menu-link {
	color: #DE6262 !important;
}

/* Underline Indicator */
.primary-menu .menu-container>.menu-item>.menu-link::after {
	content: '';
	position: absolute;
	bottom: 30px;
	left: 50%;
	width: 0;
	height: 2px;
	background-color: #DE6262;
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.sticky-header .primary-menu .menu-container>.menu-item>.menu-link::after {
	bottom: 20px;
}

.primary-menu .menu-container>.menu-item:hover>.menu-link::after,
.primary-menu .menu-container>.current>.menu-link::after {
	width: 20px;
}

/* --- Banner (Slider) --- */
#slider {
	background-color: #111;
}

/* Slider Overlay */
.swiper-slide::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75) !important;
	z-index: 2;
}

.swiper-slide-bg {
	background-size: cover;
	background-position: center center;
	z-index: 1;
}

.slider-caption {
	z-index: 10;
	max-width: 900px !important;
}

.slider-caption h2 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: 4.8rem;
	line-height: 1.1;
	color: #ffffff;
	text-transform: uppercase;
	letter-spacing: -1px;
	margin-bottom: 25px;
	text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.slider-caption p {
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 1.4rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: 35px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slider-caption .button {
	background-color: #DE6262;
	border: none;
	border-radius: 4px;
	padding: 16px 45px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #fff;
	text-transform: uppercase;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.slider-caption .button:hover {
	background-color: #ffffff;
	color: #DE6262;
	transform: translateY(-5px);
}

/* --- MOBILE STYLES --- */
@media (max-width: 991px) {
	.header-row {
		justify-content: center !important;
		/* Center the logo container */
		position: relative !important;
	}

	#logo {
		margin-right: 0 !important;
		flex-grow: 0 !important;
		margin-left: auto;
		margin-right: auto;
	}

	#logo img {
		height: 50px;
	}

	#header-wrap {
		height: 80px;
	}

	/* Hamburger Trigger on Top Right */
	#primary-menu-trigger {
		display: block !important;
		position: absolute !important;
		right: 15px !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		margin: 0 !important;
		cursor: pointer;
		z-index: 1002;
	}

	.svg-trigger path {
		stroke: #ffffff !important;
		/* White icon on dark/transparent */
	}

	.sticky-header .svg-trigger path {
		stroke: #333333 !important;
		/* Dark icon on white sticky */
	}

	/* Mobile Menu container */
	.primary-menu .menu-container {
		display: none;
		/* Hidden by default */
		flex-direction: column !important;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: #ffffff !important;
		border-top: 1px solid #eee;
		padding: 20px 0 !important;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	}

	/* Show menu when trigger is clicked (Handled by theme JS usually, but ensuring styles) */
	body.primary-menu-open .primary-menu .menu-container {
		display: flex !important;
	}

	.primary-menu .menu-container>.menu-item {
		margin: 0 !important;
		width: 100%;
		text-align: left;
	}

	.primary-menu .menu-container>.menu-item>.menu-link {
		color: #333333 !important;
		line-height: 50px !important;
		height: 50px !important;
		padding: 0 25px !important;
		justify-content: flex-start !important;
		border-bottom: 1px solid #f9f9f9;
	}

	.primary-menu .menu-container>.menu-item>.menu-link::after {
		display: none;
		/* Hide underline on mobile */
	}

	/* Slider Responsive */
	.slider-caption h2 {
		font-size: 2.5rem;
	}

	.slider-caption p {
		font-size: 1.1rem;
	}
}

@media (max-width: 767px) {
	.container-full {
		padding: 0 15px;
	}

	.slider-caption h2 {
		font-size: 2rem;
	}
}