/*
Theme Name: Bareilly Taxi Premium
Theme URI: https://bareillytaxi.in/
Author: Bareilly Taxi Service
Author URI: https://bareillytaxi.in/
Description: Premium responsive Astra child theme for Bareilly Taxi Service - 24x7 Cab Booking & Car Rental.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bareilly-taxi-premium
Template: astra
*/

/* =========================================================
   BAREILLY TAXI PREMIUM
   GLOBAL FOUNDATION
   ========================================================= */

:root {

	/* Brand */
	--bt-primary: #f5b400;
	--bt-primary-dark: #d99b00;
	--bt-secondary: #111827;
	--bt-dark: #0f172a;
	--bt-dark-soft: #1e293b;

	/* Text */
	--bt-text: #1f2937;
	--bt-text-light: #64748b;
	--bt-white: #ffffff;

	/* Background */
	--bt-bg: #ffffff;
	--bt-bg-light: #f8fafc;
	--bt-bg-soft: #f1f5f9;

	/* Border */
	--bt-border: #e2e8f0;

	/* Status */
	--bt-success: #16a34a;
	--bt-danger: #dc2626;

	/* Layout */
	--bt-container: 1200px;
	--bt-content-width: 760px;

	/* Radius */
	--bt-radius-sm: 6px;
	--bt-radius-md: 10px;
	--bt-radius-lg: 16px;
	--bt-radius-xl: 24px;

	/* Shadow */
	--bt-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
	--bt-shadow-md: 0 8px 30px rgba(15, 23, 42, 0.10);
	--bt-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);

	/* Transition */
	--bt-transition: 0.25s ease;

}

/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	background: var(--bt-bg);
	color: var(--bt-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* =========================================================
   LINKS
   ========================================================= */

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--bt-transition),
		background-color var(--bt-transition),
		border-color var(--bt-transition),
		box-shadow var(--bt-transition),
		transform var(--bt-transition);
}

a:hover {
	color: var(--bt-primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid rgba(245, 180, 0, 0.45);
	outline-offset: 3px;
}

/* =========================================================
   IMAGES
   ========================================================= */

img {
	display: block;
	max-width: 100%;
	height: auto;
}

svg {
	max-width: 100%;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.bt-container {
	width: min(
		calc(100% - 40px),
		var(--bt-container)
	);
	margin-left: auto;
	margin-right: auto;
}

/* =========================================================
   SECTION
   ========================================================= */

.bt-section {
	position: relative;
	padding-top: 80px;
	padding-bottom: 80px;
}

.bt-section--light {
	background: var(--bt-bg-light);
}

.bt-section--soft {
	background: var(--bt-bg-soft);
}

.bt-section--dark {
	background: var(--bt-dark);
	color: var(--bt-white);
}

/* =========================================================
   SECTION HEADING
   ========================================================= */

.bt-section-heading {
	max-width: 760px;
	margin: 0 auto 45px;
	text-align: center;
}

.bt-section-heading__eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	color: var(--bt-primary-dark);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bt-section-heading__title {
	margin: 0 0 15px;
	color: var(--bt-dark);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 800;
	line-height: 1.15;
}

.bt-section-heading__text {
	margin: 0;
	color: var(--bt-text-light);
	font-size: 17px;
}

/* =========================================================
   BUTTON FOUNDATION
   ========================================================= */

.bt-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: var(--bt-radius-md);
	background: var(--bt-primary);
	color: var(--bt-dark);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition:
		transform var(--bt-transition),
		background-color var(--bt-transition),
		color var(--bt-transition),
		box-shadow var(--bt-transition);
}

.bt-button:hover {
	background: var(--bt-primary-dark);
	color: var(--bt-white);
	transform: translateY(-2px);
	box-shadow: var(--bt-shadow-md);
}

.bt-button--dark {
	background: var(--bt-dark);
	color: var(--bt-white);
}

.bt-button--dark:hover {
	background: var(--bt-dark-soft);
	color: var(--bt-white);
}

.bt-button--outline {
	border-color: var(--bt-primary);
	background: transparent;
	color: var(--bt-dark);
}

.bt-button--outline:hover {
	background: var(--bt-primary);
	color: var(--bt-dark);
}

/* =========================================================
   CARD FOUNDATION
   ========================================================= */

.bt-card {
	background: var(--bt-white);
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius-lg);
	box-shadow: var(--bt-shadow-sm);
	overflow: hidden;
	transition:
		transform var(--bt-transition),
		box-shadow var(--bt-transition),
		border-color var(--bt-transition);
}

.bt-card:hover {
	border-color: rgba(245, 180, 0, 0.45);
	transform: translateY(-4px);
	box-shadow: var(--bt-shadow-md);
}

/* =========================================================
   FORM FOUNDATION
   ========================================================= */

.bt-form-field {
	width: 100%;
}

.bt-form-field label {
	display: block;
	margin-bottom: 7px;
	color: var(--bt-dark);
	font-size: 14px;
	font-weight: 700;
}

.bt-form-field input,
.bt-form-field select,
.bt-form-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius-md);
	background: var(--bt-white);
	color: var(--bt-text);
	font: inherit;
	transition:
		border-color var(--bt-transition),
		box-shadow var(--bt-transition);
}

.bt-form-field textarea {
	min-height: 120px;
	resize: vertical;
}

.bt-form-field input:focus,
.bt-form-field select:focus,
.bt-form-field textarea:focus {
	border-color: var(--bt-primary);
	box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.12);
	outline: none;
}

/* =========================================================
   VISUALLY HIDDEN
   ========================================================= */

.bt-screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =========================================================
   WORDPRESS ALIGNMENTS
   ========================================================= */

.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* =========================================================
   ASTRA COMPATIBILITY
   ========================================================= */

.ast-container {
	width: 100%;
}

.site-content {
	min-height: 1px;
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.bt-section {
		padding-top: 65px;
		padding-bottom: 65px;
	}

	.bt-container {
		width: min(
			calc(100% - 32px),
			var(--bt-container)
		);
	}

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	body {
		font-size: 15px;
	}

	.bt-container {
		width: min(
			calc(100% - 28px),
			var(--bt-container)
		);
	}

	.bt-section {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.bt-section-heading {
		margin-bottom: 30px;
	}

	.bt-section-heading__title {
		font-size: 30px;
	}

	.bt-section-heading__text {
		font-size: 15px;
	}

	.bt-button {
		width: 100%;
	}

	.alignleft,
	.alignright {
		float: none;
		margin-left: 0;
		margin-right: 0;
	}

}
/* =========================================================
   BAREILLY TAXI PREMIUM
   STAGE 2 — GLOBAL DESIGN SYSTEM
   ========================================================= */

/* ---------------------------------------------------------
   GLOBAL WRAPPER
--------------------------------------------------------- */

.bt-site-main {
	position: relative;
	overflow: hidden;
}


/* ---------------------------------------------------------
   SITE HEADER FOUNDATION
--------------------------------------------------------- */

.bt-site-header {
	position: relative;
	z-index: 1000;
	width: 100%;
	background: var(--bt-white);
	border-bottom: 1px solid var(--bt-border);
}

.bt-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 78px;
}

.bt-site-header__brand {
	flex: 0 0 auto;
}

.bt-site-header__logo {
	display: inline-flex;
	align-items: center;
}

.bt-site-header__logo img {
	max-width: 190px;
	max-height: 60px;
	width: auto;
	height: auto;
}

.bt-site-header__brand-text {
	color: var(--bt-dark);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}


/* ---------------------------------------------------------
   PRIMARY NAVIGATION
--------------------------------------------------------- */

.bt-site-header__navigation {
	flex: 1 1 auto;
}

.bt-primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bt-primary-menu > li {
	position: relative;
	margin: 0;
	padding: 0;
}

.bt-primary-menu > li > a {
	display: block;
	padding: 10px 13px;
	color: var(--bt-dark);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.bt-primary-menu > li > a:hover {
	color: var(--bt-primary-dark);
}


/* ---------------------------------------------------------
   HEADER ACTIONS
--------------------------------------------------------- */

.bt-site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.bt-site-header__actions .bt-button {
	min-height: 42px;
	padding: 9px 16px;
	font-size: 13px;
}


/* ---------------------------------------------------------
   FOOTER FOUNDATION
--------------------------------------------------------- */

.bt-site-footer {
	padding-top: 65px;
	background: var(--bt-dark);
	color: rgba(255, 255, 255, 0.78);
}

.bt-site-footer__inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 50px;
	padding-bottom: 45px;
}

.bt-site-footer__title {
	margin: 0 0 15px;
	color: var(--bt-white);
	font-size: 25px;
	font-weight: 800;
	line-height: 1.2;
}

.bt-site-footer__description {
	max-width: 480px;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
}

.bt-site-footer__heading {
	margin: 0 0 18px;
	color: var(--bt-white);
	font-size: 17px;
	font-weight: 700;
}

.bt-site-footer p {
	margin: 0 0 10px;
}

.bt-site-footer a {
	color: rgba(255, 255, 255, 0.8);
}

.bt-site-footer a:hover {
	color: var(--bt-primary);
}

.bt-site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bt-site-footer li {
	margin-bottom: 9px;
}

.bt-site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.55);
	font-size: 13px;
}

.bt-site-footer__bottom p {
	margin: 0;
}


/* ---------------------------------------------------------
   MOBILE HEADER
--------------------------------------------------------- */

@media (max-width: 1024px) {

	.bt-site-header__inner {
		min-height: 70px;
	}

	.bt-site-header__navigation {
		display: none;
	}

	.bt-site-header__actions {
		margin-left: auto;
	}

	.bt-site-header__actions .bt-button {
		min-height: 40px;
		padding: 8px 12px;
	}

	.bt-site-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 35px;
	}

	.bt-site-footer__brand {
		grid-column: 1 / -1;
	}

}


/* ---------------------------------------------------------
   SMALL MOBILE
--------------------------------------------------------- */

@media (max-width: 767px) {

	.bt-site-header__inner {
		min-height: 64px;
		gap: 10px;
	}

	.bt-site-header__logo img {
		max-width: 145px;
		max-height: 48px;
	}

	.bt-site-header__brand-text {
		font-size: 18px;
	}

	.bt-site-header__actions {
		gap: 5px;
	}

	.bt-site-header__actions .bt-button {
		min-height: 38px;
		padding: 7px 9px;
		font-size: 11px;
	}

	.bt-site-footer {
		padding-top: 50px;
	}

	.bt-site-footer__inner {
		grid-template-columns: 1fr;
		gap: 30px;
		padding-bottom: 35px;
	}

	.bt-site-footer__brand {
		grid-column: auto;
	}

	.bt-site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

}
/* =========================================================
   STAGE 2 — MOBILE MENU
   ========================================================= */

.bt-mobile-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--bt-border);
	border-radius: var(--bt-radius-md);
	background: var(--bt-white);
	cursor: pointer;
}

.bt-mobile-menu-toggle span {
	display: block;
	width: 21px;
	height: 2px;
	border-radius: 2px;
	background: var(--bt-dark);
	transition:
		transform var(--bt-transition),
		opacity var(--bt-transition);
}

.bt-mobile-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 999;
	background: var(--bt-white);
	border-top: 1px solid var(--bt-border);
	border-bottom: 1px solid var(--bt-border);
	box-shadow: var(--bt-shadow-md);
}

.bt-mobile-menu[hidden] {
	display: none;
}

.bt-mobile-menu__navigation {
	padding: 18px 0 0;
}

.bt-mobile-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bt-mobile-menu__list li {
	margin: 0;
	border-bottom: 1px solid var(--bt-border);
}

.bt-mobile-menu__list li a {
	display: block;
	padding: 13px 0;
	color: var(--bt-dark);
	font-size: 15px;
	font-weight: 600;
}

.bt-mobile-menu__list li a:hover {
	color: var(--bt-primary-dark);
}

.bt-mobile-menu__actions {
	display: grid;
	gap: 10px;
	padding: 20px 0 24px;
}

.bt-mobile-menu__actions .bt-button {
	width: 100%;
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 1024px) {

	.bt-mobile-menu-toggle {
		display: inline-flex;
		flex: 0 0 44px;
	}

	.bt-site-header__actions {
		display: none;
	}

}


/* =========================================================
   MENU BUTTON ACTIVE STATE
   ========================================================= */

.bt-mobile-menu-open
	.bt-mobile-menu-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.bt-mobile-menu-open
	.bt-mobile-menu-toggle span:nth-child(2) {
	opacity: 0;
}

.bt-mobile-menu-open
	.bt-mobile-menu-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.bt-mobile-menu-toggle {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
	}

	.bt-site-header__logo img {
		max-width: 135px;
	}

}