/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Astra child theme powering the ABP Tour and Travel plugin demo site.
Author: ABP Team
Author URI: https://abp-team.com
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

/* ==========================================================================
   ABP Tour and Travel - demo site styles
   Generic ABP demo classes (abp_*) used by the child theme hero/sections.
   ========================================================================== */

/* ---------- Astra tweaks for the demo ---------- */

/* Header logo: fixed height, single line */
.site-logo-img img,
.ast-site-identity .site-logo-img img,
.custom-logo {
	height: 56px !important;
	max-height: 56px !important;
	width: auto !important;
	vertical-align: middle;
}

/* Header menu: compact line height */
.main-header-menu li a,
.main-header-menu .sub-menu li a,
.ast-nav-menu > li > a,
.ast-builder-menu .main-header-menu li a,
.ast-header-break-point .main-header-menu li a,
.ast-mobile-header-wrap .main-header-menu li a,
.ast-menu-toggle {
	line-height: 1 !important;
}

/* Hide the page title on demo pages (sections provide their own headings) */
.abptt-demo-page .entry-header,
.abptt-demo-front .entry-header {
	display: none !important;
}

/* Highlight the Buy Pro menu item */
.main-header-menu li.btn-buy-pro > a,
.ast-builder-menu li.btn-buy-pro > a,
.menu-item.btn-buy-pro > a {
	background: #f59e0b;
	color: #ffffff !important;
	border-radius: 6px;
	padding: 10px 18px !important;
	line-height: 1.2 !important;
}
.main-header-menu li.btn-buy-pro > a:hover,
.menu-item.btn-buy-pro > a:hover {
	background: #d97706;
	color: #ffffff !important;
}

/* ---------- Sticky header (main menu) ---------- */
#masthead {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 999;
}
#masthead .ast-primary-header-bar {
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) {
	.admin-bar #masthead { top: 46px; }
}

/* ---------- Shortcode demo box (dark card + code + copy) ---------- */
.abp_demo_box {
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: 12px;
	padding: 16px 18px;
	margin: 26px 0 18px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}
.abp_demo_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.abp_demo_head b {
	color: #e2e8f0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}
.abp_demo_copy {
	background: #0891b2;
	border: none;
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.3px;
	padding: 7px 16px;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease;
}
.abp_demo_copy:hover { background: #0e7490; }
.abp_demo_desc {
	color: #94a3b8;
	font-size: 13px;
	line-height: 1.6;
	margin: 0 0 12px;
}
.abp_demo_desc code { background: rgba(148, 163, 184, 0.12); color: #e2e8f0; padding: 1px 5px; border-radius: 4px; }
.abp_demo_code {
	margin: 0;
	padding: 14px 16px;
	background: #0b1220;
	border: 1px solid #1e293b;
	border-radius: 8px;
	overflow-x: auto;
}
.abp_demo_code code {
	background: transparent;
	border: none;
	color: #67e8f9;
	font-family: 'Consolas', 'Monaco', monospace;
	font-size: 13px;
	padding: 0;
	white-space: pre-wrap;
	word-break: break-word;
}
.abp_demo_preview { margin-top: 18px; }

/* ---------- Landing sections (injected by the child theme) ---------- */
.abp_hero {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	padding: 64px 28px;
	margin: 34px 0 40px;
	text-align: center;
	color: #f8fafc;
	background: linear-gradient(135deg, #0f172a 0%, #155e75 55%, #0891b2 100%);
}
.abp_hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.08), transparent 42%),
		radial-gradient(circle at 82% 72%, rgba(8, 145, 178, 0.32), transparent 50%);
	pointer-events: none;
}
.abp_hero > * { position: relative; z-index: 1; }
.abp_hero_badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #cffafe;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
}
.abp_hero h1 {
	font-size: 42px;
	line-height: 1.15;
	margin: 0 0 16px;
	color: #ffffff;
}
.abp_hero p {
	font-size: 18px;
	line-height: 1.7;
	color: #cbd5e1;
	max-width: 680px;
	margin: 0 auto 30px;
}
.abp_hero_btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}
.abp_btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.abp_btn_primary {
	background: #f59e0b;
	color: #0f172a;
	box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}
.abp_btn_primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(245, 158, 11, 0.4);
	color: #0f172a;
}
.abp_btn_ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
	border: 1px solid rgba(255, 255, 255, 0.28);
}
.abp_btn_ghost:hover { background: rgba(255, 255, 255, 0.16); color: #ffffff; }
.abp_btn_outline {
	background: #ffffff;
	color: #0e7490;
	border: 1px solid #a5f3fc;
}
.abp_btn_outline:hover { background: #ecfeff; color: #0e7490; }
.abp_section { padding: 34px 0; }
.abp_section_center { text-align: center; }
.abp_section h2 { font-size: 32px; color: #0f172a; margin: 0 0 12px; }
.abp_section_sub {
	color: #475569;
	font-size: 16px;
	line-height: 1.7;
	max-width: 660px;
	margin: 0 auto;
}
.abp_cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 34px;
	text-align: left;
}
.abp_card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 22px 20px;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.abp_card:hover { box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1); transform: translateY(-4px); }
.abp_card_code {
	display: inline-block;
	background: #0f172a;
	color: #67e8f9;
	font-family: 'Consolas', 'Monaco', monospace;
	font-size: 12.5px;
	padding: 6px 10px;
	border-radius: 8px;
	margin-bottom: 14px;
}
.abp_card h3 { font-size: 17px; color: #0f172a; margin: 0 0 8px; }
.abp_card p { font-size: 14px; color: #475569; line-height: 1.65; margin: 0 0 14px; }
.abp_card_link { font-size: 14px; font-weight: 600; color: #0891b2; text-decoration: none; }
.abp_card_link:hover { color: #0e7490; text-decoration: underline; }
.abp_features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 34px;
	text-align: left;
}
.abp_feature {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 26px 22px;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.abp_feature:hover { box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1); transform: translateY(-4px); }
.abp_feature_icon {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: #ecfeff;
	color: #0891b2;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
}
.abp_feature_icon svg { width: 26px; height: 26px; }
.abp_feature h3 { font-size: 18px; color: #0f172a; margin: 0 0 8px; }
.abp_feature p { font-size: 14.5px; color: #475569; line-height: 1.7; margin: 0; }

/* ---------- Workflow steps ---------- */
.abp_flow {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 42px;
	text-align: left;
}
.abp_flow_step {
	position: relative;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 32px 24px 24px;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.abp_flow_step:hover { box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1); transform: translateY(-4px); }
.abp_flow_num {
	position: absolute;
	top: -18px;
	left: 24px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0891b2, #155e75);
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(8, 145, 178, 0.35);
}
.abp_flow_step h3 { font-size: 18px; color: #0f172a; margin: 0 0 8px; }
.abp_flow_step p { font-size: 14.5px; color: #475569; line-height: 1.7; margin: 0; }
.abp_flow_note {
	margin: 26px auto 0;
	max-width: 760px;
	font-size: 14px;
	font-weight: 600;
	color: #0891b2;
}

/* ---------- Free vs Pro ---------- */
.abp_compare {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	margin-top: 36px;
	text-align: left;
}
.abp_plan {
	position: relative;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 30px 26px;
}
.abp_plan_pro { border-color: #0891b2; box-shadow: 0 18px 46px rgba(8, 145, 178, 0.14); }
.abp_plan_tag {
	position: absolute;
	top: -13px;
	right: 22px;
	background: #0891b2;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 999px;
}
.abp_plan h3 { font-size: 22px; color: #0f172a; margin: 0 0 6px; }
.abp_plan_sub { color: #64748b; font-size: 14px; margin: 0 0 18px; }
.abp_plan .abp_plan_list { list-style: none; margin: 0 0 22px; padding: 0; }
.abp_plan .abp_plan_list li {
	position: relative;
	list-style: none;
	margin: 0 0 10px;
	padding: 0 0 0 30px;
	font-size: 14.5px;
	color: #334155;
	line-height: 1.55;
}
.abp_plan .abp_plan_list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	color: #16a34a;
	font-weight: 700;
	line-height: 1.55;
}
.abp_plan .abp_btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }

/* ---------- Chips ---------- */
.abp_chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.abp_chip {
	background: #ecfeff;
	border: 1px solid #a5f3fc;
	color: #0e7490;
	font-size: 14px;
	font-weight: 600;
	padding: 9px 16px;
	border-radius: 999px;
}

/* ---------- CTA ---------- */
.abp_cta {
	margin: 44px 0 20px;
	padding: 46px 30px;
	border-radius: 16px;
	text-align: center;
	color: #f8fafc;
	background: linear-gradient(135deg, #0f172a, #155e75);
}
.abp_cta h2 { color: #ffffff; font-size: 30px; margin: 0 0 12px; }
.abp_cta p {
	color: #cbd5e1;
	font-size: 16px;
	line-height: 1.7;
	max-width: 660px;
	margin: 0 auto 24px;
}

/* ---------- Page intro ---------- */
.abp_page_intro { padding-bottom: 0; }

/* ---------- Screenshots (cards + load more) ---------- */
.abp_screenshots_section { margin-top: 10px; }
.abp_shots_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 30px;
}
.abp_shot_card {
	position: relative;
	display: block;
	padding: 0;
	margin: 0;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	background: #ffffff;
	overflow: hidden;
	cursor: pointer;
	text-align: left;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.abp_shot_card:hover { box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16); transform: translateY(-6px); border-color: #0891b2; }
.abp_shot_card.abp_shot_hidden { display: none; }
.abp_shot_card_media { display: block; position: relative; overflow: hidden; background: #f1f5f9; aspect-ratio: 16 / 10; }
.abp_shot_card_media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.abp_shot_card:hover .abp_shot_card_media img { transform: scale(1.05); }
.abp_shot_card_title {
	display: block;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.abp_shots_more_wrap { text-align: center; margin-top: 30px; }
.abp_shots_more {
	display: inline-block;
	padding: 12px 32px;
	border-radius: 999px;
	border: 1px solid #0891b2;
	background: #0891b2;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.abp_shots_more:hover { background: #0e7490; border-color: #0e7490; }
@media (max-width: 991px) { .abp_shots_grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .abp_shots_grid { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.abp_cards { grid-template-columns: repeat(2, 1fr); }
	.abp_features { grid-template-columns: repeat(2, 1fr); }
	.abp_hero h1 { font-size: 34px; }
}
@media (max-width: 680px) {
	.abp_cards,
	.abp_features,
	.abp_flow,
	.abp_compare { grid-template-columns: 1fr; }
	.abp_hero { padding: 48px 20px; }
	.abp_hero h1 { font-size: 28px; }
	.abp_section h2,
	.abp_cta h2 { font-size: 24px; }
}

/* ---------- Tour Timeline (matched to Places You'll See) ---------- */
div.abptt_area .abptt_timeline_redo .abptt_tl_time_emoji {
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	color: var(--tt_color_theme);
	font-size: var(--tt_fs_label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.4;
}
