/* assets/css/style.css */

/* ===== VARIABLES ===== */
:root {
	--primary-color: #ff6b35;
	--primary-dark: #e55a2b;
	--secondary-color: #2c3e50;
	--accent-color: #3498db;
	--success-color: #2ecc71;
	--warning-color: #f39c12;
	--danger-color: #e74c3c;
	--light-gray: #ecf0f1;
	--medium-gray: #bdc3c7;
	--dark-gray: #7f8c8d;
	--text-color: #34495e;
	--white: #ffffff;
	--black: #2c3e50;
	--shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	--shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
	--border-radius: 15px;
	--border-radius-small: 8px;
	--transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: #f8f9fa;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--secondary-color);
	margin-bottom: 1rem;
	line-height: 1.3;
}

h1 {
	font-size: 2.5rem;
	font-weight: 700;
}

h2 {
	font-size: 2.2rem;
	font-weight: 600;
}

h3 {
	font-size: 1.8rem;
	font-weight: 600;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--accent-color);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--primary-color);
}

/* ===== HEADER STYLES ===== */
header {
	background: var(--secondary-color);
	padding: 15px 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-family: "Bungee Shade", cursive;
	font-size: 1.8rem;
	color: var(--primary-color) !important;
	text-decoration: none;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 30px;
}

/* Desktop Navigation */
.desktop-nav ul {
	display: flex;
	list-style: none;
	gap: 30px;
	margin: 0;
	padding: 0;
}

.desktop-nav a {
	color: var(--white);
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
	transition: var(--transition);
}

.desktop-nav a:hover {
	color: var(--primary-color);
}

/* Header Phone */
.header-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1rem;
	transition: var(--transition);
}

.header-phone:hover {
	color: var(--primary-dark);
}

.phone-icon {
	font-size: 1.2rem;
}

/* Hamburger Menu */
.hamburger-menu {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 4px;
}

.hamburger-menu span {
	width: 25px;
	height: 3px;
	background: var(--white);
	transition: var(--transition);
}

.hamburger-menu.active span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
	opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
	position: fixed;
	top: 0;
	right: -300px;
	width: 300px;
	height: 100vh;
	background: var(--secondary-color);
	z-index: 1001;
	transition: var(--transition);
	padding: 60px 20px 20px;
}

.mobile-menu.active {
	right: 0;
}

.close-menu {
	position: absolute;
	top: 15px;
	right: 20px;
	color: var(--white);
	font-size: 2rem;
	cursor: pointer;
	background: none;
	border: none;
}

.mobile-menu ul {
	list-style: none;
}

.mobile-menu li {
	margin-bottom: 15px;
}

.mobile-menu a {
	color: var(--white);
	text-decoration: none;
	font-size: 1.1rem;
	display: block;
	padding: 10px;
	border-radius: var(--border-radius-small);
	transition: var(--transition);
}

.mobile-menu a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--primary-color);
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: var(--transition);
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}

/* ===== BANNER SECTION ===== */
.banner-section {
	width: 100%;
	height: 400px;
	position: relative;
	overflow: hidden;
	margin-top: 0;
	border-radius: var(--border-radius);
}

.banner-slider {
	width: 100%;
	height: 100%;
	position: relative;
}

.banner-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.banner-slide.active {
	opacity: 1;
}

.banner-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: var(--white);
	z-index: 2;
}

.banner-title {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
	font-size: 1.2rem;
	margin-bottom: 30px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-cta {
	display: inline-block;
	background: var(--primary-color);
	color: var(--white);
	padding: 12px 30px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.1rem;
	transition: var(--transition);
}

.banner-cta:hover {
	background: var(--primary-dark);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.banner-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 3;
}

.banner-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: var(--transition);
}

.banner-dot.active {
	background: var(--white);
	transform: scale(1.2);
}

.seo-header {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: var(--white);
	width: 90%;
	max-width: 800px;
	z-index: 1;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	font-size: 2.5rem;
	line-height: 1.3;
	margin: 0;
	pointer-events: none;
}

/* ===== CONTENT AREA ===== */
.content {
	margin-top: 80px;
}

/* ===== MAP & ADDRESS SECTION ===== */
.map-section {
	margin-top: 40px;
}

.address-fields {
	margin-bottom: 20px;
}

.address-row {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.address-field {
	flex: 1;
	position: relative;
}

.address-field input {
	width: 100%;
	padding: 15px;
	border: 2px solid var(--medium-gray);
	border-radius: var(--border-radius-small);
	font-size: 16px;
	transition: var(--transition);
}

.address-field input:focus {
	border-color: var(--accent-color);
	outline: none;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.mobile-map-button {
	display: none;
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	background: var(--secondary-color);
	color: var(--white);
	border: none;
	width: 44px;
	height: 44px;
	border-radius: var(--border-radius-small);
	cursor: pointer;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: var(--transition);
}

.mobile-map-button:hover {
	background: var(--primary-color);
}

.suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--white);
	border: 1px solid var(--medium-gray);
	border-radius: var(--border-radius-small);
	box-shadow: var(--shadow);
	z-index: 100;
	display: none;
}

.suggestions.active {
	display: block;
}

.suggestion-item {
	padding: 12px 15px;
	cursor: pointer;
	border-bottom: 1px solid var(--light-gray);
	transition: var(--transition);
}

.suggestion-item:hover {
	background: var(--light-gray);
}

.suggestion-item:last-child {
	border-bottom: none;
}

/* Map Container */
.map-container {
	position: relative;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.route-info {
	position: absolute;
	top: 15px;
	left: 15px;
	background: var(--white);
	padding: 15px;
	border-radius: var(--border-radius-small);
	box-shadow: var(--shadow);
	z-index: 10;
	display: none;
}

.route-info.active {
	display: block;
}

.route-distance {
	font-weight: bold;
	color: var(--secondary-color);
}

.route-time {
	color: var(--dark-gray);
	font-size: 0.9rem;
}

#map {
	width: 100%;
	height: 400px;
	position: relative;
}

.map-loading {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--light-gray);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dark-gray);
	font-size: 1.1rem;
}

/* ===== FORM STYLES ===== */
.form-container {
	margin-top: 40px;
	background: var(--white);
	padding: 30px;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
}

.form-group {
	margin-bottom: 25px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="tel"] {
	width: 100%;
	padding: 15px;
	border: 2px solid var(--medium-gray);
	border-radius: var(--border-radius-small);
	font-size: 16px;
	transition: var(--transition);
}

.form-group input:focus {
	border-color: var(--accent-color);
	outline: none;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Tariffs */
.tariffs {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.tariff-option {
	display: flex;
	align-items: center;
	padding: 15px;
	border: 2px solid var(--medium-gray);
	border-radius: var(--border-radius-small);
	cursor: pointer;
	transition: var(--transition);
	position: relative;
}

.tariff-option:hover {
	border-color: var(--accent-color);
	transform: translateY(-2px);
	box-shadow: var(--shadow-hover);
}

.tariff-option.active {
	border-color: var(--accent-color);
	background: rgba(52, 152, 219, 0.05);
}

.tariff-radio {
	margin-right: 15px;
}

.tariff-info {
	flex: 1;
}

.tariff-name {
	font-weight: bold;
	color: var(--secondary-color);
	font-size: 1.1rem;
	margin-bottom: 5px;
}

.tariff-details {
	color: var(--dark-gray);
	font-size: 0.9rem;
	margin-bottom: 5px;
}

.tariff-price {
	font-weight: 600;
	color: var(--primary-color);
}

.tariff-image {
	width: 150px;
	height: 80px;
	margin-left: 15px;
	border-radius: var(--border-radius-small);
	overflow: hidden;
}

.tariff-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Submit Button */
#submit-btn {
	width: 100%;
	background: linear-gradient(
		135deg,
		var(--primary-color),
		var(--primary-dark)
	);
	color: var(--white);
	border: none;
	padding: 18px;
	border-radius: var(--border-radius-small);
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
}

#submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

#submit-btn:disabled {
	background: var(--medium-gray);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* ===== ADVANTAGES SECTION ===== */
.advantages-section {
	background: var(--white);
	padding: 60px 20px;
	margin: 40px 0;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	width: 100%;
	position: relative;
}

.advantages-section h2 {
	text-align: center;
	color: var(--secondary-color);
	margin-bottom: 50px;
	font-size: 2.2rem;
}

.advantages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
}

.advantage-card {
	background: var(--light-gray);
	padding: 30px 25px;
	border-radius: var(--border-radius);
	text-align: center;
	transition: var(--transition);
	border: 2px solid transparent;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.advantage-card:hover {
	transform: translateY(-5px);
	border-color: var(--accent-color);
	box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.advantage-icon {
	font-size: 3rem;
	margin-bottom: 20px;
	display: block;
}

.advantage-title {
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--secondary-color);
	margin-bottom: 15px;
}

.advantage-text {
	color: var(--dark-gray);
	line-height: 1.6;
	font-size: 1rem;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
	background: var(--white);
	padding: 40px 20px;
	margin: 40px 0;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	width: 100%;
	position: relative;
}

.reviews-section h2 {
	text-align: center;
	color: var(--secondary-color);
	margin-bottom: 30px;
	font-size: 2rem;
}

/* Reviews Slider */
.reviews-slider {
	position: relative;
	overflow: hidden;
	margin-bottom: 40px;
}

.reviews-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	gap: 20px;
}

.review-card {
	background: var(--light-gray);
	padding: 20px;
	border-radius: var(--border-radius-small);
	border-left: 4px solid var(--accent-color);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	min-width: calc(100% - 20px);
	flex-shrink: 0;
}

.review-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.review-author {
	font-weight: bold;
	color: var(--secondary-color);
	font-size: 1.1rem;
}

.review-date {
	color: var(--dark-gray);
	font-size: 0.9rem;
}

.review-rating {
	color: var(--warning-color);
	margin: 10px 0;
	font-size: 1.2rem;
}

.review-text {
	color: var(--text-color);
	line-height: 1.6;
	font-size: 0.95rem;
}

.admin-reply {
	margin-top: 15px;
	padding: 15px;
	background: #e8f4fc;
	border-radius: var(--border-radius-small);
	border-left: 3px solid var(--accent-color);
}

.admin-reply-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 0.9rem;
}

.admin-reply-author {
	font-weight: bold;
	color: var(--secondary-color);
}

.admin-reply-date {
	color: var(--dark-gray);
}

.admin-reply-text {
	color: var(--text-color);
	line-height: 1.5;
}

/* Slider Controls */
.slider-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
}

.slider-btn {
	background: var(--accent-color);
	color: var(--white);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
	background: #2980b9;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-btn:disabled {
	background: var(--medium-gray);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.slider-dots {
	display: flex;
	gap: 10px;
}

.slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--medium-gray);
	cursor: pointer;
	transition: var(--transition);
}

.slider-dot.active {
	background: var(--accent-color);
	transform: scale(1.2);
}

/* No Reviews */
.no-reviews {
	text-align: center;
	color: var(--dark-gray);
	padding: 40px;
	font-size: 1.1rem;
}

/* Review Form */
.add-review-section {
	background: var(--light-gray);
	padding: 30px;
	border-radius: var(--border-radius);
	max-width: 600px;
	margin: 0 auto;
}

.add-review-section h3 {
	text-align: center;
	color: var(--secondary-color);
	margin-bottom: 20px;
}

.rating-stars {
	display: flex;
	justify-content: center;
	margin: 15px 0;
	gap: 5px;
}

.star {
	font-size: 2rem;
	color: #ddd;
	cursor: pointer;
	transition: color 0.2s;
}

.star:hover,
.star.active {
	color: var(--warning-color);
}

.review-form textarea {
	width: 100%;
	padding: 15px;
	border: 2px solid var(--medium-gray);
	border-radius: var(--border-radius-small);
	font-size: 16px;
	resize: vertical;
	min-height: 100px;
	margin-bottom: 15px;
	transition: var(--transition);
	font-family: inherit;
}

.review-form textarea:focus {
	border-color: var(--accent-color);
	outline: none;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.review-form input {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid var(--medium-gray);
	border-radius: var(--border-radius-small);
	font-size: 16px;
	margin-bottom: 15px;
	transition: var(--transition);
}

.review-form input:focus {
	border-color: var(--accent-color);
	outline: none;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-review-btn {
	background: linear-gradient(135deg, var(--success-color), #27ae60);
	color: var(--white);
	border: none;
	padding: 15px 30px;
	border-radius: var(--border-radius-small);
	font-size: 16px;
	cursor: pointer;
	font-weight: 600;
	transition: var(--transition);
	width: 100%;
}

.submit-review-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.submit-review-btn:disabled {
	background: var(--medium-gray);
	cursor: not-allowed;
	transform: none;
}

.review-success {
	background: #d4edda;
	color: #155724;
	padding: 15px;
	border-radius: var(--border-radius-small);
	margin-bottom: 20px;
	text-align: center;
	border: 1px solid #c3e6cb;
}

/* ===== ABOUT SECTION ===== */
.about-section,
.drivers-section {
	background: var(--white);
	padding: 60px 20px;
	margin: 40px 0;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow);
	width: 100%;
	position: relative;
}

.about-section h2,
.drivers-section h2 {
	text-align: center;
	color: var(--secondary-color);
	margin-bottom: 40px;
	font-size: 2.2rem;
}

.about-content,
.drivers-content {
	max-width: 1000px;
	margin: 0 auto;
	line-height: 1.7;
	color: var(--text-color);
}

.about-features,
.drivers-benefits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin: 40px 0;
}

.feature-item,
.benefit-item {
	background: var(--light-gray);
	padding: 25px;
	border-radius: var(--border-radius-small);
	border-left: 4px solid var(--accent-color);
}

.feature-item h3,
.benefit-item h3 {
	color: var(--secondary-color);
	margin-bottom: 15px;
	font-size: 1.3rem;
}

.feature-item p,
.benefit-item p {
	color: var(--dark-gray);
	line-height: 1.6;
}

.contact-info {
	background: var(--light-gray);
	padding: 30px;
	border-radius: var(--border-radius);
	margin-top: 30px;
}

.contact-info h3 {
	color: var(--secondary-color);
	margin-bottom: 20px;
}

.contact-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 15px;
}

.contact-icon {
	font-size: 1.5rem;
	color: var(--accent-color);
}

.requirements-list {
	list-style: none;
	padding: 0;
}

.requirements-list li {
	padding: 10px 0;
	border-bottom: 1px solid var(--light-gray);
	display: flex;
	align-items: center;
	gap: 10px;
}

.requirements-list li:before {
	content: "✓";
	color: var(--success-color);
	font-weight: bold;
}

.cta-button {
	background: linear-gradient(135deg, var(--accent-color), #2980b9);
	color: var(--white);
	border: none;
	padding: 15px 30px;
	border-radius: var(--border-radius-small);
	font-size: 16px;
	cursor: pointer;
	font-weight: 600;
	transition: var(--transition);
	text-decoration: none;
	display: inline-block;
	margin-top: 20px;
}

.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* ===== FOOTER ===== */
footer {
	background: var(--secondary-color);
	color: var(--white);
	padding: 40px 0;
	text-align: center;
	margin-top: 60px;
}

footer p {
	margin-bottom: 10px;
}

footer a {
	color: var(--light-gray);
	margin: 0 10px;
}

footer a:hover {
	color: var(--primary-color);
}

/* ===== NOTIFICATION ===== */
.notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 15px 25px;
	border-radius: var(--border-radius-small);
	color: var(--white);
	font-weight: 500;
	z-index: 10000;
	box-shadow: var(--shadow);
	transform: translateX(400px);
	transition: transform 0.3s ease;
}

.notification.success {
	background: var(--success-color);
}

.notification.error {
	background: var(--danger-color);
}

.notification:not(.hidden) {
	transform: translateX(0);
}

.notification.hidden {
	transform: translateX(400px);
}

/* ===== MAP POPUP ===== */
.map-popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.map-popup-overlay.active {
	display: flex;
}

.map-popup {
	background: var(--white);
	border-radius: var(--border-radius);
	width: 100%;
	max-width: 900px;
	height: 80vh;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	background: var(--secondary-color);
	color: var(--white);
}

.map-popup-title {
	font-size: 1.2rem;
	font-weight: 600;
}

.map-popup-close {
	background: none;
	border: none;
	color: var(--white);
	font-size: 1.5rem;
	cursor: pointer;
	padding: 5px;
	transition: var(--transition);
}

.map-popup-close:hover {
	color: var(--primary-color);
}

.map-popup-content {
	height: calc(100% - 60px);
	position: relative;
}

.map-popup #map-popup {
	width: 100%;
	height: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Desktop First Approach */
@media (max-width: 1024px) {
	.advantages-section,
	.reviews-section,
	.about-section,
	.drivers-section {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}

	.review-card {
		min-width: calc(50% - 20px);
	}

	.seo-header {
		font-size: 2rem;
	}
}

/* Tablet Styles */
@media (max-width: 768px) {
	.desktop-nav {
		display: none;
	}

	.hamburger-menu {
		display: flex;
	}

	.header-right {
		gap: 20px;
	}

	.header-phone {
		font-size: 1rem;
	}

	/* Mobile Header */
	header {
		width: 100vw;
		margin: 0;
		padding: 15px 20px;
		box-sizing: border-box;
		position: relative;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
		border-radius: 0;
	}

	/* Content adjustments */
	.content {
		margin-top: 40px;
	}

	.seo-header {
		margin-top: 75px;
		padding: 0 20px;
		font-size: 1.5rem;
	}

	/* Banner adjustments */
	.banner-section {
		height: 300px;
		border-radius: 15px;
		margin: 100px 15px 0 15px;
		width: calc(100% - 20px);
	}

	.banner-title {
		font-size: 1.5rem;
	}

	.banner-subtitle {
		font-size: 1rem;
	}

	/* Address fields */
	.address-row {
		flex-direction: column;
	}

	.address-field {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.address-field input {
		width: calc(100% - 52px);
		flex: 1 1 auto;
		margin-bottom: 0;
		padding-right: 15px;
	}

	.mobile-map-button {
		display: flex;
		position: relative;
		flex: 0 0 44px;
		transform: none;
		top: auto;
		right: auto;
	}

	/* Hide desktop map on mobile */
	.desktop-map {
		display: none;
	}

	/* Form adjustments */
	.form-container {
		padding: 20px;
	}

	.tariff-option {
		flex-direction: column;
		text-align: center;
	}

	.tariff-image {
		width: 100%;
		height: 80px;
		margin: 10px 0 0 0;
	}

	/* Reviews adjustments */
	.review-card {
		min-width: calc(100% - 20px);
		padding: 15px;
	}

	.add-review-section {
		padding: 20px;
	}

	.star {
		font-size: 1.5rem;
	}

	.slider-btn {
		width: 45px;
		height: 45px;
		font-size: 1.3rem;
	}

	/* About section adjustments */
	.about-section,
	.drivers-section {
		padding: 40px 15px;
	}

	.about-features,
	.drivers-benefits {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.contact-details {
		grid-template-columns: 1fr;
	}

	.feature-item,
	.benefit-item {
		padding: 20px;
	}

	/* Map popup adjustments */
	.map-popup {
		height: 70vh;
		border-radius: 10px;
	}

	.map-popup-header {
		padding: 12px 15px;
	}
}

/* Mobile Styles */
@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}

	.logo {
		font-size: 1rem;
	}

	.header-phone span:last-child {
		display: none;
	}

	.seo-header {
		font-size: 1.2rem;
	}

	.advantages-section,
	.reviews-section,
	.about-section,
	.drivers-section {
		padding: 30px 15px;
		margin: 30px 0;
	}

	.advantages-section h2,
	.reviews-section h2,
	.about-section h2,
	.drivers-section h2 {
		font-size: 1.8rem;
	}

	.advantage-card {
		padding: 20px 15px;
	}

	.advantage-icon {
		font-size: 2.5rem;
	}

	.slider-btn {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	.address-field {
		gap: 6px;
	}

	.address-field input {
		width: calc(100% - 50px);
	}

	.mobile-map-button {
		width: 40px;
		height: 40px;
		flex: 0 0 40px;
	}

	.form-container {
		margin-top: 20px;
		padding: 15px;
	}

	#submit-btn {
		padding: 15px;
		font-size: 16px;
	}
}

/* Small Mobile Devices */
@media (max-width: 360px) {
	.banner-section {
		height: 250px;
	}

	.seo-header {
		font-size: 1.1rem;
	}

	.advantages-grid {
		grid-template-columns: 1fr;
	}

	.contact-item {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}
}

/* Print Styles */
@media print {
	.header-phone,
	.hamburger-menu,
	.mobile-map-button,
	.map-container,
	#submit-btn,
	.add-review-section,
	.slider-controls {
		display: none !important;
	}

	body {
		background: white;
		color: black;
		font-size: 12pt;
	}

	.container {
		max-width: none;
		margin: 0;
		padding: 0;
	}

	.advantages-section,
	.reviews-section,
	.about-section,
	.drivers-section {
		box-shadow: none;
		border: 1px solid #ccc;
		margin: 20px 0;
		page-break-inside: avoid;
	}
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.logo {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
}

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

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
	:root {
		--secondary-color: #ecf0f1;
		--text-color: #bdc3c7;
		--light-gray: #34495e;
		--white: #2c3e50;
		--black: #ecf0f1;
	}

	body {
		background-color: #ffffff;
		color: var(--text-color);
	}
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Focus styles for better accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid var(--accent-color);
	outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
	position: absolute;
	top: -40px;
	left: 6px;
	background: var(--primary-color);
	color: white;
	padding: 8px;
	text-decoration: none;
	border-radius: var(--border-radius-small);
	z-index: 10000;
	transition: top 0.3s;
}

.skip-link:focus {
	top: 6px;
}
.header-container {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	gap: 20px;
}

/* Логотип в первой колонке */
.logo {
	color: var(--primary-color) !important;
	font-size: 1.8rem;
	font-weight: bold;
	text-decoration: none;
	justify-self: start; /* Выравнивание по левому краю */
}

/* Меню по центру */
.header-center {
	justify-self: center;
}

/* Правая часть */
.header-right {
	justify-self: end; /* Выравнивание по правому краю */
	display: flex;
	align-items: center;
	gap: 20px;
}

/* Мобильная версия для grid */
@media (max-width: 768px) {
	.header-container {
		grid-template-columns: auto auto;
		gap: 15px;
	}

	.header-center {
		display: none;
	}

	.logo {
		grid-column: 1;
	}

	.header-right {
		grid-column: 2;
	}
}
