/* ============================================================
   TRANSPORT — Luxury Vehicle Showcase Redesign
   ============================================================ */

.transport {
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
  background: var(--sand-beige);
}

.transport__bg {
  display: none;
}

.transport__inner {
  position: relative;
  z-index: 1;
}

.transport__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.transport__header .section-label { justify-content: center; }
.transport__header .section-subtitle { margin: 0 auto; }

.transport__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

/* Base Card Styles */
.transport__card {
  text-decoration: none !important;
  color: inherit !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #18181a !important;
  border-radius: 16px !important;
  padding: 54px 30px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  min-height: 320px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
  box-sizing: border-box;
}

/* Card Pseudo-element Background Images & Overlays */
.transport__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.transport__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 18, 20, 0.4) 0%, rgba(10, 10, 12, 0.88) 100%) !important;
  z-index: 1;
}

/* Keep card text and icons above background overlay */
.transport__card > * {
  position: relative;
  z-index: 2;
}

/* Individual card backgrounds corresponding to the themes */
.transport__card:nth-child(1)::before {
  background-image: url('../assets/images/transport-airport.png');
}
.transport__card:nth-child(2)::before {
  background-image: url('../assets/images/transport-cab.png');
}
.transport__card:nth-child(3)::before {
  background-image: url('../assets/images/transport-group.png');
}
.transport__card:nth-child(4)::before {
  background-image: url('../assets/images/luxury-transport.png');
}

/* Hover Zoom & Glow Interactions */
@media (hover: hover) {
  .transport__card:hover::before {
    transform: scale(1.06) !important;
  }
  
  .transport__card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(167, 123, 52, 0.45) !important;
    box-shadow: 0 16px 40px rgba(167, 123, 52, 0.12),
                0 0 20px rgba(167, 123, 52, 0.05) !important;
  }
  
  .transport__card:hover .transport__card-icon {
    transform: translateY(-4px) scale(1.05) !important;
    background-color: rgba(167, 123, 52, 0.2) !important;
    border-color: rgba(167, 123, 52, 0.5) !important;
    box-shadow: 0 0 12px rgba(167, 123, 52, 0.3) !important;
  }
}

/* Card Icons circular gold theme */
.transport__card-icon {
  width: 60px !important;
  height: 60px !important;
  margin: 0 auto 20px !important;
  background: rgba(167, 123, 52, 0.1) !important;
  border: 1px solid rgba(167, 123, 52, 0.25) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--gold) !important;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              background-color 0.35s ease,
              border-color 0.35s ease !important;
}

.transport__card-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke: var(--gold) !important;
  fill: none !important;
}

/* Card Texts styling */
.transport__card-title {
  font-family: var(--font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
}

.transport__card-desc {
  font-size: 0.85rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* ============================================================
   RESPONSIVE LAYOUTS
   ============================================================ */

/* Tablet (2-column layout) */
@media (max-width: 1024px) {
  .transport__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* Mobile (< 768px) Overrides */
@media (max-width: 767px) {
  .transport__inner {
    padding: 32px 24px !important;
  }

  .transport__header {
    text-align: left !important;
    margin-bottom: 24px !important;
  }

  .transport__header .section-label {
    justify-content: flex-start !important;
  }

  .transport__header .section-subtitle {
    margin: 0 !important;
  }

  /* Single column full-width */
  .transport__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  /* Realign elements horizontally on mobile */
  .transport__card {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 18px !important;
    row-gap: 4px !important;
    text-align: left !important;
    align-items: center !important;
    padding: 20px 24px !important;
    min-height: unset !important;
    width: 100% !important;
  }

  .transport__card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .transport__card-icon {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    margin: 0 !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
  }

  .transport__card-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .transport__card-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    font-size: 1.1rem !important;
    text-align: left !important;
  }

  .transport__card-desc {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    font-size: 0.82rem !important;
    text-align: left !important;
  }
}

@media (max-width: 480px) {
  .transport__inner {
    padding: 24px 16px !important;
  }

  .transport__card {
    padding: 18px 20px !important;
    column-gap: 14px !important;
  }

  .transport__card-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }

  .transport__card-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .transport__card-title {
    font-size: 1rem !important;
  }

  .transport__card-desc {
    font-size: 0.78rem !important;
  }
}
