/* Design Token Architecture Variables */
:root {
	--clr-cream: #F8F6F1;
	--clr-orange: #F45D22;
	--clr-orange-hover: #d34a17;
	--clr-black: #111111;
	--clr-white: #FFFFFF;
	--clr-gray-slate: #334155;
	--clr-gray-light: #e2e8f0;
	--clr-gray-text: #6b7280;
	--clr-footer-bg: #ECE7D9; /* Warm cream-beige light color matching theme */
	
	/* Shadows */
	--shadow-soft: 0 10px 30px rgba(17, 17, 17, 0.1);
	--shadow-medium: 0 12px 35px rgba(17, 17, 17, 0.15);
	--shadow-button: 0 4px 12px rgba(244, 93, 34, 0.2);
	--shadow-button-hover: 0 6px 16px rgba(244, 93, 34, 0.3);
}

/* Base Body Background styling */
body {
	background-color: #f5f9fa !important;
}

/* Hide Animation Pack's default overridden header layout */
.ap-site-header {
	display: none !important;
}

/* Reset default site header container heights or overrides */
.site-header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	z-index: 999 !important;
	background: #f4f8f9 !important;
	border: none !important;
	box-shadow: none !important;
	padding: 20px 0 !important;
	transition: padding 0.3s ease !important;
}

/* Scrolled state styles */
.site-header.header-scrolled {
	padding: 10px 0 !important;
}

.site-header.header-scrolled .custom-header-container {
	padding: 8px 24px;
	box-shadow: var(--shadow-medium);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

/* Set float margins and spacing */
.custom-header-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	width: 100%;
}

.custom-header-container {
	background: var(--clr-white);
	border-radius: 100px;
	padding: 12px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: var(--shadow-soft);
	transition: all 0.3s ease;
	border: 1px solid rgba(17, 17, 17, 0.05);
	position: relative;
}

/* Logo Styles */
.custom-header-logo {
	display: flex;
	align-items: center;
}

.custom-logo-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none !important;
}

.logo-icon-circle {
	background-color: var(--clr-orange);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 10px rgba(244, 93, 34, 0.25);
}

.logo-icon-circle svg {
	width: 24px;
	height: 24px;
	color: var(--clr-white);
}

.logo-text {
	font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 24px;
	font-weight: 800;
	color: var(--clr-black);
	letter-spacing: -0.3px;
}

/* Navigation Menu Styles */
.custom-header-nav {
	display: flex;
	align-items: center;
}

.custom-nav-menu {
	display: flex;
	align-items: center;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 28px;
}

.custom-nav-menu li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.custom-nav-menu li a {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: var(--clr-black);
	text-decoration: none !important;
	transition: color 0.2s ease;
	position: relative;
	padding: 6px 0;
}

.custom-nav-menu li a:hover {
	color: var(--clr-orange);
}

/* Current / Active link */
.custom-nav-menu li.hike-current-menu-item a,
.custom-nav-menu li.current_page_item a {
	color: var(--clr-orange);
}

/* CTA Button Styles */
.custom-btn-book {
	background-color: var(--clr-orange);
	color: var(--clr-white) !important;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 22px;
	border-radius: 50px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none !important;
	transition: all 0.3s ease;
	box-shadow: var(--shadow-button);
}

.custom-btn-book:hover {
	background-color: var(--clr-orange-hover);
	transform: translateY(-1px);
	box-shadow: var(--shadow-button-hover);
}

.btn-arrow {
	display: flex;
	align-items: center;
	transition: transform 0.2s ease;
}

.custom-btn-book:hover .btn-arrow {
	transform: translateX(3px);
}

/* Mobile Toggle Styles */
.custom-mobile-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
	z-index: 1001;
}

.custom-mobile-toggle .bar {
	display: block;
	width: 22px;
	height: 2.5px;
	background-color: var(--clr-black);
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* Responsive Mobile Dropdown Styles */
.custom-mobile-menu-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: var(--clr-white);
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--shadow-medium);
	margin-top: 12px;
	border: 1px solid rgba(17, 17, 17, 0.05);
	transform: translateY(-10px);
	opacity: 0;
	transition: all 0.3s ease;
	pointer-events: none;
	z-index: 998;
}

/* Mobile active state classes */
.site-header.nav-active .custom-mobile-menu-dropdown {
	display: block;
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.site-header.nav-active .custom-mobile-toggle .bar:nth-child(1) {
	transform: translateY(7.5px) rotate(45deg);
}

.site-header.nav-active .custom-mobile-toggle .bar:nth-child(2) {
	opacity: 0;
}

.site-header.nav-active .custom-mobile-toggle .bar:nth-child(3) {
	transform: translateY(-7.5px) rotate(-45deg);
}

.custom-mobile-nav-menu {
	display: flex;
	flex-direction: column;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 20px 0 !important;
	gap: 16px;
}

.custom-mobile-nav-menu li {
	margin: 0 !important;
	list-style: none !important;
}

.custom-mobile-nav-menu li a {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--clr-black);
	text-decoration: none !important;
	display: block;
	padding: 8px 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.03);
}

.custom-mobile-nav-menu li a:hover,
.custom-mobile-nav-menu li.hike-current-menu-item a {
	color: var(--clr-orange);
}

.custom-mobile-menu-action {
	text-align: center;
}

.custom-mobile-menu-action .custom-btn-book {
	width: 100%;
	justify-content: center;
}

/* Media Queries for Responsiveness */
@media (max-width: 991px) {
	.custom-header-nav,
	.custom-header-action {
		display: none;
	}
	
	.custom-mobile-toggle {
		display: flex;
	}
}

/* ==========================================================================
   Custom Dark Footer Styles
   ========================================================================== */

.ap-site-footer {
	display: none !important;
}

.custom-footer-main {
	background-color: var(--clr-footer-bg); /* Warm cream-beige light color matching theme */
	color: #5A544E; /* Warm slate-brown readable on cream-beige */
	padding: 80px 0 30px 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	position: relative;
	overflow: hidden;
}

.custom-footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 2;
}

.custom-footer-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	justify-content: space-between;
}

.custom-footer-col {
	flex: 1 1 220px;
}

.custom-footer-col.col-info {
	flex: 1 1 300px;
}

.custom-footer-logo {
	margin-bottom: 20px;
}

.custom-footer-logo-fallback {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-logo-leaf {
	color: var(--clr-orange); /* Highlight color */
	fill: var(--clr-orange) !important; /* Force orange color over SVG inline fill */
}

.custom-footer-logo .logo-text {
	color: var(--clr-black) !important;
	font-size: 20px;
	font-weight: 800;
	font-family: 'Inter', sans-serif;
}

.custom-footer-desc {
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 24px;
	color: #5A544E;
}

/* Social Tiles */
.custom-footer-socials {
	display: flex;
	gap: 12px;
}

.social-tile {
	background-color: rgba(17, 17, 17, 0.05); /* Subtle dark container for light background */
	color: var(--clr-black) !important;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.social-tile:hover {
	background-color: var(--clr-orange); /* Orange highlight */
	color: var(--clr-white) !important;
	transform: translateY(-2px);
}

/* Nav Columns */
.custom-footer-title {
	color: var(--clr-black) !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 10px;
	font-family: 'Inter', sans-serif;
}

.custom-footer-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 2px;
	background-color: var(--clr-orange); /* Orange underline */
}

.footer-links-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-links-list li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.footer-links-list li a {
	color: #5A544E !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease, padding-left 0.2s ease;
	display: inline-block;
}

.footer-links-list li a:hover {
	color: var(--clr-orange) !important; /* Link Hover Orange */
	padding-left: 4px;
}

/* Working Hours & Emergency */
.hours-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 25px 0 !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hours-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #5A544E;
	margin: 0 !important;
}

.hours-icon {
	color: var(--clr-orange); /* Orange icons */
	display: flex;
	align-items: center;
}

.title-emergency {
	margin-bottom: 15px;
	padding-bottom: 0;
}

.title-emergency::after {
	display: none;
}

.emergency-button {
	background-color: rgba(244, 93, 34, 0.1);
	border: 1px solid rgba(244, 93, 34, 0.25);
	color: var(--clr-orange) !important; /* Orange text */
	padding: 12px 24px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
	transition: all 0.3s ease;
	font-family: 'Inter', sans-serif;
}

.emergency-button:hover {
	background-color: var(--clr-orange);
	color: var(--clr-white) !important;
	box-shadow: var(--shadow-button-hover);
	transform: translateY(-2px);
}

.phone-icon {
	display: flex;
	align-items: center;
}

/* Big Backdrop Watermark Text */
.footer-watermark-text {
	position: absolute;
	bottom: 60px;
	left: 50%;
	transform: translateX(-50%);
	font-size: clamp(40px, 8vw, 100px);
	font-weight: 900;
	color: #e13d0036 !important; /* Themed red-orange with low opacity */
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
	width: 100%;
	text-align: center;
	z-index: 1;
}

.footer-divider {
	border: 0;
	height: 1px;
	background: rgba(17, 17, 17, 0.08); /* Darker subtle divider line */
	margin: 60px 0 25px 0;
	position: relative;
	z-index: 2;
}

/* Bottom Copyright Bar */
.custom-footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	font-size: 13px;
	color: #78716c; /* Warm stone-gray */
	position: relative;
	z-index: 2;
}

.footer-bottom-links {
	display: flex;
	gap: 10px;
	align-items: center;
}

.footer-bottom-links a {
	color: #78716c !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
	color: var(--clr-orange) !important; /* Orange hover for footer bottom links */
}

.separator {
	color: rgba(17, 17, 17, 0.1);
}

/* Media Queries */
@media (max-width: 768px) {
	.custom-footer-grid {
		flex-direction: column;
		gap: 35px;
	}

	.custom-footer-bottom {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.custom-footer-main {
		padding: 50px 0 30px 0;
	}
	
	.footer-divider {
		margin: 40px 0 20px 0;
	}
}

/* ==========================================================================
   Header Auth Buttons: Login / Register / User Avatar
   ========================================================================== */

.custom-header-action {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* ==========================================================================
   Auth Pill Button: [ Login | Sign Up ]  — single pill, two links, one divider
   ========================================================================== */

/* Outer pill — single orange unit */
.auth-pill-btn {
	display: inline-flex;
	align-items: center;
	height: 42px;
	border-radius: 50px;
	overflow: hidden;
	background-color: var(--clr-orange);
	box-shadow: var(--shadow-button);
	flex-shrink: 0;
}

/* Left link — Login */
.auth-pill-login {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 20px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--clr-white) !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.auth-pill-login:hover {
	background: rgba(0, 0, 0, 0.12);
	color: var(--clr-white) !important;
}

/* Vertical divider line */
.auth-pill-divider {
	display: block;
	width: 1px;
	height: 18px;
	background: rgba(255, 255, 255, 0.4);
	flex-shrink: 0;
}

/* Right link — Sign Up */
.auth-pill-signup {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 20px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--clr-white) !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.auth-pill-signup:hover {
	background: rgba(0, 0, 0, 0.12);
	color: var(--clr-white) !important;
}

/* Mobile: full width */
.auth-pill-mobile {
	width: 100%;
	margin-top: 16px;
	height: 48px;
}

.auth-pill-mobile .auth-pill-login,
.auth-pill-mobile .auth-pill-signup {
	flex: 1;
	font-size: 15px;
}

/* Hide desktop pill on mobile — mobile version lives in dropdown */
@media (max-width: 991px) {
	.auth-pill-btn:not(.auth-pill-mobile) {
		display: none;
	}
}


/* Logged-in user avatar pill */
.header-user-avatar {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none !important;
	padding: 4px 14px 4px 4px;
	border-radius: 50px;
	border: 1.5px solid rgba(17, 17, 17, 0.08);
	transition: all 0.25s ease;
	background: rgba(248, 246, 241, 0.8);
}

.header-user-avatar:hover {
	border-color: var(--clr-orange);
	background: rgba(244, 93, 34, 0.05);
}

.header-avatar-img {
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	object-fit: cover;
}

.header-user-name {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--clr-black);
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Mobile auth links */
.mobile-auth-links {
	display: flex;
	gap: 10px;
	margin-top: 16px;
	flex-wrap: wrap;
}

.mobile-auth-login,
.mobile-auth-register,
.mobile-auth-logout {
	flex: 1;
	text-align: center;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	padding: 11px 16px;
	border-radius: 50px;
	transition: all 0.25s ease;
}

.mobile-auth-login {
	color: var(--clr-black) !important;
	border: 1.5px solid rgba(17, 17, 17, 0.15);
}

.mobile-auth-login:hover {
	border-color: var(--clr-orange);
	color: var(--clr-orange) !important;
}

.mobile-auth-register {
	color: var(--clr-white) !important;
	background-color: var(--clr-orange);
	border: 1.5px solid var(--clr-orange);
}

.mobile-auth-register:hover {
	background-color: var(--clr-orange-hover);
}

.mobile-auth-dashboard {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	text-decoration: none !important;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--clr-black) !important;
	padding: 8px 12px;
	border-radius: 50px;
	border: 1.5px solid rgba(17, 17, 17, 0.12);
}

.mobile-auth-logout {
	color: #dc2626 !important;
	border: 1.5px solid rgba(220, 38, 38, 0.2);
	background: rgba(220, 38, 38, 0.04);
}

/* Hide auth from desktop nav on mobile */
@media (max-width: 991px) {
	.header-auth-links,
	.header-user-avatar {
		display: none;
	}
}

/* ==========================================================================
   Login & Register Page Styles — NOW IN custom-auth.css
   ========================================================================== */

/* Fix button line-height for LearnPress / EduBlink sidebar buttons */
body .edublink-course-details-sidebar-content .masterstudy-buy-button a.masterstudy-buy-button__link,
.edublink-course-details-sidebar-content .stm-lms-buy-buttons .stm_lms_mixed_button.subscription_disabled .btn_big,
.edublink-course-details-sidebar-content .stm-lms-buy-buttons a,
.edublink-course-details-sidebar-content .tutor-add-to-cart-button,
a.course-sidebar-btn,
.eb-tl-course-complete,
.eb-tl-enroll-btn,
body #learn-press-profile-basic-information button[type=submit],
body .profile-basic-information button,
body form[name=profile-change-password] button,
body #popup-content .lp-button,
body.learnpress-page .lp-button,
body.learnpress-page #lp-button,
body #checkout-payment #checkout-order-action button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	line-height: 30px;
}

/* Override wishlist/sidebar button hover */
.edublink-course-details-sidebar button:hover {
	width: 100% !important;
	background: transparent !important;
}

/* Wishlist button alignment fix */
.hike-guest-wishlist,
.wishlist-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100% !important;
	text-align: center !important;
	margin-top: 10px !important;
	padding: 12px 20px !important;
	border-radius: 50px !important;
	border: 1.5px solid #e5e7eb !important;
	background: transparent !important;
	color: #6b7280 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	font-family: 'Inter', sans-serif !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease, color 0.2s ease !important;
}
.hike-guest-wishlist:hover,
.wishlist-button:hover {
	border-color: #f59e0b !important;
	color: #f59e0b !important;
	background: transparent !important;
	transform: none !important;
	box-shadow: none !important;
}

/* Fix content going behind fixed header — add top padding to body */
body {
	padding-top: 90px !important;
}

@media (max-width: 991px) {
	body {
		padding-top: 80px !important;
	}
}

/* Hide decorative shape elements from course pages */
.edu-course-details-area .shape-group,
.edu-course-details-area .shape-group li,
.edublink-course-details-page .shape-group,
.edublink-course-details-page .shape-group li,
.course-details-content .shape-group,
.edu-breadcrumb-area .shape-group,
.edu-breadcrumb-area .shape-group li,
.shape-group {
	display: none !important;
}

/* Hide decorative elements on desktop */
@media (min-width: 1200px) {
	.edublink-d-xl-block {
		display: none !important;
	}
}

/* User Profile Header Dropdown Menu Styles */
.header-user-dropdown-container {
	position: relative;
	display: inline-block;
}

.header-user-dropdown-menu {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	background: var(--clr-white);
	border: 1px solid rgba(17, 17, 17, 0.08);
	box-shadow: var(--shadow-medium);
	border-radius: 12px;
	padding: 8px 0;
	min-width: 190px;
	z-index: 1000;
	margin-top: 8px;
}

.header-user-dropdown-menu::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -10px;
	height: 10px;
	background: transparent;
}

.header-user-dropdown-container:hover .header-user-dropdown-menu {
	display: block;
}

.header-user-dropdown-menu li {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.header-user-dropdown-menu li a {
	display: block !important;
	padding: 10px 16px !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--clr-black) !important;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease !important;
	text-align: left !important;
}

.header-user-dropdown-menu li a:hover {
	background: rgba(244, 93, 34, 0.05) !important;
	color: var(--clr-orange) !important;
}

.header-user-dropdown-menu li.divider {
	height: 1px;
	background: rgba(17, 17, 17, 0.06);
	margin: 6px 0 !important;
}
