/* ============================================
   GKHT Exotics — Home Page Styles
   ============================================ */

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -20% 0 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Fallback gradient if no image set */
  background-color: #111;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  max-width: 700px;
}

.hero__label {
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.2s forwards;
}

.hero__title {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.4s forwards;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--gray-5);
  line-height: 1.6;
  margin-bottom: 44px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.9s ease 0.8s forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ---- TICKER ---- */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
  padding: 18px 0;
  background: var(--gray-1);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gray-4);
  text-transform: uppercase;
}

.ticker__dot {
  color: var(--gray-3);
  flex-shrink: 0;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- INTRO ---- */
.intro__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

.intro__body {
  color: var(--gray-5);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 28px 0 36px;
  max-width: 560px;
}

/* ---- FEATURED FLEET ---- */
.featured__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 56px;
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 56px;
}

/* Car card */
.car-card {
  background: var(--gray-1);
  overflow: hidden;
  transition: transform var(--transition);
}

.car-card:hover {
  transform: translateY(-4px);
}

.car-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.car-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.car-card:hover .car-card__image img {
  transform: scale(1.04);
}

.car-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gray-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--gray-3);
}

.car-card__img-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gray-3);
  text-transform: uppercase;
}

.car-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 4px 10px;
  border: 1px solid var(--gray-2);
}

.car-card__body {
  padding: 24px 28px 28px;
}

.car-card__body .label {
  margin-bottom: 8px;
}

.car-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.car-card__specs {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--gray-4);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.car-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gray-2);
  padding-top: 20px;
}

.car-card__price {
  font-size: 0.85rem;
  color: var(--gray-4);
}

.car-card__price strong {
  color: var(--white);
}

.featured__cta {
  text-align: center;
}

/* ---- PROCESS ---- */
.process__header {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.process__step {
  background: var(--gray-1);
  padding: 40px 32px;
  position: relative;
}

.process__num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-2);
  line-height: 1;
  margin-bottom: 24px;
}

.process__step h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.process__step p {
  font-size: 0.9rem;
  color: var(--gray-4);
  line-height: 1.7;
}

/* ---- STATS ---- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stats__item {
  padding: 50px 40px;
  background: var(--gray-1);
  text-align: center;
}

.stats__num {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

/* ---- CTA BAND ---- */
.cta-band {
  padding: 80px 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band__actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ---- PHOTO STRIP ---- */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.photo-strip__item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gray-1);
}

.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(25%);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.photo-strip__item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* ---- WIDE IMAGE DIVIDER ---- */
.wide-img-divider {
  position: relative;
  height: 65vh;
  min-height: 400px;
  overflow: hidden;
}

.wide-img-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
}

.wide-img-divider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.72) 0%,
    rgba(10,10,10,0.2) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
  gap: 20px;
}

.wide-img-divider__overlay h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  max-width: 480px;
  line-height: 1.1;
}

/* ---- HOME CAR CARD IMAGE TREATMENT ---- */
.car-card__image img {
  filter: grayscale(15%);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.car-card:hover .car-card__image img {
  filter: grayscale(0%);
}

/* ============================================
   RESPONSIVE — HOME
   ============================================ */
@media (max-width: 1024px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .intro__inner { grid-template-columns: 1fr; gap: 24px; }
  .featured__grid { grid-template-columns: 1fr; gap: 2px; }
  .process__steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip__item { aspect-ratio: 16 / 9; }
  .wide-img-divider__overlay { padding: 0 28px; }
}
