/* ========================================
   RESERVE YOUR CAR PAGE
   Premium dark theme — matches site design
   ======================================== */

/* Page Background — dark to match site */
.reserve-page {
  background: #0a0a0a;
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Subtle crosshatch texture */
.reserve-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Ambient radial glow */
.reserve-page::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- Background Vector Decorations ---- */
.reserve-decorations {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.reserve-deco {
  position: absolute;
  color: #fff;
  opacity: 0.035;
}

/* Steering Wheel — top-right, large */
.deco-steering {
  top: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  animation: reserve-rotate 80s linear infinite;
  opacity: 0.04;
}

/* Gear — bottom-left */
.deco-gear {
  bottom: -50px;
  left: -50px;
  width: 240px;
  height: 240px;
  animation: reserve-rotate-reverse 60s linear infinite;
  opacity: 0.04;
}

/* Speedometer — middle-left */
.deco-gauge {
  top: 50%;
  left: 5%;
  width: 150px;
  height: 150px;
  transform: translateY(-50%) rotate(-15deg);
  opacity: 0.025;
}

/* Disc Brake — top-left area */
.deco-disc {
  top: 8%;
  left: 20%;
  width: 120px;
  height: 120px;
  animation: reserve-rotate 100s linear infinite;
  opacity: 0.025;
}

/* Shield — bottom-right */
.deco-shield {
  bottom: 12%;
  right: 8%;
  width: 100px;
  height: 100px;
  opacity: 0.03;
  transform: rotate(8deg);
}

/* Wrench — center-right */
.deco-wrench {
  top: 35%;
  right: 3%;
  width: 90px;
  height: 90px;
  opacity: 0.025;
  transform: rotate(-25deg);
}

@keyframes reserve-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes reserve-rotate-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* Ensure container content is above decorations */
.reserve-container {
  position: relative;
  z-index: 1;
}

/* Main Container */
.reserve-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 40px;
}

/* Back Link */
.reserve-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-bottom: 28px;
  transition: all 0.25s ease;
}

.reserve-back-link:hover {
  color: #fff;
  gap: 10px;
}

.reserve-back-link i,
.reserve-back-link svg {
  width: 18px;
  height: 18px;
}

/* Two Column Layout — vertical center aligned */
.reserve-layout {
  display: flex;
  gap: 56px;
  align-items: center;
}

/* ============================================================
   LEFT COLUMN: Car Card
   ============================================================ */
.reserve-car-card {
  flex: 0 0 360px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.reserve-car-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.reserve-car-image {
  width: 100%;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.reserve-car-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.reserve-car-card:hover .reserve-car-image img {
  transform: scale(1.03);
}

.reserve-car-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #e63946;
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  z-index: 2;
}

.reserve-car-details {
  padding: 22px 24px 26px;
}

.reserve-car-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
  letter-spacing: -0.3px;
}

.reserve-car-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}

.reserve-car-specs {
  display: flex;
  gap: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reserve-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  padding: 0 8px;
  text-align: center;
}

.reserve-spec:first-child {
  align-items: flex-start;
  text-align: left;
  padding-left: 0;
}

.reserve-spec:last-child {
  align-items: flex-end;
  text-align: right;
  padding-right: 0;
}

.reserve-spec:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.reserve-spec-icon {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.35);
}

.reserve-spec-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.reserve-spec-value {
  font-family: 'Exo 2', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   RIGHT COLUMN: Reserve Info
   ============================================================ */
.reserve-info {
  flex: 1;
  min-width: 0;
}

/* Title */
.reserve-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 36px;
  font-weight: 300;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.reserve-title strong {
  font-weight: 800;
}

/* Subtitle */
.reserve-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 32px;
  letter-spacing: 0.8px;
  font-style: italic;
}

/* ---- Trust Badges Row ---- */
.reserve-trust-badges {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.trust-badge-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-badge-icon svg,
.trust-badge-icon i {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.5);
  stroke-width: 1.6;
}

.trust-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trust-badge-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.trust-badge-label {
  font-family: 'Exo 2', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

/* ---- Reservation Option (single) ---- */
.reserve-options {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.reserve-option {
  flex: 0 1 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 18px 24px;
  cursor: default;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.3s ease;
}

.reserve-option.active {
  border-color: #e63946;
  background: #e63946;
  box-shadow: 0 4px 24px rgba(230, 57, 70, 0.25);
}

.reserve-option.active .option-text,
.reserve-option.active .option-text span {
  color: #fff;
}

/* Radio button */
.option-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.3s ease;
  background: transparent;
}

.reserve-option.active .option-radio {
  border-color: #fff;
  background: #fff;
}

.reserve-option.active .option-radio::after {
  content: '✓';
  font-size: 12px;
  font-weight: 800;
  color: #e63946;
  line-height: 1;
}

.option-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.option-text span {
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
  transition: color 0.3s ease;
}

.option-info {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.reserve-option.active .option-info {
  color: rgba(255, 255, 255, 0.55);
}

.option-info:hover {
  color: rgba(255, 255, 255, 0.8) !important;
  transform: scale(1.2);
}

.reserve-option.active .option-info:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ---- Reserve CTA Button ---- */
.reserve-submit-btn {
  display: block;
  width: 100%;
  padding: 18px;
  background: #fff;
  color: #0a0a0a;
  border: none;
  border-radius: 10px;
  font-family: 'Exo 2', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.reserve-submit-btn:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12);
  letter-spacing: 2px;
}

/* ============================================================
   TOOLTIP OVERLAY
   ============================================================ */
.tooltip-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.tooltip-overlay.active {
  display: flex;
}

.tooltip-content {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 32px;
  max-width: 420px;
  width: 90%;
  position: relative;
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.5);
  animation: tooltipIn 0.25s ease;
}

@keyframes tooltipIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tooltip-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.tooltip-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.tooltip-content h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.tooltip-content p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1050px) {
  .reserve-layout {
    gap: 40px;
  }

  .reserve-car-card {
    flex: 0 0 320px;
  }

  .reserve-trust-badges {
    flex-wrap: wrap;
    gap: 10px;
  }

  .trust-badge {
    flex: 0 0 calc(50% - 5px);
  }
}

@media (max-width: 860px) {
  .reserve-page {
    align-items: flex-start;
    padding-top: 90px;
  }

  .reserve-layout {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }

  .reserve-car-card {
    flex: 1 1 auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .reserve-title {
    font-size: 30px;
  }

  .reserve-trust-badges {
    gap: 10px;
  }

  .trust-badge {
    flex: 0 0 calc(50% - 5px);
  }
}

@media (max-width: 640px) {
  .reserve-page {
    padding-top: 76px;
  }

  .reserve-container {
    padding: 20px 16px 48px;
  }

  .reserve-title {
    font-size: 24px;
  }

  .reserve-subtitle {
    margin-bottom: 24px;
    font-size: 13px;
  }

  .reserve-car-image img {
    height: 200px;
  }

  .reserve-trust-badges {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .reserve-submit-btn {
    padding: 16px;
    font-size: 14px;
  }

  .reserve-car-details {
    padding: 18px 20px 22px;
  }

  .reserve-car-name {
    font-size: 20px;
  }
}

/* Very tall screens — keep vertically centered */
@media (min-height: 800px) {
  .reserve-page {
    padding-top: 80px;
    padding-bottom: 0;
  }
}