/* ============================================
   VOYAGES PAGE STYLES
   Matching Figma Design
   ============================================ */

.voyages-page {
  padding: 60px 0 100px;
  background-color: #FFFFFF;
}

.voyages-title {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0c133d;
  text-align: left;
  margin-bottom: 40px;
  padding-left: 15px;
}

.voyages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 15px;
}

.voyage-card {
  position: relative;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.voyage-card:hover {
  transform: translateY(-5px);
}

.voyage-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voyage-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.voyage-card__title {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3;
}

.voyage-card__details {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 10px;
}

.voyage-card__detail-item {
  display: flex;
  flex-direction: column;
}

.voyage-card__label {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}

.voyage-card__value {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #FFFFFF;
}

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

@media (max-width: 768px) {
  .voyages-grid {
    grid-template-columns: 1fr;
  }
  
  .voyages-title {
    font-size: 24px;
    text-align: center;
    padding-left: 0;
  }
  
  .voyage-card {
    height: 350px;
  }
}
