/* =========================================================
   TPS site styles — linked from header.php
   1. Header: navigation bar, logo, SERVICE mega menu
   2. Homepage hero & booking card (index1.html)
   ========================================================= */

:root {
	--tps-y: #E8B825;          /* mega-menu headings & link hover */
	--tps-gold: #D5AF34;       /* nav hover, icons, Login/Register button, booking pills */
	--tps-gold-ink: #1A1107;   /* text on gold */
	--tps-pill-bg: #1C1C1E;
	--tps-mega-bg: #111114;

	--bk-field-bg: #313131;    /* booking form fields & active tab */
	--bk-field-border: #A7A7AA;
	--bk-btn-bg: #5d5d61;      /* Find My Ride, Add Stop / Same as Pickup */
	--bk-hover: #e4c257;
	--bk-hover-ink: #1D1807;
	--bk-font: Arial, Helvetica, sans-serif;
}


/* =========================================================
   1. HEADER
   ========================================================= */

/* ---------- Bar layout ---------- */

/* Same box as the theme's .top-bar (1050px + 18px left padding, centered)
   so the logo lines up with the Facebook icon and Login/Register with "TPS Login". */
.header-area-1 #primary-navigation {
	position: relative;
	z-index: 999;
	box-sizing: content-box;
	width: 1050px;
	max-width: none;
	margin: 0 auto;
	padding-left: 18px;
	overflow: visible !important;
}

@media only screen and (max-width: 1223px) {
	.header-area-1 #primary-navigation {
		width: calc(100% - 30px);   /* matches the theme's .top-bar at this size */
	}
}

.header-area-1 .navigation {
	float: none !important;
	width: 100%;
	max-height: none !important;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: visible !important;
}

.header-area-1 .navigation .tpsdh-right {
	display: flex;
	align-items: center;
	justify-content: right;
	gap: 14px;
	padding: 10px 0;
}

/* ---------- Logo (left) ---------- */

.header-area-1 .tpsdh-logo {
	display: flex;
	align-items: center;
	margin-right: auto;        /* pushes the menu to the right */
	text-decoration: none;
	left: 6%;                  /* note: no effect unless the logo gets position:relative */
}

.header-area-1 .tpsdh-logo img {
	display: block;
	height: 52px;
	width: auto;
}

/* ---------- Menu pill ---------- */

.header-area-1 .tpsdh-pill {
	display: flex;
	align-items: center;
	gap: 31px;
	height: 41px;
	padding: 0 29px;
	background: var(--tps-pill-bg);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 999px;
	box-sizing: border-box;
}

.header-area-1 .tpsdh-item {
	position: relative;
}

.header-area-1 .tpsdh-item > a,
.header-area-1 a.tpsdh-item {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 0;
	border-radius: 0;
	color: #fff;
	font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s;
}

.header-area-1 .tpsdh-item > a i.fa-angle-down {
	margin: 0 -4px;
	font-size: 26px;
	opacity: 1;
}

.header-area-1 .tpsdh-parent:hover > a,
.header-area-1 .tpsdh-parent:focus-within > a {
	color: var(--tps-gold);
}

/* ---------- Email / phone icons ---------- */

.header-area-1 .tpsdh-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	border-radius: 0;
	background: none;
	color: #adadad;
	font-size: 17px;
	text-decoration: none;
	transition: none;
}

.header-area-1 .tpsdh-ico i.fa-phone {
	font-size: 21px;
}

.header-area-1 .tpsdh-ico:hover {
	background: none;
	color: var(--tps-gold);
}

/* ---------- Login / Register button ---------- */
.header-area-1 { background: #1c1c1c; }
.header-area-1 .tpsdh-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 190px;
	height: 41px;
	padding: 0;
	background:#444343;
	border: 0;
	border-radius: 999px;
	box-sizing: border-box;
	color:#FFF;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition: filter .2s;
}

.header-area-1 .tpsdh-cta:hover {
	background: var(--tps-gold);
	border-color: transparent;
	color: var(--tps-gold-ink);
	filter: brightness(1.07);
}

/* ---------- SERVICE mega menu ---------- */

.tpsdh-mega {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	z-index: 1200;
	display: grid;
	grid-template-columns: repeat(3, 240px);
	gap: 0;
	padding: 18px 6px;
	background: var(--tps-mega-bg);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
	transform: translateX(-50%);
	visibility: hidden;
	opacity: 0;
	transition: opacity .12s ease, visibility 0s linear .3s;   /* short delay before hiding */
}

.tpsdh-parent:hover .tpsdh-mega,
.tpsdh-parent:focus-within .tpsdh-mega {
	visibility: visible;
	opacity: 1;
	transition: opacity .12s ease, visibility 0s linear 0s;
}

.tpsdh-col {
	display: flex;
	flex-direction: column;
	padding: 0 16px;
	border-right: 1px solid rgba(255, 255, 255, .07);
}

.tpsdh-col:last-child {
	border-right: 0;
}

.tpsdh-h {
	display: block;
	margin: 0 0 12px;
	color: var(--tps-y);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.tpsdh-col a {
	display: block;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .05);
	color: #d7d9de;
	font-size: 14px;
	text-decoration: none;
}

.tpsdh-col a:hover {
	color: var(--tps-y);
}

/* ---------- Tablet ---------- */

@media (max-width: 1005px) {
	.header-area-1 .navigation .tpsdh-right {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 10px;
	}

	.tpsdh-mega {
		grid-template-columns: repeat(2, 240px);
	}
}


/* =========================================================
   2. HOMEPAGE HERO & BOOKING CARD (index1.html)
   ========================================================= */

/* ---------- Hero background & layout ---------- */

.tpshero {
	position: relative;
	height: 596px;
	background: #050509 url(https://www.tps.quest/wp-content/uploads/2026/10/tps-hero-fleet.png) no-repeat center center;
	background-size: cover;
	background-position: center 52%;
	border-bottom: 0;
}

/* dark fade at the bottom so the headline stays readable */
.tpshero:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, 0) 70%);
}

.tpshero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	gap: 56px;
	width: 1215px;
	max-width: 100%;
	margin: 0 auto;
	padding: 135px 0 20px 48px;
	box-sizing: border-box;
}

/* ---------- Headline ---------- */

.tpshero-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.main-content h1.tpshero-h1 {
	margin: 0;
	color: #fff;
	font-family: var(--bk-font);
	font-size: 38px;
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -.02em;
}

.tpshero-sub {
	display: block;
	margin-top: 4px;
	transform: translateY(4px);
	color: #fff;
	font-family: "Times New Roman", Times, serif;
	font-size: 39px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: -.02em;
}

/* screen-reader-only text */
.tpsr-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* ---------- Booking card ---------- */

.tpshero-card {
	position: relative;
	flex: 0 0 389px;
	max-width: 100%;
	padding: 0 0 24px;
	background: rgba(255, 255, 255, .27);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: 16px;
	box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
	box-sizing: border-box;
	overflow: hidden;
}

/* ---------- Point-to-Point / Hourly tabs ---------- */

.tpshero-card #booking-tabs {
	display: block;
	margin: 0;
}

.tpshero-card #booking-tabs > ul {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: hidden;
	zoom: 1;
}

.tpshero-card #booking-tabs > ul:after {
	content: "";
	display: table;
	clear: both;
}

.tpshero-card #booking-tabs > ul > li,
.tpshero-card #booking-tabs ul.ui-tabs-nav > li {
	float: left;
	width: 50%;
	margin: 0;
	padding: 0;
}

.tpshero-card #booking-tabs > ul > li > a,
.tpshero-card #booking-tabs ul.ui-tabs-nav > li > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 8px;
	border: 0;
	border-bottom: 4px solid transparent;
	border-radius: 0;
	background: transparent;
	box-sizing: border-box;
	color: #fff;
	font-family: var(--bk-font);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .01em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}

.tpshero-card #booking-tabs ul > li.ui-state-active > a,
.tpshero-card #booking-tabs > ul > li.ui-state-active > a {
	background: var(--bk-field-bg) !important;
	color: #fff !important;
	border-bottom: 4px solid #9E9E9E !important;
}

.tpshero-card #booking-tabs ul li.ui-state-active > a:after {
	content: none;
	display: none;
}

.tpshero-card #booking-tabs .ui-tabs-panel {
	padding: 24px 24px 0;
	clear: both;
	overflow: hidden;
}

/* ---------- Form fields ---------- */

.tpshero-card .booking-form-1 {
	display: block;
	margin: 0;
	padding: 0;
	background: transparent;
}

.tpshero-card .booking-form-1:after {
	content: "";
	display: table;
	clear: both;
}

.bk-fields {
	display: block;
}

.bk-fields > *:last-child {
	margin-bottom: 0;
}

.bk-field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	height: 44px;
	margin: 0 0 20px;
	padding: 0 12px;
	border: 1px solid var(--bk-field-border);
	border-radius: 6px;
	background: var(--bk-field-bg);
	box-sizing: border-box;
}

.bk-ico {
	flex: 0 0 auto;
	width: auto;
	color: #fff;
	font-size: 14px;
	font-style: normal;
	line-height: 1;
	text-align: left;
}

.bk-field i.fa-map-marker { font-size: 21px; margin-right: 3px; }
.bk-field i.fa-exchange   { font-size: 19px; }
.bk-field i.fa-calendar   { font-size: 19px; }
.bk-field i.fa-clock-o    { font-size: 19px; }

/* "Duration" clock icon (Hourly tab) drawn as an inline SVG */
.bk-field i.fa-clock {
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23ffffff'/%3E%3Cpath d='M10 5.6V10h3.7' stroke='%23313131' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center center/contain no-repeat;
	font-size: 0 !important;
}

.bk-in {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	box-sizing: border-box;
	color: #fff;
	font-family: var(--bk-font);
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: -.02em;
	outline: none;
}

.bk-in::placeholder {
	color: #fff;
	opacity: 1;
}

.bk-sel {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	box-sizing: border-box;
	color: #fff;
	font-family: var(--bk-font);
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: -.02em;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
}

.bk-sel option {
	background: var(--bk-field-bg);
	color: #fff;
}

/* small floating label, e.g. "Duration" */
.bk-label {
	position: absolute;
	top: -9px;
	left: 7px;
	padding: 0 7px;
	background: var(--bk-field-bg);
	color: #fff;
	font-family: var(--bk-font);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 18px;
	letter-spacing: -.01em;
	white-space: nowrap;
}

/* "Add Stop" / "Same as Pickup" buttons inside fields */
.bk-pill {
	position: absolute;
	top: 50%;
	right: 11px;
	transform: translateY(-50%);
	height: 26px;
	padding: 0 15px;
	border: 0;
	border-radius: 999px;
	background: var(--tps-gold);
	color: var(--bk-hover-ink);
	font-family: var(--bk-font);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .01em;
	white-space: nowrap;
	cursor: pointer;
}

.bk-pill:hover {
	background: var(--bk-hover);
}

/* Date + Time side by side */
.bk-row2 {
	display: flex;
	gap: 14px;
	margin: 0 0 20px;
}

.bk-row2 .bk-field {
	margin: 0;
}

.bk-half {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}

.bk-min {
	flex: 0 0 44px;
	width: 44px;
	height: 42px;
	padding: 0 0 0 5px;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, .3);
	background: transparent;
	box-sizing: border-box;
	color: #fff;
	font-family: var(--bk-font);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
}

.bk-min option {
	background: var(--bk-field-bg);
	color: #fff;
}

/* theme-generated select wrappers inside the card */
.tpshero-card .select-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 44px;
	margin: 0 0 20px;
	padding: 0 12px;
	border: 1px solid var(--bk-field-border);
	border-radius: 6px;
	background: var(--bk-field-bg);
	box-sizing: border-box;
	overflow: hidden;
}

.tpshero-card .select-wrapper i {
	display: none;
}

.tpshero-card .select-wrapper select {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-family: var(--bk-font);
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: -.02em;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
}

.tpshero-card .select-wrapper select option {
	background: var(--bk-field-bg);
	color: #fff;
}

/* ---------- Note line & Find My Ride button ---------- */

.tpshero-note {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 17px 24px 0;
	color: #D6D4D4;
	font-family: var(--bk-font);
	font-size: 11px;
	font-weight: 700;
	line-height: 17px;
}

.tpshero-note i {
	color: #E7E5E3;
	font-size: 15px;
}

.tpshero-card .bookingbutton2 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: calc(100% - 48px);
	height: 48px;
	margin: 27px 24px 0;
	padding: 0;
	border: 0;
	border-radius: 9px;
	background: var(--bk-btn-bg);
	box-sizing: border-box;
	color: #FFF;
	font-family: var(--bk-font);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s;
}

.tpshero-card .bookingbutton2 span:after {
	content: none;
}

.tpshero-card .bookingbutton2 i {
	font-size: 13.5px;
	letter-spacing: normal;
}

.tpshero-card .bookingbutton2:hover {
	background: var(--bk-hover);
	color: var(--bk-hover-ink);
}

.main-content .tpshero-h1 {
	margin: 0;
	color: #fff;
	font-family: var(--bk-font);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -.02em;
}

/* ---------- Theme overrides ----------
   The Chauffeur theme styles every booking-form input/select;
   these !important rules reset them inside the hero card. */

.tpshero-card .bk-ico,
.tpshero-card #booking-tabs li i {
	padding: 0 !important;
}

.tpshero-card .booking-form-1 input[type="text"],
.tpshero-card .booking-form-1 .bk-in {
	width: 100% !important;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	font-family: var(--bk-font) !important;
	font-size: 15.5px !important;
	font-weight: 700 !important;
	letter-spacing: -.02em !important;
	outline: none !important;
	-webkit-appearance: none !important;
}

.tpshero-card .booking-form-1 .bk-in::placeholder {
	color: #fff !important;
	opacity: 1 !important;
}

.tpshero-card .booking-form-1 select,
.tpshero-card .booking-form-1 .bk-sel,
.tpshero-card .booking-form-1 .bk-min {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	font-family: var(--bk-font) !important;
	outline: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}

.tpshero-card .booking-form-1 .bk-sel {
	font-size: 15.5px !important;
	font-weight: 700 !important;
	letter-spacing: -.02em !important;
}

/* minutes dropdown is currently hidden (time picks whole hours only) */
.tpshero-card .booking-form-1 .bk-min {
	flex: 0 0 44px !important;
	width: 44px !important;
	padding-left: 5px !important;
	border-left: 1px solid rgba(255, 255, 255, .3) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-align: center !important;
	display: none !important;
}

.tpshero-card .booking-form-1 select option,
.tpshero-card .bk-sel option,
.tpshero-card .bk-min option {
	background: var(--bk-field-bg) !important;
	color: #fff !important;
}

.tpshero-card .bk-pill,
.tpshero-card .booking-form-1 button.bk-pill {
	height: 26px !important;
	margin: 0 !important;
	padding: 0 15px !important;
	background: var(--bk-btn-bg) !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	color: #FFF !important;
	font-family: var(--bk-font) !important;
	font-size: 11.5px !important;
	font-weight: 700 !important;
	line-height: 26px !important;
}

/* ---------- Hero: tablet ---------- */

@media (max-width: 1005px) {
	.tpshero {
		height: auto;
		min-height: 0;
		background-size: cover;
	}

	.tpshero-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 34px;
		padding: 52px 0 44px;
	}

	.tpshero-card {
		flex: 1 1 auto;
	}

	.main-content h1.tpshero-h1 {
		font-size: 34px;
	}

	.tpshero-sub {
		font-size: 26px;
	}
}

/* ---------- Hero: phone ---------- */

@media (max-width: 560px) {
	.main-content h1.tpshero-h1 {
		font-size: 27px;
	}

	.tpshero-sub {
		font-size: 21px;
	}

	.tpshero-card #booking-tabs .ui-tabs-panel {
		padding: 18px 14px 0;
	}

	.tpshero-note {
		margin-left: 14px;
		margin-right: 14px;
	}

	.tpshero-card .bookingbutton2 {
		width: calc(100% - 28px);
		margin-left: 14px;
		margin-right: 14px;
	}

	.bk-row2 {
		flex-direction: column;
		gap: 20px;
	}
}