/*
 * ABP Transport Booking Demo — child theme styles.
 * Wraps the ABP plugin output into a professional landing experience.
 */

/* ---------- Shortcode copy box ---------- */
.abptb_demo_box {
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: 12px;
	padding: 16px 18px;
	margin: 26px 0 8px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}
.abptb_demo_head {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.abptb_demo_head b {
	color: #e2e8f0;
	font-size: 13px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}
.abptb_demo_copy {
	background: #2563eb;
	border: none;
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	padding: 7px 16px;
	border-radius: 8px;
	cursor: pointer;
	-webkit-transition: background 0.2s ease;
	transition: background 0.2s ease;
}
.abptb_demo_copy:hover {
	background: #1d4ed8;
}
.abptb_demo_note {
	color: #94a3b8;
	font-size: 13px;
	margin: 0 0 10px;
	line-height: 1.6;
}
.abptb_demo_code {
	margin: 0;
	padding: 14px 16px;
	background: #0b1220;
	border: 1px solid #1e293b;
	border-radius: 8px;
	overflow-x: auto;
}
.abptb_demo_code code {
	font-family: 'Consolas', 'Monaco', monospace;
	font-size: 13px;
	color: #67e8f9;
	white-space: pre-wrap;
	word-break: break-word;
}
.abptb_demo_preview {
	margin-top: 14px;
}

/* ---------- Hero ---------- */
.abptb_hero {
	position: relative;
	background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
	background-size: cover;
	background-position: center;
	color: #f8fafc;
	text-align: center;
	padding: 110px 20px 120px;
	border-radius: 16px;
	overflow: hidden;
	margin: 34px 0 40px;
}
.abptb_hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 42%),
		radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.25), transparent 50%);
	pointer-events: none;
}
.abptb_hero > * {
	position: relative;
	z-index: 1;
}
.abptb_hero h1 {
	font-size: 42px;
	line-height: 1.15;
	margin: 0 0 16px;
	color: #ffffff;
}
.abptb_hero p {
	font-size: 18px;
	line-height: 1.7;
	color: #cbd5e1;
	max-width: 640px;
	margin: 0 auto 30px;
}
.abptb_hero .abptb_hero_btns {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	gap: 14px;
}
.abptb_btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	-webkit-transition: -webkit-transform 0.2s ease, box-shadow 0.2s ease;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.abptb_btn_primary {
	background: #f59e0b;
	color: #0f172a;
	box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}
.abptb_btn_primary:hover {
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(245, 158, 11, 0.4);
	color: #0f172a;
}
.abptb_btn_ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
	border: 1px solid rgba(255, 255, 255, 0.28);
}
.abptb_btn_ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

/* ---------- Section headings ---------- */
.abptb_section {
	padding: 30px 0;
}
.abptb_section_center {
	text-align: center;
}
.abptb_section h2 {
	font-size: 32px;
	color: #0f172a;
	margin: 0 0 12px;
}
.abptb_section_sub {
	color: #475569;
	font-size: 16px;
	line-height: 1.7;
	max-width: 560px;
	margin: 0 auto;
}

/* ---------- Feature grid ---------- */
.abptb_features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 34px;
}
.abptb_feature {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 26px 22px;
	-webkit-transition: box-shadow 0.25s ease, -webkit-transform 0.25s ease;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.abptb_feature:hover {
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	-webkit-transform: translateY(-4px);
	transform: translateY(-4px);
}
.abptb_feature_icon {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: #eff6ff;
	color: #2563eb;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 16px;
}
.abptb_feature h3 {
	font-size: 18px;
	color: #0f172a;
	margin: 0 0 8px;
}
.abptb_feature p {
	font-size: 14.5px;
	color: #475569;
	line-height: 1.7;
	margin: 0;
}

/* ---------- BUY PRO menu highlight ---------- */
.main-header-menu .abp_buy_pro > .menu-link,
.ast-header-break-point .menu-item.abp_buy_pro > a {
	background: #f59e0b;
	color: #0f172a !important;
	border-radius: 8px;
	padding: 8px 18px !important;
	font-weight: 700;
	-webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
	transition: background 0.2s ease, transform 0.2s ease;
}
.main-header-menu .abp_buy_pro > .menu-link:hover,
.ast-header-break-point .menu-item.abp_buy_pro > a:hover {
	background: #d97706;
	color: #ffffff !important;
	-webkit-transform: translateY(-1px);
	transform: translateY(-1px);
}

/* ---------- Quick action buttons ---------- */
.abptb_quick_links {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
	-webkit-justify-content: center;
	justify-content: center;
}
.abptb_quick_link {
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	color: #4338ca;
	border-radius: 999px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.abptb_quick_link:hover {
	background: #4338ca;
	color: #ffffff;
	border-color: #4338ca;
}

/* ---------- Home intro ---------- */
.abptb_home_booking {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 30px;
	margin: 34px 0;
}

/* ---------- Astra page width tweaks ---------- */
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.abptb_page_wrap {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Footer ---------- */
.abptb_footer_note {
	background: #0f172a;
	color: #94a3b8;
	border-radius: 12px;
	padding: 18px 22px;
	margin: 50px 0 10px;
	font-size: 13.5px;
	line-height: 1.7;
}
.abptb_footer_note b {
	color: #e2e8f0;
}
.abptb_footer_note a {
	color: #93c5fd;
	text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.abptb_features {
		grid-template-columns: repeat(2, 1fr);
	}
	.abptb_hero h1 {
		font-size: 32px;
	}
}
@media (max-width: 600px) {
	.abptb_features {
		grid-template-columns: 1fr;
	}
	.abptb_hero {
		padding: 70px 14px 80px;
	}
}