
html, body {
  height: 100%;
}
body {
  background: #f5f7fa;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  color: #222;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
footer.site-footer {
  margin-top: auto;
}
header {
  margin: 0;
}
header {
  background: linear-gradient(90deg, #701244 0%, #701244 100%);
  box-shadow: 0 4px 18px rgba(25,118,210,0.10);
  padding: 0;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}
header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}
header .header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
header .header-logo {
  height: 48px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(25,118,210,0.12);
  background: #fff;
}
header .header-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
header nav {
  display: flex;
  gap: 32px;
}
header nav a {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}
header nav a:hover {
  color: #ffd600;
  border-bottom: 2px solid #ffd600;
}

footer.site-footer {
  background: linear-gradient(90deg, #1565c0 0%, #701244 100%);
  color: #fff;
  padding: 28px 0 16px 0;
  box-shadow: 0 -2px 12px rgba(25,118,210,0.08);
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}
footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
footer .footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
footer .footer-copyright {
  font-size: 0.98rem;
  opacity: 0.85;
}
/* Slider Banner Styles */
.slider-section {
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  box-shadow: 0 2px 16px rgba(25,18,36,0.07);
  margin-bottom: 32px;
}
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(112,18,68,0.10);
  background: #f5f7fa;
  display: flex;
  margin: 5px;
  
}
.slider-slide {
  flex: 1 0 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.7s;
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}
.slider-slide.active {
  display: flex;
  opacity: 1;
  z-index: 2;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(112,18,68,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(112,18,68,0.12);
}
.slider-arrow:hover {
  background: #1565c0;
}
.slider-arrow-left {
  left: 18px;
}
.slider-arrow-right {
  right: 18px;
}
.slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(112,18,68,0.08);
}

/* Modal Booking Lightbox Styles */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(30, 30, 40, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  margin: auto;
  top: 0; left: 0; right: 0; bottom: 0;
}
.modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(112,18,68,0.18);
  padding: 32px 28px 24px 28px;
  max-width: 520px;
  width: 96vw;
  position: relative;
  animation: modalFadeIn 0.3s;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.2rem;
  color: #701244;
  cursor: pointer;
  font-weight: bold;
  z-index: 2;
}
.modal-car-header {
  text-align: center;
  margin-bottom: 18px;
}
.modal-car-img {
  width: 90%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(112,18,68,0.08);
  margin-bottom: 10px;
}
.modal-car-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #701244;
  margin-bottom: 6px;
}
.modal-car-meta {
  font-size: 1.08rem;
  color: #333;
  margin-bottom: 6px;
}
.modal-car-price {
  font-weight: 600;
  color: #1565c0;
  margin-left: 4px;
}
.modal-car-status {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2e7d32;
  margin-bottom: 8px;
}
.modal-car-discount {
  font-size: 0.98rem;
  color: #701244;
  margin-bottom: 18px;
}
.booking-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.booking-form h3 {
  font-size: 1.15rem;
  color: #701244;
  margin-bottom: 8px;
}
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}
.form-row label {
  font-size: 0.98rem;
  color: #333;
  margin-bottom: 2px;
}
.form-row input, .form-row select {
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid #bbb;
  font-size: 1rem;
  background: #f5f7fa;
}
.modal-book-btn {
  margin-top: 10px;
  background: linear-gradient(90deg, #1565c0 0%, #701244 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(112,18,68,0.10);
  transition: background 0.2s, transform 0.2s;
}
.modal-book-btn:hover {
  background: linear-gradient(90deg, #701244 0%, #1565c0 100%);
  transform: scale(1.04);
}

.full-box-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(112,18,68,0.08);
}
.emoji {
  font-size: 1.15em;
  vertical-align: middle;
  margin-right: 2px;
}
.car-card {
  align-items: stretch;
  justify-content: flex-start;
  min-height: 420px;
}

.car-drive-btn {
  display: block;
  width: 100%;
  margin-top: 18px;
  margin-bottom: 0;
  letter-spacing: 0.5px;
  height: 65px;
}
.car-price {
  font-size: 1.08em;
  padding: 4px 12px;
}
/* Car Catalog Styles */
.car-catalog-section {
  max-width: 1200px;
  margin: 0 auto 48px auto;
  padding: 0 16px;
}
.catalog-title {
  font-size: 2rem;
  font-weight: 700;
  color: #701244;
  margin-bottom: 28px;
  text-align: center;
}
.car-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}
.car-card {
  background: #fff;

  box-shadow: 0 4px 24px rgba(112,18,68,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  min-height: 420px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.car-card:hover {
  box-shadow: 0 8px 32px rgba(112,18,68,0.18);
  transform: translateY(-4px) scale(1.02);
}
.car-img-wrap {
  width: 100%;
  height: 180px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.car-img {
  max-width: 90%;
  background: #f5f7fa;
  max-height: 160px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(112,18,68,0.08);
}
.car-price {
  position: absolute;
  top: 12px;
  right: 16px;
  background: #1565c0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 4px 10px;
  border-bottom-left-radius: 15px;
  box-shadow: 0 2px 8px rgba(21,101,192,0.12);
  top: 0;
  right: 0;
}

.car-title-wrap {
  position: absolute;
  top: 140px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  background-color: #333;
  width: 100%;
}


.car-info {
  padding: 38px 18px 16px 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.car-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #701244;
  margin-bottom: 2px;
  text-align: center;
}
.car-type, .car-passengers, .car-gear, .car-price, .car-status, .car-ac {
  font-size: 1.05rem;
  color: #333;
}
.car-price {
  font-weight: 600;
  color: #FFFFFF;
}
.car-status {
  font-weight: 600;
  margin-top: 4px;
  
}
.car-status.available {
  color: #2e7d32;
  text-align: end;
}
.car-status.not-available {
  color: #c62828;
  text-align: end;
}
.car-drive-btn {
  background: linear-gradient(90deg, #1565c0 0%, #701244 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 10px 30px;
  bottom: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(112,18,68,0.10);
  transition: background 0.2s, transform 0.2s;
}
.car-drive-btn:disabled {
  background: #bdbdbd;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.7;
}
.car-drive-btn:hover:not(:disabled) {
  background: linear-gradient(90deg, #701244 0%, #1565c0 100%);

}

.booking-detail-container {
	max-width: 1200px;
	margin: 30px auto;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.booking-box {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
	padding: 18px 20px;
}
.car-detail-row {
	display: flex;
	align-items: center;
	gap: 16px;
}
.car-detail-img {
	width: 170px;
	height: 145px;
	object-fit: contain;
	border-radius: 6px;
	border: 1px solid #eee;
}
.booking-box h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.1em;
}

	.total-highlight {
		background: linear-gradient(90deg, #701244 0%, #701244 100%);
		color: #ffffffff;
		font-size: 1.5em;
		font-weight: bold;
		border-radius: 8px;
		padding: 16px 0;
		text-align: center;
		margin-top: 18px;
		box-shadow: 0 2px 8px rgba(255,215,0,0.12);
		letter-spacing: 1px;
	}
	.vehicle-header-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 10px;
	}
	.change-vehicle-btn {

		color: #000000;
		padding: 7px 18px;
		border-radius: 6px;
		text-decoration: none;
		font-weight: 200;
		font-size: 0.8em;
		box-shadow: 0 2px 8px rgba(0,123,255,0.10);
		transition: background 0.2s;
		border: none;
		outline: none;
	}
	.change-vehicle-btn:hover {
		background: #0056b3;
	}
	.location-header-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 10px;
	}
	.change-location-btn {
	
		color: #000000;
		padding: 7px 18px;
		border-radius: 6px;
		text-decoration: none;
		font-weight: 200;
		font-size: 0.8em;
		box-shadow: 0 2px 8px rgba(0,123,255,0.10);
		transition: background 0.2s;
		border: none;
		outline: none;
	}
	.change-location-btn:hover {
		background: #004085;
	}
	.datetime-header-row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 10px;
	}
	.change-datetime-btn {

		color: #000000;
		padding: 7px 18px;
		border-radius: 6px;
		text-decoration: none;
		font-weight: 200;
		font-size: 0.8em;
		box-shadow: 0 2px 8px rgba(0,123,255,0.10);
		transition: background 0.2s;
		border: none;
		outline: none;
	}
	.change-datetime-btn:hover {
		background: #0056b3;
	}

		/* Proceed Button Styling */
		.proceed-btn {
			display: block;
			width: 95%;
			margin: 5px auto 0 auto;
			background: linear-gradient(90deg, #007bff 0%, #00c6ff 100%);
			color: #fff;
			font-size: 1.25em;
			font-weight: 600;
			padding: 16px 0;
			border: none;
			border-radius: 10px;
			box-shadow: 0 2px 12px rgba(0,123,255,0.10);
			cursor: pointer;
			transition: background 0.2s, transform 0.2s;
			letter-spacing: 1px;
		}
		.proceed-btn:hover {
			background: linear-gradient(90deg, #0056b3 0%, #00aaff 100%);
			transform: translateY(-2px) scale(1.03);
			box-shadow: 0 4px 18px rgba(0,123,255,0.18);
		}

.booking-detail-customer {
	max-width: 1200px;
	margin: 30px auto;
	display: flex;
	flex-direction: column;
	gap: 18px;
}    

/* Customer Login Form Styling */
  .customer-form-row {
    margin-bottom: 18px;
  }
  .customer-form-row label {
    font-weight: 600;
    font-size: 1.08em;
    color: #701244;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 6px;
  }
  .customer-form-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 7px;
    border: 1px solid #701244;
    font-size: 1em;
    background: #f8faff;
    transition: border 0.2s;
    margin-top: 2px;
  }
  .customer-form-input:focus {
    border: 1.5px solid #701244;
    outline: none;
    background: #eaf4ff;
  }
  .customer-form-btn {
    width: 100%;
    background: linear-gradient(90deg, #701244 0%, #00c6ff 100%);
    color: #fff;
    font-size: 1.15em;
    font-weight: 600;
    padding: 12px 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,123,255,0.10);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    letter-spacing: 1px;
    margin-top: 10px;
  }
  .customer-form-btn:hover {
    background: linear-gradient(90deg, #0056b3 0%, #00aaff 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 18px rgba(0,123,255,0.18);
  }


.account-box {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
	padding: 18px 20px;
}

@media (max-width: 600px) {
  .car-catalog-section {
    padding: 0 4px;
  }
  .car-catalog-grid {
    gap: 14px;
  }
  .car-card {
    min-height: 340px;
    border-radius: 8px;
  }
  .car-img-wrap {
    height: 290px;
    
  }
  .car-img {
    width: 450px;
    max-height: 190px;
    border-radius: 6px;
  }
  .car-info {
    padding: 10px 8px 10px 8px;
    gap: 6px;
  }
  .car-name {
    font-size: 1.08rem;
    text-align: center;
  }
  .car-type, .car-passengers, .car-gear, .car-price, .car-status, .car-ac {
    font-size: 0.98rem;
  }
  .car-drive-btn {
    font-size: 0.98rem;
    padding: 8px 16px;
  
  }
.car-title-wrap {
  position: absolute;
  top: 200px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  background-color: #333;
  width: 100%;
}
.car-price {

  background: #1565c0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 15px 10px;
  border-bottom-left-radius: 15px;
  box-shadow: 0 2px 8px rgba(21,101,192,0.12);
  top: 0;
  right: 0;
}


  .modal-content {
    padding: 16px 6px 12px 6px;
    max-width: 98vw;
    max-height: 92vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .modal-car-img {
    max-width: 98vw;
  }

  header .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
  }
  header nav {
    gap: 18px;
    margin-top: 8px;
  }
  header .header-logo {
    height: 38px;
  }
  header .header-title {
    font-size: 1.3rem;
  }
  footer .footer-inner {
    padding: 0 12px;
  }
  footer .footer-title {
    font-size: 1rem;
  }
  footer .footer-copyright {
    font-size: 0.88rem;
  }
  .slider-section {
    min-height: 120px;
    margin-bottom: 18px;
  }
  .slider-container {
    height: 90px;
    border-radius: 6px;
  }
  .slider-img {
    border-radius: 6px;
  }

  .modal-content {
    padding: 16px 6px 12px 6px;
    max-width: 98vw;
  }
  .modal-car-img {
    max-width: 98vw;
  }

  .car-catalog-grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .car-card {
    min-height: 320px;
    border-radius: 8px;
    max-width: 98vw;
  }

  .fullwidth-time {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.1em;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
  }

.car-detail-img {
	width: 90px;
	height: 55px;
}
.change-vehicle-btn {
  font-size: 0.6em;
}
.change-location-btn {
  font-size: 0.56em;
}
.change-datetime-btn {
  font-size: 0.55em;
}

.car-detail-row {
	display: flex;
	justify-content: center;
	align-items: center;
}	


}



