/* ==========================================================================
   Adventure Nomad — Extras Page CSS
   ========================================================================== */

/* --- Split hero (shared pattern — duplicated here so extras.css is self-contained) --- */
.page-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 55vh;
}

.page-hero-split__content {
  background: var(--charcoal);
  padding: 80px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero-split__content h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 12px 0 16px;
}

.page-hero-split__content .lead {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-6);
}

.page-hero-split__image {
  position: relative;
  overflow: hidden;
}

.page-hero-split__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-hero-breadcrumb ol {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.split-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.split-hero-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .page-hero-split {
    grid-template-columns: 1fr;
  }

  .page-hero-split__image {
    height: 260px;
    min-height: 260px;
    order: -1;
    display: block;
  }

  .page-hero-split__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .page-hero-split__content {
    padding: 40px 6vw;
  }
}

/* --- Extras grid --- */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-5);
  max-width: var(--max-width);
  margin: var(--space-6) auto 0;
}

.extra-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--light-grey);
}

.extra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.extra-card-img {
  aspect-ratio: 4 / 3;
  background: var(--charcoal-mid);
  overflow: hidden;
}

.extra-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.extra-card:hover .extra-card-img img {
  transform: scale(1.05);
}

.extra-card-info {
  padding: var(--space-4) var(--space-5);
}

.extra-card-info h3 {
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.extra-card-info p {
  font-size: 0.88rem;
  margin-bottom: var(--space-3);
  color: var(--warm-grey);
}

.extra-price-tag {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal-deep);
  font-size: 1.05rem;
}

/* --- Bundle highlight section --- */
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: var(--max-width);
  margin: var(--space-6) auto 0;
}

.bundle-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.bundle-card--gold {
  border: 2px solid var(--gold);
}

.bundle-header {
  padding: var(--space-5) var(--space-6);
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
}

.bundle-card--gold .bundle-header {
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-mid));
}

.bundle-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.bundle-card--bronze .bundle-tier { color: #CD7F32; }
.bundle-card--silver .bundle-tier { color: #C0C0C0; }
.bundle-card--gold .bundle-tier   { color: var(--gold); }

.bundle-header h3 {
  color: var(--white);
  font-size: 1.3rem;
}

.bundle-body {
  padding: var(--space-5) var(--space-6);
  background: var(--white);
}

.bundle-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.bundle-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9rem;
  color: var(--charcoal);
}

.bundle-item::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- How to add section --- */
.how-to-add {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

/* --- Extra card icon variant --- */
.extra-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  padding: var(--space-6);
  aspect-ratio: auto;
  min-height: 120px;
}

.extra-card-icon {
  width: 48px;
  height: 48px;
  stroke: var(--teal-deep);
}

/* --- Extra card badges --- */
.extra-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.extra-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
}

.extra-badge--motorhome {
  background: rgba(0, 180, 200, 0.12);
  color: var(--teal-deep);
}

.extra-badge--boat {
  background: rgba(26, 31, 46, 0.08);
  color: var(--charcoal);
}

.extra-badge--specific {
  background: rgba(212, 160, 23, 0.15);
  color: #8a6500;
}

.extra-badge--bundle {
  background: rgba(0, 180, 200, 0.18);
  color: var(--teal-deep);
  font-weight: 700;
}

/* Bundle card highlight */
.extra-card--bundle {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(0, 180, 200, 0.25), var(--shadow-sm);
}

.extra-card--bundle .extra-card-icon-wrap {
  background: rgba(0, 180, 200, 0.08);
}

.extra-card--bundle .extra-card-icon {
  stroke: var(--teal);
}

/* --- How to add steps --- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.how-step {
  text-align: center;
}

.how-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.how-step h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.how-step p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

/* --- Fleet teaser cards --- */
.extras-fleet-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
}

.extras-fleet-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.extras-fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.extras-fleet-card__img {
  aspect-ratio: 16 / 9;
  background: var(--charcoal-mid);
  overflow: hidden;
}

.extras-fleet-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.extras-fleet-card:hover .extras-fleet-card__img img {
  transform: scale(1.04);
}

.extras-fleet-card__body {
  padding: var(--space-5) var(--space-6);
}

.extras-fleet-card__body h3 {
  font-size: 1.3rem;
  margin: var(--space-1) 0 var(--space-2);
}

.extras-fleet-card__body p {
  color: var(--warm-grey);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .how-steps {
    gap: var(--space-5);
  }
}

@media (max-width: 768px) {
  .bundles-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .extras-fleet-links {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .extras-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .extras-grid {
    gap: var(--space-4);
  }
}
