/* ==================================================
   Homepage styles (index.html only)
   Brand: #FF6700 accent, #16181D charcoal, light neutrals
   ================================================== */

:root {
  --home-accent: #ff6700;
  --home-accent-hover: #e65c00;
  --home-accent-tint: rgba(255, 103, 0, 0.1);
  --home-charcoal: #16181d;
  --home-text: #1f2329;
  --home-muted: #5f6670;
  --home-light: #f6f7f9;
  --home-border: #e8eaed;
  --home-shadow: 0 6px 20px rgba(20, 25, 35, 0.06);
  --home-shadow-hover: 0 16px 36px rgba(20, 25, 35, 0.11);
}

/* charcoal behind the footer's rounded corners and top margin */
#wrapper {
  background: var(--home-charcoal);
}

#content h2 {
  color: var(--home-text);
}

/* ---------- hero ---------- */
#section-hero {
  position: relative;
}

#section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(22, 24, 29, 0.78) 0%,
    rgba(22, 24, 29, 0.55) 45%,
    rgba(22, 24, 29, 0.82) 100%
  );
}

#section-hero > .container {
  position: relative;
  z-index: 1;
}

#section-hero h5 {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#section-hero h1 {
  line-height: 1.08;
  letter-spacing: -1px;
}

#section-hero h1 .id-color {
  color: var(--home-accent) !important;
}

#section-hero .lead {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* "a.btn-main" matches the specificity of the theme's a.btn-main:active /
   a.btn-main:focus reset (style.css), so the size holds in every state */
.hero-ctas a.btn-main {
  padding: 12px 26px;
  font-size: 15px;
}

/* secondary button on dark backgrounds */
a.btn-main.btn-ghost-light,
a.btn-main.btn-ghost-light:visited {
  background: transparent;
  color: #ffffff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
}

a.btn-main.btn-ghost-light:hover {
  background: #ffffff;
  color: var(--home-charcoal);
  box-shadow: inset 0 0 0 1.5px #ffffff, 0 8px 18px rgba(0, 0, 0, 0.2);
}

a.btn-main.btn-ghost-light:active {
  background: rgba(255, 255, 255, 0.88);
  color: var(--home-charcoal);
  box-shadow: inset 0 0 0 1.5px #ffffff;
}

.btn-main .fa {
  margin-right: 6px;
}

#section-hero .de_count {
  padding: 18px 18px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(22, 24, 29, 0.45);
}

#section-hero .de_count h5 {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

#section-hero .de-images img {
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

/* ---------- feature marquee ---------- */
.home-marquee {
  background: var(--home-charcoal) !important;
}

.de-marquee-list .d-item-txt.stroke {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: rgba(255, 255, 255, 0.92);
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.5px;
  font-weight: 600;
}

.home-marquee .de-marquee-list .d-item-dot {
  width: 8px;
  height: 8px;
  padding: 4px;
  margin: 0 36px;
  transform: translateY(-8px);
  background: var(--home-accent);
}

/* ---------- featured cars ---------- */
#section-cars .de-item {
  height: 100%;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  box-shadow: var(--home-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#section-cars .de-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow-hover);
}

#section-cars .col-lg-3 {
  margin-bottom: 30px;
}

#section-cars .de-item.mb30 {
  margin-bottom: 0;
}

#section-cars .d-img {
  overflow: hidden;
  border-radius: 10px;
}

#section-cars .d-img img {
  transition: transform 0.4s ease;
}

#section-cars .de-item:hover .d-img img {
  transform: scale(1.04);
}

#section-cars .d-info {
  padding: 18px 8px 6px;
}

#section-cars .de-item h4 {
  color: var(--home-text);
  font-size: 19px;
  font-weight: 600;
}

#section-cars .d-atr {
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 500;
}

#section-cars .de-item .d-atr-group {
  border-bottom-color: var(--home-border);
}

#section-cars .d-price {
  margin-top: 14px;
}

.d-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.d-rate small {
  display: block;
  color: #8a9099;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.d-rate strong {
  display: block;
  color: var(--home-text);
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.d-rate strong em {
  color: var(--home-muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.d-rate + .d-rate strong {
  font-size: 17px;
  line-height: 1.6;
}

/* card button: secondary (outline) so the page CTAs stay dominant */
#section-cars .de-item .d-price a.btn-main {
  position: static;
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 10px 16px;
  background: transparent;
  color: var(--home-accent);
  box-shadow: inset 0 0 0 1.5px var(--home-accent);
}

#section-cars .de-item .d-price a.btn-main:hover,
#section-cars .de-item:hover .d-price a.btn-main {
  background: var(--home-accent);
  color: #ffffff;
}

#section-cars .view-all .btn-main {
  padding: 12px 30px;
  font-size: 15px;
}

/* ---------- testimonials ---------- */
#section-testimonials .de-image-text {
  border-radius: 14px;
}

#section-testimonials .de-image-text .d-text {
  background: linear-gradient(
    180deg,
    rgba(22, 24, 29, 0.94) 0%,
    rgba(22, 24, 29, 0.8) 55%,
    rgba(22, 24, 29, 0.35) 100%
  );
}

#section-testimonials .d-quote {
  color: var(--home-accent) !important;
}

#section-testimonials blockquote {
  color: rgba(255, 255, 255, 0.86);
}

#section-testimonials blockquote .by {
  color: #ffffff;
}

/* ---------- why-choose-us features ---------- */
.home-features h2 {
  font-size: 34px;
  line-height: 1.2;
}

.home-features .de-icon {
  width: 64px;
  padding: 16px 0;
  font-size: 28px;
  color: var(--home-accent);
  background: var(--home-accent-tint);
  border-radius: 14px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.home-features .col-md-3:hover .de-icon {
  color: #ffffff;
  background: var(--home-accent);
  transform: translateY(-3px);
}

.home-features h4 {
  color: var(--home-text);
  font-size: 18px;
}

.home-features p {
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- tabs ---------- */
#section-img-with-tab .nav-tabs {
  border-bottom: 1px solid var(--home-border);
}

#section-img-with-tab .nav-tabs .nav-link {
  padding: 12px 18px;
  color: var(--home-muted);
  font-weight: 600;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

#section-img-with-tab .nav-tabs .nav-link:hover {
  color: var(--home-text);
}

#section-img-with-tab .nav-tabs .nav-link.active {
  color: var(--home-text);
  background: transparent;
  border-bottom-color: var(--home-accent);
}

#section-img-with-tab .tab-content p {
  color: var(--home-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- blog ---------- */
#section-news .bloglist .post-image {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

#section-news .bloglist .post-image img {
  transition: transform 0.4s ease;
}

#section-news .bloglist:hover .post-image img {
  transform: scale(1.04);
}

#section-news .post-text h4 a {
  color: var(--home-text);
}

#section-news .post-text h4 a:hover {
  color: var(--home-accent);
}

#section-news .post-text p {
  color: var(--home-muted);
}

/* "Read More" as a text link to keep orange buttons for booking actions */
#section-news a.btn-main {
  padding: 0;
  background: transparent;
  color: var(--home-accent);
  box-shadow: none;
}

#section-news a.btn-main::after {
  content: "\2192";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

#section-news a.btn-main:hover {
  background: transparent;
  color: var(--home-accent-hover);
  box-shadow: none;
  transform: none;
}

#section-news a.btn-main:hover::after {
  transform: translateX(4px);
}

#section-news a.btn-main:active {
  background: transparent;
  color: var(--home-accent-hover);
  box-shadow: none;
  transform: none;
}

/* ---------- call to action ---------- */
/* the CTA band already sits on charcoal, so the footer needs no top gap here */
.site-footer {
  margin-top: 0;
}

#section-call-to-action {
  padding: 90px 0;
  background: var(--home-charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#section-call-to-action .cta-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--home-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#section-call-to-action h2 {
  color: #ffffff;
  font-size: 40px;
  line-height: 1.2;
}

#section-call-to-action p {
  max-width: 560px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

#section-call-to-action .cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

#section-call-to-action .cta-actions .btn-main {
  padding: 13px 28px;
  font-size: 15px;
}

#section-call-to-action .cta-link {
  display: inline-block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#section-call-to-action .cta-link:hover {
  color: #ffffff;
}

/* ---------- keyboard focus for homepage button variants ---------- */
a.btn-main.btn-ghost-light:focus-visible,
#section-cars .de-item .d-price a.btn-main:focus-visible {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--home-accent);
}

#section-news a.btn-main:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- tablet / mobile ---------- */
@media (max-width: 991px) {
  #section-hero .col-lg-5 {
    order: 1;
  }

  #section-hero .col-lg-6 {
    order: 2;
    margin-top: 40px;
  }

  #section-hero .di-small-2 {
    right: 0;
  }

  /* keep the three counters on one row */
  #section-hero .col-lg-5 .row > .col-lg-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding-left: 6px;
    padding-right: 6px;
  }

  #section-hero .de_count {
    padding: 14px 12px 6px;
  }

  #section-hero .de_count h3 {
    font-size: 28px;
  }

  #section-hero .de_count h5 {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  #section-hero h1 {
    font-size: 38px;
  }

  #section-hero .lead {
    font-size: 16px;
  }

  .hero-ctas .btn-main {
    flex: 1 1 auto;
  }

  .de-marquee-list .d-item-txt.stroke {
    font-size: 28px;
    line-height: 36px;
  }

  .home-marquee .de-marquee-list .d-item-dot {
    margin: 0 22px;
    transform: translateY(-5px);
  }

  .home-features h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .home-features .col-md-3 {
    margin-bottom: 26px;
  }

  #section-call-to-action {
    padding: 64px 0;
  }

  #section-call-to-action h2 {
    font-size: 30px;
  }

  #section-call-to-action .cta-actions .btn-main {
    flex: 1 1 100%;
  }
}
