/* BIRMINGHAM CONNECTION LTD - Main Stylesheet */

/* Reset and Base Styles */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #333;
	overflow-x: hidden;
}

/* Custom Colors */
:root {
	--primary-color: #0066cc;
	--secondary-color: #004499;
	--accent-color: #00aaff;
	--dark-color: #1a1a1a;
	--light-color: #f8f9fa;
	--gray-color: #6c757d;
	--success-color: #28a745;
	--warning-color: #ffc107;
	--danger-color: #dc3545;
	--white: #ffffff;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.display-4 {
	font-size: 3.5rem;
	font-weight: 700;
	line-height: 1.1;
}

.display-5 {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.lead {
	font-size: 1.25rem;
	font-weight: 300;
	margin-bottom: 1.5rem;
}

/* Navigation Styles */
.navbar {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	z-index: 1000;
}

.navbar-brand {
	font-size: 1.5rem;
	font-weight: 700;
	display: flex;
	align-items: center;
}

.navbar-nav .nav-link {
	font-weight: 500;
	margin: 0 0.5rem;
	padding: 0.75rem 1rem;
	transition: all 0.3s ease;
	border-radius: 5px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	background-color: var(--primary-color);
	color: white !important;
}

/* Hero Section */
.hero {
	position: relative;
	min-height: 100vh;
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--secondary-color) 100%
	);
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 1;
}

.hero-overlay {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-top: 80px;
}

.hero h1 {
	animation: fadeInUp 1s ease;
	margin-bottom: 1.5rem;
}

.hero p {
	animation: fadeInUp 1s ease 0.3s both;
	margin-bottom: 2rem;
}

.hero .btn {
	animation: fadeInUp 1s ease 0.6s both;
	margin-right: 1rem;
	margin-bottom: 1rem;
}

/* Page Header */
.page-header {
	padding: 120px 0 60px;
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--secondary-color) 100%
	);
	margin-top: 76px;
}

/* Button Styles */
.btn {
	font-weight: 500;
	padding: 12px 30px;
	border-radius: 8px;
	text-transform: none;
	transition: all 0.3s ease;
	border: none;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
}

.btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: white;
}

.btn-primary:hover {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

.btn-outline-primary {
	color: var(--primary-color);
	border-color: var(--primary-color);
	background-color: transparent;
}

.btn-outline-primary:hover {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: white;
	transform: translateY(-2px);
}

.btn-outline-light {
	color: white;
	border-color: white;
	background-color: transparent;
}

.btn-outline-light:hover {
	background-color: white;
	border-color: white;
	color: var(--primary-color);
	transform: translateY(-2px);
}

.btn-lg {
	padding: 15px 40px;
	font-size: 1.125rem;
}

/* Card Styles */
.card {
	border: none;
	border-radius: 12px;
	transition: all 0.3s ease;
	overflow: hidden;
	height: 100%;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-body {
	padding: 2rem;
}

.card img {
	transition: all 0.3s ease;
}

.card:hover img {
	transform: scale(1.05);
}

/* Service Cards */
.service-card {
	padding: 2rem;
	text-align: center;
	background: white;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	height: 100%;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-card img {
	border-radius: 8px;
	margin-bottom: 1.5rem;
	max-height: 200px;
	object-fit: cover;
	width: 100%;
}

.service-card h5 {
	color: var(--dark-color);
	margin-bottom: 1rem;
}

.service-card p {
	color: var(--gray-color);
	margin-bottom: 1.5rem;
}

/* Contact Form Styles */
.form-control {
	border-radius: 8px;
	border: 2px solid #e9ecef;
	padding: 12px 15px;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-select {
	border-radius: 8px;
	border: 2px solid #e9ecef;
	padding: 12px 15px;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-select:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-label {
	font-weight: 500;
	color: var(--dark-color);
	margin-bottom: 0.5rem;
}

.form-check-input:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

/* Contact Info Styles */
.contact-info {
	background: var(--light-color);
	padding: 2rem;
	border-radius: 12px;
	height: fit-content;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 2rem;
}

.contact-item i {
	font-size: 1.25rem;
	margin-right: 1rem;
	margin-top: 0.25rem;
	color: var(--primary-color);
}

.contact-item h6 {
	margin-bottom: 0.5rem;
	color: var(--dark-color);
}

.contact-item p {
	margin-bottom: 0;
	color: var(--gray-color);
}

.contact-item a {
	color: var(--primary-color);
	text-decoration: none;
}

.contact-item a:hover {
	text-decoration: underline;
}

/* Service Process Styles */
.service-step {
	text-align: center;
	padding: 2rem 1rem;
}

.step-number {
	width: 60px;
	height: 60px;
	background: white;
	color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0 auto 1rem;
	border: 3px solid white;
}

.service-step h5 {
	color: white;
	margin-bottom: 1rem;
}

.service-step p {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 0;
}

/* Cookie Banner Styles */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--dark-color);
	color: white;
	padding: 1rem 0;
	z-index: 9999;
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.cookie-banner.show {
	transform: translateY(0);
}

.cookie-banner p {
	margin-bottom: 0;
}

.cookie-banner a {
	color: var(--accent-color);
	text-decoration: none;
}

.cookie-banner a:hover {
	text-decoration: underline;
}

/* Footer Styles */
footer {
	background: var(--dark-color);
	color: white;
}

footer h5,
footer h6 {
	color: white;
	margin-bottom: 1rem;
}

footer a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s ease;
}

footer a:hover {
	color: white;
}

footer .fab {
	font-size: 1.25rem;
	transition: all 0.3s ease;
}

footer .fab:hover {
	color: var(--accent-color);
	transform: translateY(-2px);
}

/* Content Section Styles */
.content-section {
	line-height: 1.8;
}

.content-section h2 {
	color: var(--primary-color);
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-size: 1.75rem;
}

.content-section h3 {
	color: var(--secondary-color);
	margin-top: 1.5rem;
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

.content-section ul {
	margin-bottom: 1.5rem;
}

.content-section li {
	margin-bottom: 0.5rem;
}

.contact-details {
	background: var(--light-color);
	padding: 2rem;
	border-radius: 12px;
	margin: 2rem 0;
}

/* Accordion Styles */
.accordion-button {
	font-weight: 500;
	color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
	background-color: var(--primary-color);
	color: white;
}

.accordion-button:focus {
	box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

/* Table Styles */
.table {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table thead th {
	background-color: var(--primary-color);
	color: white;
	border: none;
	padding: 1rem;
}

.table tbody td {
	padding: 1rem;
	vertical-align: middle;
}

/* Alert Styles */
.alert {
	border: none;
	border-radius: 8px;
	padding: 1rem 1.5rem;
}

.alert-info {
	background-color: rgba(0, 102, 204, 0.1);
	color: var(--primary-color);
	border-left: 4px solid var(--primary-color);
}

.alert-success {
	background-color: rgba(40, 167, 69, 0.1);
	color: var(--success-color);
	border-left: 4px solid var(--success-color);
}

.alert-danger {
	background-color: rgba(220, 53, 69, 0.1);
	color: var(--danger-color);
	border-left: 4px solid var(--danger-color);
}

/* Animation Classes */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.fade-in {
	animation: fadeIn 0.6s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
	.display-4 {
		font-size: 2.5rem;
	}

	.display-5 {
		font-size: 2rem;
	}

	.hero {
		text-align: center;
		padding: 2rem 0;
	}

	.hero .btn {
		display: block;
		width: 100%;
		margin-bottom: 1rem;
	}

	.service-card {
		margin-bottom: 2rem;
	}

	.contact-info {
		margin-top: 2rem;
	}

	.navbar-brand {
		font-size: 1.25rem;
	}

	.cookie-banner .btn {
		width: 100%;
		margin-bottom: 0.5rem;
	}

	.page-header {
		padding: 100px 0 40px;
		text-align: center;
	}
}

@media (max-width: 576px) {
	.container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.card-body {
		padding: 1.5rem;
	}

	.service-card {
		padding: 1.5rem;
	}

	.contact-info {
		padding: 1.5rem;
	}

	.step-number {
		width: 50px;
		height: 50px;
		font-size: 1.25rem;
	}

	.service-step {
		padding: 1rem;
	}
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}

/* Focus Styles for Better Accessibility */
button:focus,
.btn:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* Print Styles */
@media print {
	.navbar,
	.cookie-banner,
	footer {
		display: none !important;
	}

	.hero {
		background: white !important;
		color: black !important;
		min-height: auto;
	}

	.page-header {
		background: white !important;
		color: black !important;
		margin-top: 0;
		padding: 2rem 0;
	}

	body {
		color: black !important;
		background: white !important;
	}
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	:root {
		--primary-color: #0000ff;
		--secondary-color: #000080;
		--dark-color: #000000;
	}

	.card {
		border: 2px solid #000000;
	}

	.btn {
		border-width: 2px;
	}
}

/* Loading States */
.loading {
	opacity: 0.6;
	pointer-events: none;
}

.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	border: 2px solid #ccc;
	border-top: 2px solid var(--primary-color);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* Utility Classes */
.text-primary {
	color: var(--primary-color) !important;
}

.bg-primary {
	background-color: var(--primary-color) !important;
}

.border-primary {
	border-color: var(--primary-color) !important;
}

.shadow-sm {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.shadow {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Custom spacing utilities */
.py-6 {
	padding-top: 4rem !important;
	padding-bottom: 4rem !important;
}

.my-6 {
	margin-top: 4rem !important;
	margin-bottom: 4rem !important;
}
