/* Vanity van page — extends generator.css with a few page-specific pieces */

/* Hero: image is a wide fleet shot, keep the lead van in frame */
.vv-hero .gen-hero__img {
  object-position: 62% 55%;
}

@media (max-width: 899px) {
  .vv-hero .gen-hero__img {
    object-position: 58% 55%;
  }

  /* Lighter at the top so the lead van reads, solid behind the copy below */
  .vv-hero .gen-hero__shade {
    background:
      linear-gradient(180deg, rgb(6 20 39 / 0.2) 0%, rgb(6 20 39 / 0.5) 34%, rgb(6 20 39 / 0.9) 70%, rgb(6 20 39 / 0.94) 100%);
  }
}

/* Keep headline readable while letting the fleet show through on the right */
@media (min-width: 900px) {
  .vv-hero .gen-hero__shade {
    background:
      linear-gradient(100deg, rgb(6 20 39 / 0.94) 0%, rgb(8 26 54 / 0.8) 40%, rgb(10 31 68 / 0.2) 72%, rgb(10 31 68 / 0.08) 100%),
      linear-gradient(0deg, rgb(6 20 39 / 0.4), transparent 45%);
  }
}

/* Two-card options grid */
.gen-options__grid--duo {
  max-width: 60rem;
  margin-inline: auto;
}

@media (min-width: 700px) {
  .gen-options__grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.gen-options__grid--duo .rental-card__title {
  min-height: 0;
}

.gen-options__grid--duo .rental-card__media img {
  object-position: center 55%;
}

/* Inside the van — photo cards */
.vv-gallery {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 700px) {
  .vv-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.vv-shot {
  display: flex;
  flex-direction: column;
  overflow: visible;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .vv-shot:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
}

.vv-shot__media {
  position: relative;
  border-radius: 1rem 1rem 0 0;
  background: var(--navy-800);
}

.vv-shot__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}

.vv-shot__icon {
  position: absolute;
  left: 1.1rem;
  bottom: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--yellow-400);
  color: var(--navy-900);
  box-shadow: 0 6px 16px rgb(10 31 68 / 0.16);
  transform: translateY(50%);
}

.vv-shot__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.vv-shot__body {
  padding: 2.25rem 1.1rem 1.2rem;
}

.vv-shot__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.vv-shot__text {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-500);
}

/* Amenity checklist reuses .why-feature cards */
.vv-amenities {
  margin-top: 1.75rem;
  gap: 0.75rem;
}

.vv-amenities .why-feature {
  align-items: center;
}

@media (min-width: 700px) {
  .vv-amenities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
  }
}

.vv-inside .plans-bar {
  margin-top: 1.75rem;
}

/* Why section: show the full van instead of a tall crop */
.gen-why__media img {
  object-position: 50% 55%;
}

@media (prefers-reduced-motion: reduce) {
  .vv-shot {
    transition: none;
  }
}
