/* Vehicle Gallery & Booking Section */
.gallery-booking-section {
  display: flex;
  gap: 30px;
  margin: 40px 30px;
  background: var(--color-bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  align-items: stretch;
  min-height: 500px;
}

/* Gallery Section (70%) */
.vehicle-gallery {
  flex: 6;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.main-slider {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-color: var(--color-primary-light);
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

/* Fallback background colors if images don't load */
.slide:nth-child(1) {
  background-color: #2c5592;
}
.slide:nth-child(2) {
  background-color: #3a6cc8;
}
.slide:nth-child(3) {
  background-color: #1e3a8a;
}
.slide:nth-child(4) {
  background-color: #2d4ba8;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 20px;
  color: var(--color-text-light);
}

.slide-title {
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.slide-subtitle {
  font-size: 1rem;
  opacity: 0.9;
}

/* Placeholder text for slides */
.slide-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.2rem;
  text-align: center;
  width: 80%;
}
/* Ensure slide images fit perfectly */
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Keep slide content above the image */
.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 20px;
  color: var(--color-text-light);
  z-index: 2; /* ensures content overlays the image */
}

/* Booking Card Section (30%) */
.booking-card {
  flex: 4;
  background: var(--color-bg-white);
  /* border-radius: 0 var(--border-radius) var(--border-radius) 0; */
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 500px;
}

.booking-card-preview {
  padding: 30px 25px;
  text-align: center;
  cursor: pointer;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
  color: white;
  border-radius: 0 0 var(--border-radius) 0;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.booking-card-preview:hover {
  background: linear-gradient(
    135deg,
    var(--color-primary-light) 0%,
    var(--color-accent) 100%
  );
}

.booking-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.booking-card-preview h3 {
  margin: 0 0 15px 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.booking-card-preview p {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 80%;
}

.booking-features {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.booking-feature {
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
}

/* Modal for expanded booking form */
.booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.booking-modal-content {
  background: white;
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: var(--color-primary);
  color: white;
  padding: 20px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 25px;
}
.booking-form-header {
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-secondary-light)
  );
  position: relative;
  padding: 10px 15px;
  border-radius: 0 var(--border-radius) 0 0;
  text-align: center;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
  border-radius: 25px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* subtle shadow for depth */
}

/* Add diagonal overlay for a custom cut effect */
.booking-form-header::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 40px;
  background: inherit; /* use same gradient */
  transform: skewY(-3deg);
  transform-origin: top left;
  z-index: -1;
  border-radius: 0 var(--border-radius) 0 0;
}

/* Optional: animated gradient shine effect */
.booking-form-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  animation: slideShine 2s infinite;
  z-index: 2;
}

@keyframes slideShine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.booking-form-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Make input fields slightly smaller */
.booking-form .form-control {
  padding: 8px 10px;
  font-size: 0.95rem;
}

/* Side-by-side fields */
.form-row {
  display: flex;
  gap: 10px;
}
.form-row .form-group {
  flex: 1;
}

/* Booking card form general style */
.booking-card {
  flex: 4;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-white);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  min-height: 500px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  padding: 0;
}

.booking-form {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
}

/* Form styles */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--color-bg-white);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.input-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper:after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text-muted);
}

select.form-control {
  appearance: none;
}

.btn-book {
  background: var(--color-secondary);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 15px;
}

.btn-book:hover {
  background: var(--color-secondary-light);
  transform: translateY(-2px);
}
/* Read-only input style */
.booking-form .form-control[readonly] {
  background-color: #f0f0f0; /* light gray background */
  color: #555; /* darker text but muted */
  border: 1px solid #ccc; /* subtle border */
  cursor: not-allowed; /* cursor indicates non-editable */
}

/* Optional: prevent focus effect for readonly */
.booking-form .form-control[readonly]:focus {
  outline: none;
  box-shadow: none;
  border-color: #ccc;
}

/* Thumbnail list */
.thumbnail-list {
  display: flex;
  gap: 10px;
  padding: 15px;
  overflow-x: auto;
  background: var(--color-bg-light);
}

.thumbnail {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
  border: 2px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 0.8rem;
  text-align: center;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  border-color: var(--color-primary);
}

/* Navigation arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 10;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.nav-btn:hover {
  background: var(--color-primary);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .gallery-booking-section {
    flex-direction: column;
  }

  .vehicle-gallery,
  .booking-card {
    flex: none;
    width: 100%;
    min-height: 400px;
  }

  .main-slider {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    height: 350px;
  }

  .booking-card {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
  }

  .booking-card-preview {
    border-radius: 0;
    padding: 25px 20px;
  }
}


.wrap {
    width: 100%;
    max-width: var(--maxw);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

header.page-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

header.page-head img {
    width: 96px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

header.page-head img:hover {
    transform: scale(1.05);
}

header.page-head h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 700;
    color: var(--color-text-dark);
}

header.page-head p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

@media(max-width: 940px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card h2 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.spec-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.spec-key {
    width: 45%;
    color: var(--color-text-muted);
    font-size: 13px;
}

.spec-val {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-dark);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.feature-pill {
    background: var(--color-bg-light);
    color: var(--color-accent);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.feature-pill:hover {
    background: rgba(0, 166, 251, 0.15);
}

/* Right column: pricing & CTA */
.aside .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
}

.price-note {
    color: var(--color-text-muted);
    font-size: 13px;
}

.cta {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.btn {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    border: 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 62, 254, 0.25);
}

.btn.primary {
    background: var(--color-accent);
    color: var(--color-text-light);
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.1);
    color: var(--color-text-muted);
}

/* Pricing table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.pricing-table th,
.pricing-table td {
    padding: 12px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.pricing-table th {
    color: var(--color-text-muted);
    font-weight: 600;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.benefit {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.icon:hover {
    background: rgba(0, 166, 251, 0.2);
}

/* Content block */
.content h3 {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.content p {
    color: var(--color-text-dark);
    line-height: 1.7;
    font-size: 14px;
}

/* Small note */
.muted-note {
    font-size: 12px;
    color: var(--color-text-muted);
}
