/* =====================================================================
   TOKYO MOTORS RENTALS — style.css
   Luxury automotive theme. Built on Bootstrap 5.
   Palette: Black / White / Red / Silver / Dark Gray
   Fonts: Sora (display) + Inter (body) via Google Fonts (loaded in <head>)
   ---------------------------------------------------------------------
   Edit design tokens below to re-skin the whole site in one place.
   ===================================================================== */

:root {
  /* --- Brand colors --- */
  --tm-black:      #0a0a0b;   /* base background */
  --tm-charcoal:   #141518;   /* raised surfaces / cards */
  --tm-charcoal-2: #1c1e22;   /* card hover / inputs */
  --tm-gray:       #2a2d33;   /* borders / dividers */
  --tm-silver:     #c8ccd2;   /* metallic light text */
  --tm-silver-dim: #8b9199;   /* muted text */
  --tm-white:      #ffffff;
  --tm-off:        #f5f6f7;
  --tm-red:        #e11d2a;   /* primary accent */
  --tm-red-dark:   #b3121d;
  --tm-red-glow:   rgba(225, 29, 42, 0.35);

  /* --- Type --- */
  --tm-font-display: "Sora", system-ui, sans-serif; 
  --tm-font-body:    "Inter", system-ui, sans-serif;

  /* --- Radius & shadow --- */
  --tm-radius:    18px;
  --tm-radius-sm: 12px;
  --tm-shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.75);
  --tm-shadow-red: 0 18px 40px -12px var(--tm-red-glow);

  /* --- Layout --- */
  --tm-nav-h: 78px;
}

/* ------------------------------ Base ------------------------------ */
* { scroll-behavior: smooth; }

body {
  font-family: var(--tm-font-body);
  background: var(--tm-black);
  color: var(--tm-silver);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-face {
  font-family: var(--tm-font-display);
  color: var(--tm-white);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

a { color: var(--tm-silver); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--tm-white); }

p { line-height: 1.7; }

section { position: relative; }

.tm-section { padding: 96px 0; }
@media (max-width: 767px) { .tm-section { padding: 64px 0; } }

/* Signature eyebrow label used above section titles */
.tm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tm-font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--tm-red);
  margin-bottom: 16px;
}
.tm-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--tm-red);
  display: inline-block;
}

.tm-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.tm-lead  { color: var(--tm-silver-dim); font-size: 1.05rem; max-width: 620px; }

/* Metallic silver gradient text (used sparingly on big headings) */
.tm-metal {
  background: linear-gradient(180deg, #ffffff 0%, #c8ccd2 55%, #7d838b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------------------------------ Buttons ------------------------------ */
.btn { font-family: var(--tm-font-display); font-weight: 600; letter-spacing: .01em; border-radius: 999px; padding: .8rem 1.6rem; transition: all .28s ease; }

.btn-tm-red {
  background: var(--tm-red);
  color: #fff;
  border: 1px solid var(--tm-red);
  box-shadow: var(--tm-shadow-red);
}
.btn-tm-red:hover { background: var(--tm-red-dark); border-color: var(--tm-red-dark); color: #fff; transform: translateY(-2px); }

.btn-tm-ghost {
  background: transparent;
  color: var(--tm-white);
  border: 1px solid var(--tm-gray);
}
.btn-tm-ghost:hover { border-color: var(--tm-silver); background: rgba(255,255,255,.04); color: #fff; transform: translateY(-2px); }

.btn-tm-wa {
  background: #25d366;
  color: #06301a;
  border: none;
  font-weight: 700;
}
.btn-tm-wa:hover { background: #1fbe5a; color: #06301a; transform: translateY(-2px); }

.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* ------------------------------ Navbar ------------------------------ */
.tm-navbar {
  height: var(--tm-nav-h);
  background: transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.tm-navbar.scrolled {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tm-gray);
}
.tm-navbar .navbar-brand { display: flex; align-items: center; gap: 12px; }
.tm-navbar .navbar-brand img { height: 65px; width: auto; }

.tm-navbar .nav-link {
  font-family: var(--tm-font-display);
  font-weight: 500;
  font-size: .95rem;
  color: var(--tm-silver);
  margin: 0 .35rem;
  position: relative;
}
.tm-navbar .nav-link:hover,
.tm-navbar .nav-link.active { color: #fff; }
.tm-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .5rem; right: .5rem; bottom: -4px;
  height: 2px;
  background: var(--tm-red);
  border-radius: 2px;
}
.navbar-toggler { border: 1px solid var(--tm-gray); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem var(--tm-red-glow); }

.tm-nav-phone { color: var(--tm-white); font-family: var(--tm-font-display); font-weight: 600; }
.tm-nav-phone i { color: var(--tm-red); }

.tm-social a {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--tm-gray);
  border-radius: 50%;
  color: var(--tm-silver);
  transition: all .25s ease;
}
.tm-social a:hover { border-color: var(--tm-red); color: #fff; background: rgba(225,29,42,.12); }
/* Mobile view navbar background black */
@media (max-width: 767px) {
  .tm-navbar {
    background: var(--tm-black) !important;
    border-bottom: 1px solid var(--tm-gray);
  }

  /* Collapse menu background bhi black */
  .tm-navbar .navbar-collapse {
    background: var(--tm-black) !important;
  }

  /* Nav links ko white karna for visibility */
  .tm-navbar .nav-link {
    color: var(--tm-white) !important;
  }
}

/* ------------------------------ Hero ------------------------------ */
.tm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--tm-nav-h);
  overflow: hidden;
}
.tm-hero__bg {
  position: absolute; inset: 0;
  background: var(--tm-black) center/cover no-repeat;
  z-index: 0;
}
.tm-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.75) 42%, rgba(10,10,11,.25) 100%),
    linear-gradient(0deg, var(--tm-black) 2%, transparent 40%);
}
.tm-hero__inner { position: relative; z-index: 2; }
.tm-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.tm-hero .tm-lead { font-size: 1.15rem; }

/* Diagonal red speed line — the signature accent */
.tm-speedline {
  position: absolute;
  z-index: 1;
  right: -6%;
  top: 26%;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--tm-red));
  transform: rotate(-16deg);
  filter: drop-shadow(0 0 12px var(--tm-red-glow));
  opacity: .8;
}

/* Hero quick-feature chips */
.tm-chip { display: flex; align-items: center; gap: 12px; }
.tm-chip i { color: var(--tm-red); font-size: 1.4rem; }
.tm-chip strong { color: #fff; font-family: var(--tm-font-display); display: block; font-size: .98rem; }
.tm-chip span { font-size: .82rem; color: var(--tm-silver-dim); }

/* ------------------------------ Glass booking bar ------------------------------ */
.tm-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow);
}
.tm-book-bar { padding: 22px; margin-top: 44px; }
.tm-book-bar label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--tm-silver-dim); margin-bottom: 6px; }
.tm-book-bar .form-control,
.tm-book-bar .form-select {
  background: var(--tm-charcoal-2);
  border: 1px solid var(--tm-gray);
  color: var(--tm-white);
  border-radius: var(--tm-radius-sm);
  padding: .7rem .9rem;
}
.tm-book-bar .form-control::placeholder { color: var(--tm-silver-dim); }
.tm-book-bar .form-control:focus,
.tm-book-bar .form-select:focus {
  border-color: var(--tm-red);
  box-shadow: 0 0 0 .2rem var(--tm-red-glow);
  background: var(--tm-charcoal-2);
  color: #fff;
}

/* ------------------------------ Cards / Surfaces ------------------------------ */
.tm-card {
  background: var(--tm-charcoal);
  border: 1px solid var(--tm-gray);
  border-radius: var(--tm-radius);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  height: 100%;
}
.tm-card:hover { transform: translateY(-8px); border-color: rgba(225,29,42,.5); box-shadow: var(--tm-shadow); }

/* Vehicle card */
.tm-vehicle__media { position: relative; aspect-ratio: 16/10; background: var(--tm-charcoal-2); overflow: hidden; }
.tm-vehicle__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tm-card:hover .tm-vehicle__media img { transform: scale(1.06); }
.tm-badge-year {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10,10,11,.7);
  border: 1px solid var(--tm-gray);
  color: var(--tm-silver);
  font-family: var(--tm-font-display);
  font-size: .74rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.tm-badge-type {
  position: absolute; top: 12px; right: 12px;
  background: var(--tm-red);
  color: #fff;
  font-family: var(--tm-font-display);
  font-size: .72rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.tm-vehicle__body { padding: 22px; }
.tm-vehicle__name { font-size: 1.25rem; margin-bottom: 4px; }
.tm-specs { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0; padding: 14px 0; border-top: 1px solid var(--tm-gray); border-bottom: 1px solid var(--tm-gray); }
.tm-specs .spec { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--tm-silver-dim); }
.tm-specs .spec i { color: var(--tm-red); font-size: .95rem; }

.tm-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.tm-price-grid .cell { background: var(--tm-charcoal-2); border: 1px solid var(--tm-gray); border-radius: var(--tm-radius-sm); padding: 10px 8px; text-align: center; }
.tm-price-grid .k { display: block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tm-silver-dim); }
.tm-price-grid .v { display: block; font-family: var(--tm-font-display); font-weight: 700; color: #fff; font-size: .92rem; margin-top: 3px; }
.tm-price-grid .v small { color: var(--tm-red); font-weight: 600; }

/* Icon feature card */
.tm-feature { padding: 30px 26px; text-align: left; }
.tm-feature .ico {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(225,29,42,.18), rgba(225,29,42,.04));
  border: 1px solid rgba(225,29,42,.4);
  color: var(--tm-red); font-size: 1.5rem;
  margin-bottom: 18px;
}
.tm-feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.tm-feature p { font-size: .92rem; color: var(--tm-silver-dim); margin: 0; }

/* Service card */
.tm-service { padding: 32px 28px; }
.tm-service .num { font-family: var(--tm-font-display); font-weight: 700; color: var(--tm-gray); font-size: 2.4rem; line-height: 1; }
.tm-service h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.tm-service:hover .num { color: var(--tm-red); transition: color .3s ease; }

/* Stat strip */
.tm-stat .n { font-family: var(--tm-font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; }
.tm-stat .n span { color: var(--tm-red); }
.tm-stat .l { color: var(--tm-silver-dim); font-size: .9rem; letter-spacing: .04em; }

/* Check list */
.tm-check { list-style: none; padding: 0; margin: 0; }
.tm-check li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: var(--tm-silver); }
.tm-check li i { color: var(--tm-red); margin-top: 3px; }

/* Pricing table plan */
.tm-plan { padding: 34px 30px; position: relative; }
.tm-plan.popular { border-color: var(--tm-red); box-shadow: var(--tm-shadow-red); }
.tm-plan .tag { position: absolute; top: -14px; left: 30px; background: var(--tm-red); color: #fff; font-family: var(--tm-font-display); font-size: .72rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; letter-spacing: .08em; }
.tm-plan .plan-name { font-size: 1.15rem; color: var(--tm-silver); text-transform: uppercase; letter-spacing: .1em; }
.tm-plan .plan-price { font-family: var(--tm-font-display); font-weight: 800; font-size: 2.6rem; color: #fff; margin: 8px 0 2px; }
.tm-plan .plan-price small { font-size: .95rem; color: var(--tm-silver-dim); font-weight: 500; }

/* ------------------------------ FAQ (accordion) ------------------------------ */
.accordion-item { background: var(--tm-charcoal); border: 1px solid var(--tm-gray); border-radius: var(--tm-radius-sm) !important; margin-bottom: 14px; overflow: hidden; }
.accordion-button {
  background: var(--tm-charcoal);
  color: #fff;
  font-family: var(--tm-font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 1.2rem 1.4rem;
}
.accordion-button:not(.collapsed) { background: var(--tm-charcoal-2); color: #fff; box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem var(--tm-red-glow); }
.accordion-button::after { filter: invert(1) grayscale(1) brightness(1.4); }
.accordion-body { color: var(--tm-silver-dim); background: var(--tm-charcoal); }

/* ------------------------------ Contact ------------------------------ */
.tm-contact-info .item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.tm-contact-info .item .ico { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(225,29,42,.12); border: 1px solid rgba(225,29,42,.35); color: var(--tm-red); font-size: 1.2rem; }
.tm-contact-info .item h4 { font-size: 1rem; margin-bottom: 2px; }
.tm-contact-info .item p, .tm-contact-info .item a { font-size: .94rem; color: var(--tm-silver-dim); margin: 0; }

.tm-form .form-label { color: var(--tm-silver); font-size: .85rem; font-family: var(--tm-font-display); font-weight: 500; margin-bottom: 6px; }
.tm-form .form-control, .tm-form .form-select {
  background: var(--tm-charcoal);
  border: 1px solid var(--tm-gray);
  color: #fff; border-radius: var(--tm-radius-sm);
  padding: .8rem 1rem;
}
.tm-form .form-control::placeholder { color: var(--tm-silver-dim); }
.tm-form .form-control:focus, .tm-form .form-select:focus { border-color: var(--tm-red); box-shadow: 0 0 0 .2rem var(--tm-red-glow); background: var(--tm-charcoal); color: #fff; }

.tm-map { border-radius: var(--tm-radius); overflow: hidden; border: 1px solid var(--tm-gray); min-height: 320px; }
.tm-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ------------------------------ Page header (inner pages) ------------------------------ */
.tm-pagehead {
  padding: calc(var(--tm-nav-h) + 70px) 0 70px;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(225,29,42,.16), transparent 60%),
    var(--tm-charcoal);
  border-bottom: 1px solid var(--tm-gray);
}
.tm-pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.tm-breadcrumb { font-size: .88rem; color: var(--tm-silver-dim); }
.tm-breadcrumb a { color: var(--tm-silver); }
.tm-breadcrumb .sep { color: var(--tm-red); margin: 0 8px; }

/* ------------------------------ CTA band ------------------------------ */
.tm-cta-band {
  background:
    radial-gradient(600px 200px at 15% 50%, rgba(225,29,42,.20), transparent 70%),
    var(--tm-charcoal);
  border: 1px solid var(--tm-gray);
  border-radius: var(--tm-radius);
  padding: 44px;
}

/* ------------------------------ Footer ------------------------------ */
.tm-footer { background: #060607; border-top: 1px solid var(--tm-gray); padding: 72px 0 0; }
.tm-footer h5 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tm-silver); margin-bottom: 22px; }
.tm-footer a { display: block; color: var(--tm-silver-dim); font-size: .93rem; margin-bottom: 12px; }
.tm-footer a:hover { color: var(--tm-red); padding-left: 4px; transition: all .2s ease; }
.tm-footer .brand-blurb { color: var(--tm-silver-dim); font-size: .93rem; }
.tm-footer__bottom { border-top: 1px solid var(--tm-gray); margin-top: 44px; padding: 22px 0; font-size: .85rem; color: var(--tm-silver-dim); }
.tm-footer__bottom a { display: inline; margin: 0; }

/* ------------------------------ Floating WhatsApp + Back to top ------------------------------ */
.tm-wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.8rem;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  animation: tm-pulse 2.4s infinite;
}
.tm-wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes tm-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.tm-top {
  position: fixed; right: 24px; bottom: 94px; z-index: 1039;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--tm-charcoal-2); border: 1px solid var(--tm-gray);
  color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease;
}
.tm-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.tm-top:hover { border-color: var(--tm-red); color: var(--tm-red); }

/* ------------------------------ Scroll reveal ------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ------------------------------ Accessibility / motion ------------------------------ */
:focus-visible { outline: 2px solid var(--tm-red); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------ Utilities ------------------------------ */
.text-red { color: var(--tm-red) !important; }
.bg-charcoal { background: var(--tm-charcoal); }
.divider-line { height: 1px; background: var(--tm-gray); border: 0; }
.tm-hr-red { width: 60px; height: 3px; background: var(--tm-red); border: 0; border-radius: 3px; }
