/*
Theme Name: Manus Car Rental Theme
Theme URI: http://yourwebsite.com/
Author: Manus AI
Author URI: http://yourwebsite.com/
Description: A custom theme designed for the Manus Car Rental plugin, based on the user's provided design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mcr-theme
*/

/* Basic Reset and Setup */
/*--------------------------------------------------------------
1.0 CSS Variables
--------------------------------------------------------------*/


:root {
    /* Colors */
    --accent-color: rgb(240, 107, 16);
	--light-color: rgb(130, 130, 130);
	--dark-color: rgb(58, 58, 58);
	--light-border-color: rgb(226, 226, 226);
    --light-bg-color: rgb(242, 242, 242);
	--dark-bg-color: rgb(46, 46, 46);
	--alert-border-color: rgb(204, 0, 0); 
	--alert-bg-color: rgb(254, 238, 238);
}
/* Reset & Normalize */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
* {
  font-variation-settings: normal !important;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
	line-height: 1.6;
    padding: 0;
    font-family: "OpenSansLocal", sans-serif;
    color: var(--light-color);
	font-size: 14px;
	overflow-x: hidden;
	background-color: #fff;
	font-synthesis: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
  
    text-decoration: none;
}
 ul {
	list-style-type: none;
 }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* --- Top Bar --- */
.top-bar {
    background-color: var(--light-bg-color);
    font-size: 14px;
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.top-bar-content a:hover, .top-bar-content a:active {
	
}
.top-bar-content .contact-phone {
	padding-left: 12px;
}
.top-bar-content .contact-phone a span {
	color: var(--dark-color);
	font-style: italic;
	font-weight: 700;
	text-decoration: none;
	padding-left: 8px;
}
.top-bar-content .contact-phone a i {
	color: var(--accent-color);
}
.top-bar-content .contact-phone a:hover, .top-bar-content .contact-phone a:active,
.top-bar-content .contact-account a:hover, .top-bar-content .contact-account a:active {
	color: var(--accent-color);
}
.top-bar-content .contact-phone i {
	color: var(--accent-color);
	font-size: 12px;
}

.top-bar-content .contact-text {
    color: var(--light-color);
    
    margin-left: 20px;
}
.top-bar-content .contact-account {
	padding-left: 12px;
}
.top-bar-content .contact-account a {
	color: var(--light-color);
}

/* --- Header --- */
.main-header {
    padding: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
	margin-top: -35px;	
}
.logo img {
	width: 155px;
	height: auto;
}
.logo a {
    font-weight: 700;
    
    text-decoration: none;
}
body.menu-open {
    overflow: hidden;
}
.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-menu li {
    margin-left: 25px;
}

.main-menu a {
    text-decoration: none;
    color: var(--light-color);
    font-weight: 700;
    padding: 5px 0;
	text-transform: uppercase;
    transition: color 0.2s;
}

.main-menu a:hover {
    color: var(--accent-color);
}
/* Desktop Styles (default) */
.main-navigation {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
}

.menu-overlay {
    display: none;
}

.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-menu li {
    margin: 0 15px;
}

.main-menu a {
    text-decoration: none;
    padding: 10px 5px;
    display: block;
}
/* Mobile Styles */
@media (max-width: 576px) {
    /* Hamburger Button */
	.main-navigation {
		position: absolute;
		top: 0;
		left: 0;
	}
    .mobile-menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px 10px;
        z-index: 1001;
        position: relative;
		margin-top: -40px;
    }
    
    .hamburger-line {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--dark-color);
        margin: 5px 0;
        transition: all 0.3s ease;
    }
    
    /* Hamburger animation when open */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Sliding Menu */
    .main-menu {
        position: fixed;
        top: 0;
        left: -280px; /* Hidden off-screen */
        width: 280px;
        height: 100vh;
        background-color: #fff;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .main-menu.active {
        left: 0; /* Slide in */
    }
    
    .main-menu ul {
        flex-direction: column;
        padding: 60px 0 20px;
    }
    
    .main-menu li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-menu a {
        padding: 15px 20px;
        color: #333;
    }
    
    .main-menu a:hover {
        background-color: #f5f5f5;
    }
    
    .current-menu-item a {
        background-color: var(--light-bg-color);
        color: var(--accent-color);
    }
}
/* --- Hero Section --- */
.hero-section {
    background: url('images/mhm_autorent_bg.jpeg') no-repeat center center/cover; /* Placeholder image */
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 50%;
    text-align: right;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}
.entry-title, .page-title {
	color: var(--dark-color);
}
h1.entry-title {
	margin-top: 20px;
	font-size: 25px;
}
/* Booking Box Styling (Targeting the plugin's output) */
.mcr-booking-box {
    background-color: #fff;
    padding: 25px 15px;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
}
.car-page-single {
	width: 30%;
}
.car-page-single .location_text {
	bottom: -15px;
}	
.mcr-form-group {
	position: relative;
	margin-bottom: 15px;
}
.location_text {
    position: absolute;
    bottom: -23px;
    left: 0;
    color: var(--accent-color);
    font-size: 13px;
    line-height: 12px;
}
.car-page-single .mcr-booking-box .mcr-form-group {
	margin-bottom: 15px;
}
.car-page-single .mcr-booking-box .check {
	text-align: center;
}
.mcr-booking-box .check {
	margin-bottom: 15px;
}
.car-page-search #mcr-booking-form {
	display: flex;
	gap: 10px;
	align-items: end;
	justify-content: space-evenly;
}
.car-page-search .mcr-booking-box .wrapper-pickup, 
.car-page-search .mcr-booking-box .wrapper-dropoff {
	display: flex;
	align-items: end;
	gap: 10px;
	position: relative;
}
.mcr-booking-box h2 {
    margin-top: 0;
    font-size: 20px;
    color: #F06B10;
}
.close-box {
	position: absolute;
	padding: 10px;
	font-size: 16px;
	color: var(--dark-color);
	top: 0;
	right: 18px;
	z-index: 1000;
	cursor: pointer;
}
.mcr-booking-box input[type="text"],
.mcr-booking-box input[type="datetime-local"],
.mcr-booking-box select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--light-border-color);
    border-radius: 3px;
    box-sizing: border-box;
	font-size: 14px;

}
.mcr-booking-box label {
	display: block;
}
.car-page-search .mcr-booking-box .pickup-date-input, 
.car-page-search .mcr-booking-box .dropoff-date-input {
	max-width: 140px;
}
.car-page-search .mcr-booking-box .pickup-time-select, 
.car-page-search .mcr-booking-box .dropoff-time-select {
	min-width: 110px;
}
.mcr-booking-box input[type="text"]:focus, .mcr-booking-box select:focus,
.mcr-booking-box input[type="text"]:active, .mcr-booking-box select:active,
.mcr-booking-box input[type="text"]:hover, .mcr-booking-box select:hover {
	outline: none;
	box-shadow: none;
	border-color: var(--light-bg-color);

}
.mcr-booking-box .button-primary, #mcr-book-now {
    background-color: #F06B10;
    color: #fff;
    border: none;
    padding: 12px 0px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    height: 40px;
	min-width: 170px;
    
}

/* --- Featured Cars Section --- */
.featured-cars-section {
    padding: 80px 0;
    text-align: center;
}

.featured-cars-section h2 {
    font-size: 40px;
    margin-bottom: 50px;
	text-transform: uppercase;
	color: var(--dark-color);
	font-style: italic;
	font-weight: 700;
}


/* Car List
	--------------------------------*/
	

	.category-filters {
	padding: 0;
	margin: 0 auto 25px auto;
	list-style: none;
	text-align: center;
	border-radius: 50px;
	}

	.category-filters li {
	cursor: pointer;
	display: inline-block;
	padding: 12px 18px 14px 18px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	border: 1px solid var(--light-border-color);
	color: var(--light-color);
	margin: 0;
	transition: all ease-in-out 0.3s;
	background: white;
	text-transform: uppercase;
	}
	.category-filters li + li {
		border-left: 0;
	}
	.category-filters li:hover,
	.category-filters li.filter-active {
	color: #fff;
	background: var(--accent-color);
	}
	.category-filters li:last-child {
	margin-right: 0;
	}
	.car-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
	}
	.car-grid .car-item {
	margin-bottom: 30px;
	overflow: hidden;
	flex: 1;
    text-align: left;
    padding: 15px;
    border-radius: 5px;
}
	.featured-cars-section .car-grid .car-item {
	width: 30%;
	}
	.car-grid .car-item img {
	width: 100%;
	height: auto;
	position: relative;
	top: 0;
	transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
	}

	.car-grid .car-info {
	transition: all ease-in-out 0.3s;
	padding: 15px;
	}

	.car-grid .car-item .car-info h3 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 5px;
	text-transform: uppercase;
	font-style: italic;
	}
	.car-grid .car-item .car-info h3 a {
		color: var(--dark-color);
	}
	.car-grid .car-item .car-info p {
	font-size: 14px;
	margin-bottom: 0;
	}
	.car-grid .car-item .car-info .price {
		color: var(--accent-color);
		font-weight: 700;
		float: right;
	}
	.car-grid .car-item .car-info .price .total-price {
		color: var(--dark-color);
	
	}
	.car-grid .car-item .car-info .category {
		font-weight: 700;
		color: var(--light-color);
		font-size: 11px;
		text-transform: uppercase;
	}
	.car-grid .car-item .car-info .details {
		
		gap: 10px;
		margin-top: 15px;
	}
	.car-grid .car-item .car-info .details li {
		padding: 5px 10px;
		border: 1px solid var(--light-border-color);
		color: var(--light-color);
		font-weight: 700;
		font-size: 11px;
		text-transform: uppercase;
		display: inline-block;
		margin-right: 5px;
		margin-bottom: 5px;
	}
	.car-grid .car-item .car-info .details-link {
	right: 15px;
	}
	.car-grid .car-item .car-info .preview-link,
	.car-grid .car-item .car-info .details-link {
	position: absolute;
	right: calc(50% - 34px);
	font-size: 50px;
	top: calc(50% - 24px);
	color: white;
	transition: ease-in-out 0.3s;
	}

	.car-grid .car-item .car-info .preview-link:hover,
	.car-grid .car-item .car-info .details-link:hover {
	color: #a4ebd4;
	}

	
	.car-grid .car-item .car-info {
	opacity: 1;
	bottom: 0;
	}

	.top-header {
		height: 100px;
		background: url('images/mhm_autorent_bg.jpeg') no-repeat center center;
	}

	/* --- Arcihive Car Page Styling --- */
	.car-archive-content .car-grid {
		display: block;
	}
	.car-archive-content .car-item img {
		padding-top: 20px;
		max-width: 350px;
		height: auto;
		
	}
	.car-archive-content .car-info {
		width: 56%;
	}
	.car-archive-content .car-photo {
		width: 40%;
	}
	.car-archive-content .car-item {
		display: flex;
		gap: 4%;
		max-width: 100%;
		border-top: 1px solid var(--light-border-color);
		padding: 0;
	}
	.car-archive-content {
		padding: 20px 0 80px 0;
	}
	.car-page-search {
		margin-top: -40px;
	}
	
	

 /* --- Single Car Page Styling --- */
	.single-car-content {
		margin-bottom: 20px;
		padding-bottom: 20px;
		border-bottom: 1px solid var(--light-border-color);
		height: 100%;
		position: relative;
		width: 70%;

		
	}
	.single-car-content .car-photo img {
		max-width: 100%;
		height: auto;
	}
	.mcr-single-car-container {
		padding: 40px 0;
	}

	.mcr-single-car-content-wrapper {
		display: flex;
		gap: 30px;
	}

	.mcr-main-content {
		flex: 2;
	}


	.mcr-sidebar {
		flex: 1;
		background-color: var(--light-bg-color);
		margin-top: 25px;
	}

	/* Gallery Styling */
	.mcr-car-gallery {
		margin-bottom: 30px;
	}

	.mcr-main-image img {
		width: 100%;
		height: auto;
		max-height: 500px;
		object-fit: cover;
		margin-bottom: 10px;
	}

	.mcr-thumbnails {
		display: flex;
		gap: 10px;
		overflow: hidden;
	}

	.mcr-thumbnail {
		width: 100px;
		height: 70px;
		cursor: pointer;
		border: 1px solid #eee;
		transition: border-color 0.2s;
	}

	.mcr-thumbnail img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.mcr-thumbnail:hover {
		border-color: #F06B10;
	}

	/* Info Boxes */
	.mcr-single-car-container .car-grid .car-item {
		max-width: 100%;
		padding: 0;
	}
	.mcr-single-car-container .car-grid .car-info {
		padding: 0;
	}
	.mcr-main-info {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		margin-bottom: 30px;
	}

	.mcr-main-info .info-item {
		background-color: #f5f5f5;
		padding: 10px 15px;
		border-radius: 5px;
		text-align: center;
		min-width: 100px;
	}

	.mcr-main-info .info-item span {
		display: block;
		font-weight: 700;
		font-size: 16px;
	}

	.mcr-main-info .info-item small {
		display: block;
		font-size: 12px;
		color: #777;
	}

	/* Accessories */
	.mcr-accessories ul {
		list-style: none;
		padding: 0;
		display: flex;
		flex-wrap: wrap;
		gap: 15px;
	}

	.mcr-accessories li {
		flex: 0 0 45%; /* Two columns */
		font-size: 14px;
	
	}

	/* Sidebar Booking Box */
	.mcr-booking-box-single {
		border: 1px solid #fff;
		padding: 20px;
		border-radius: 5px;
		position: sticky;
		top: 20px; /* Stick it below the header */
	}
	.deposit {
		
	}
	.mcr-booking-box-single h3 {
		margin-top: 0;
		border-bottom: 1px solid #fff;
		padding-bottom: 10px;
		margin-bottom: 20px;
	}
	.price-per-day {
		color: var(--accent-color);
	}
	/* Price Summary */
	.mcr-price-summary {
		margin-top: 20px;
		padding-top: 10px;
		border-top: 1px solid #fff;
	}

	.mcr-price-line {
		display: flex;
		justify-content: space-between;
		margin-bottom: 5px;
		font-size: 14px;
	}
	.mcr-price-line:has(input:checked){
		color: var(--dark-color);
	}
	
	.mcr-price-line.mcr-total-line {
		font-weight: 700;
		font-size: 16px;
		padding-top: 10px;
		border-top: 1px dashed #ccc;
		margin-top: 10px;
	}

	.mcr-extras-list {
		margin-bottom: 20px;
	}

	.mcr-extras-list h3 {
		font-size: 16px;
		margin-bottom: 10px;
		border-bottom: none;
		padding-bottom: 0;
	}

	.mcr-extra-item label {
		display: block;
		font-size: 14px;
		margin-bottom: 5px;
	}
	#mcr-book-now {
		margin-top: 20px;
	}
	.mcr-book-car-button {
		width: 100%;
	
	}

	/* Responsive adjustments */
	@media (max-width: 768px) {
		.mcr-single-car-content-wrapper {
			flex-direction: column;
		}

		.mcr-sidebar {
			order: -1; /* Move sidebar to the top on mobile */
			position: static;
		}
	}

	/* --- Single Car Page Styling --- */
	.mcr-car-title {
		color: var(--dark-color);
		font-size: 22px;
	}
	.mcr-single-car-container {
		padding: 40px 0;
	}

	.mcr-single-car-content-wrapper {
		display: flex;
		gap: 30px;
	}

	.mcr-main-content {
		flex: 2;
	}
	.mcr-additional-info h3, .mcr-accessories h3, .mcr-booking-box-single h3,
	.mcr-extras-section h4, .mcr-price-summary h4, .mcr-extras-list h4
	 {
		color: var(--dark-color);
		font-size: 16px;
	}
	.mcr-extras-section, .mcr-price-summary {
		color: var(--dark-color);
	}
	.mcr-price-summary .mcr-total-row {
		font-weight: 700;
		font-size: 16px;
		margin-top: 10px;
	}
	.mcr-sidebar {
		flex: 1;
		min-width: 275px;
	}
	.mcr-sidebar a {
		color: var(--dark-color);
	}
	.mcr-sidebar p {
		font-size:  14px;
		margin-bottom: 5px;
	}
	.mcr-sidebar label {
		font-size: 11px;
		text-transform: uppercase;
	}
	.mcr-sidebar .change-link {
		text-align: right;
	}
	 .mcr-sidebar .change-link a {
		
		font-size: 12px;
		color: var(--accent-color);
		
	}
	/* Gallery Styling */
	.mcr-car-gallery {
		margin-bottom: 30px;
	}

	.mcr-main-image img {
		width: 100%;
		height: auto;
		max-height: 500px;
		object-fit: cover;
		margin-bottom: 10px;
	}

	.mcr-thumbnails {
		display: flex;
		gap: 10px;
		overflow-x: auto;
	}

	.mcr-thumbnail {
		width: 100px;
		height: 70px;
		cursor: pointer;
		border: 1px solid #eee;
		transition: border-color 0.2s;
	}

	.mcr-thumbnail img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.mcr-thumbnail:hover {
		border-color: #F06B10;
	}
	

	/*Single */
	.single-car-wrapper {
		display: flex;
		gap: 20px;
	}
	
	
	.mcr-feature-list li {
		width: 50%;
		display: inline-block;
		
	}
	.mcr-feature-list li:before {
		color: var(--accent-color);
		font-family: "Font Awesome 5 Free";
		content: "\f00c";
		font-weight: 900;
		padding-right: 8px;
	}

	/* Responsive adjustments */
	@media (max-width: 768px) {
		.mcr-single-car-content-wrapper {
			flex-direction: column;
		}

		.mcr-sidebar {
			order: -1; /* Move sidebar to the top on mobile */
			position: static;
		}
	}

.mcr-breadcrumbs {
	margin-bottom: 40px;
}
.mcr-breadcrumbs a {
	color: var(--dark-color);
}
.car-list {
	
	margin-top: 50px;
	margin-bottom: 50px;
}
.car-list-content {
	margin-top: 50px;
}
.all-cars-button {
    margin-top: 20px;
	margin-bottom: 15px;
	
}

.all-cars-button a {
    background-color: #333;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 700;
    text-transform: uppercase;
	font-size: 12px;
}
.with-extras {
	font-style: italic;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px !important;
}
/* --- How It Works Section --- */
.how-it-works-section {
    
    padding: 80px 0;
    text-align: center;
}

.how-it-works-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.steps-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.step-item {
    flex: 1;
    max-width: 20%;
}

.step-item .icon {
    font-size: 40px;
    color: #F06B10;
    margin-bottom: 15px;
}

.step-item p {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

/* --- Contact Us Section --- */
.contact-section {
	background-color: var(--light-bg-color);
}
.contact-parts {
	display: flex;
	gap: 10%;
}
.contact-form {
	padding-top: 50px;
	width: 45%;
}

.contact-form h2 {
    font-size: 36px;
    margin-bottom: 30px;
	padding-left: 15px;
	color: var(--dark-color);
	text-transform: uppercase;
	font-style: italic;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--light-border-color);
    
    box-sizing: border-box;
}

.contact-form .name-email-row {
    display: flex;
    gap: 20px;
}

.contact-form .name-email-row input {
    flex: 1;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button, input[type="submit"].wpcf7-form-control {
    background-color: var(--dark-bg-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    font-style: italic;
}

.contact-map {
    
	width: 45%;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-info-box {
    background-color: var(--accent-color);
    color: #fff;
    padding: 40px 25px;
    display: flex;
    justify-content: space-between;
}

.map-info-box .address,
.map-info-box .contact-details {
    flex: 1;
	font-style: italic;
	text-transform: uppercase;
	font-weight: 700;

}

.map-info-box .contact-details a {
    text-align: right;
	color: var(--dark-color);

}
.map-info-box .contact-details a:hover, .map-info-box .contact-details a:active {
	color: #fff;
}
/* --- Footer --- */
.main-footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    font-size: 14px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
}

.social-icons a {
    color: #fff;
    margin-left: 15px;
    font-size: 18px;
}


/* Banner Section */
.banner-section {
    width: 100%;
    min-height: 500px;
    background-image: url("images/banner.jpg"); /* replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
}
.banner-section .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: flex-end;
}

.banner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.15)
    );
    z-index: 0;
}

.banner-section,
.banner-section, .container {
    position: relative;
}

.banner-content {
    max-width: 600px;
	color: #fff;
}
.banner-content {
    position: relative;
    z-index: 1;
}
.banner-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-content p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.6;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .banner-section {
        min-height: 300px;
    }

    .banner-section .container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .banner-section {
        min-height: 260px;
    }

    .banner-content {
        max-width: 100%;
    }
}

strong,
b {
  font-weight: 700;
  /* font-variation-settings: "wght" 700;
  font-optical-sizing: auto; */
}

.checkout-button {
	background-color: var(--accent-color) !important;
}

.wc-block-checkout {
	color: var(--dark-color);
}
.wc-block-components-checkout-place-order-button {
	color: var(--dark-color);
	border: 0 solid #000;
	color: #fff;
	background-color: var(--dark-bg-color);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 14px;
}
.woocommerce-error {
	border-color: var(--alert-border-color);
	background-color: var(--alert-bg-color);
}
.woocommerce-error:focus-visible {
	outline: none;
}
.wc-block-components-product-details.wc-block-components-product-details li {
	margin-bottom: 5px;
}
.wc-block-components-order-summary-item__individual-prices {
	display: none;
}
.wc-block-components-product-details__name {
	color: var(--light-color);
}
.wp-block-woocommerce-checkout-order-summary-subtotal-block {
	padding-bottom: 15px !important;
	border-bottom: 1px solid var(--light-border-color) !important;
}
.wc-block-components-formatted-money-amount {
	font-weight: 700;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .hero-section {
        height: 500px;
        padding: 50px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .car-grid {
        flex-direction: column;
        align-items: center;
    }

    .car-item {
        margin-bottom: 20px;
    }

    .steps-grid {
        flex-wrap: wrap;
    }

    .step-item {
        max-width: 45%;
        margin-bottom: 20px;
    }
	.contact-form .name-email-row {
    	display: block ;
    
	}
	.contact-parts {
		display: block;
	}
    .contact-form {
		width: 100%;
	}
    .footer-content {
        flex-direction: column;
    }

    .footer-links, .social-icons {
        margin-top: 15px;
    }
	.car-page-search #mcr-booking-form {
		display: block;
	}
	.car-page-search .mcr-booking-box .wrapper-pickup, 
	.car-page-search .mcr-booking-box .wrapper-dropoff {
		margin-bottom: 15px;
		justify-content: space-around;
	}
	.car-page-search .mcr-booking-box .mcr-form-group {
		width: 30%;
	}
	.car-page-search .mcr-booking-box .pickup-date-input, 
	.car-page-search .mcr-booking-box .dropoff-date-input {
		max-width: 100%;
	}
	.mcr-booking-box .check {
		text-align: center;
	}
	.single-car-wrapper {
		display: block;
	}
	.single-car-content {
		width: 100%;
	}
	.car-page-single {
		width: 100%;
	}
	.mcr-booking-box .check {
		margin-bottom: 5px;
	}
	
}
@media (max-width: 768px) {
	.hero-section {
        height: 400px;
	}
	.contact-form {
		order: 0;
	}
	.contact-form-container {
		width: 100%;
	}
	.contact-map {
		float: none;
		width: 100%;
		order: 1;
	}
	.featured-cars-section .car-grid .car-item {
		width: 50%;
	}
	
	.booking-box-layer .mcr-booking-box {
		margin: 0 auto;
		position: relative;
	}
	.car-archive-content .car-item {
		display: block;
	}
	.car-archive-content .car-item .car-photo, .car-archive-content .car-item .car-info {
		width: 100%;
	}	

	
}
@media (max-width: 576px) {
	.hero-section {
        height: 300px;
	}
    .top-bar-content .contact-text {
		display: none;
    }

    .header-content {
        flex-direction: column;
    }

    .contact-phone-num {
		display: none;
	}

    .contact-form .name-email-row {
        flex-direction: column;
        gap: 0;
    }

	.woocommerce ul.order_details li {
		float: none !important;
		border-right: 0 !important;
		margin-bottom: 5px !important;
	}
	.hero-text h1 {
		font-size: 32px;
	}	
	.featured-cars-section h2, .contact-form h2 {
		font-size: 30px;
	}
	.map-info-box {
		display: block;
	}
	.featured-cars-section .car-grid .car-item {
		width: 100%;
	}

	
	.car-page-search .mcr-booking-box .wrapper-pickup, 
	.car-page-search .mcr-booking-box .wrapper-dropoff {
		display: block;
		
		
	}
	.car-page-search .mcr-booking-box .mcr-form-group {
		width: 100%;
		
	}
	
	.mcr-booking-box .check {
		text-align: center;
	}
	.book-now {
		width: 100%;
	}
	.location_text {
		bottom: -15px;
	}	
}

