/* Destinations Section */
.section.destinations {
  padding: 80px 20px;
  text-align: center;
  margin-top: 120px;
}

.destinations-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
}

.header-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* biar aman kalau layar kecil */
}

.header-line h1 {
  font-size: 38px;
  font-weight: bold;
  line-height: 1.4;
}

.header-line .decor {
  width: 150px;
  height: 40px;
  background: linear-gradient(90deg, #0052D4 0%, #4364F7 50%, #6FB1FC 100%);
  border-radius: 20px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px; 
  max-width: 1200px; 
  margin: 0 auto;
}

.destination-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 14px rgba(0,0,0,0.1);
  transition: transform 0.25s ease;
  transform-origin: center;
}

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

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
}

.price, .rating {
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 14px;
  font-weight: 500;
}

.destination-card h3 {
  padding: 0 16px 20px;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}

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

/* Tablet */
@media (max-width: 1024px) {
  .header-line h1 {
    font-size: 32px;
  }

  .header-line .decor {
    width: 120px;
    height: 30px;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .card-image {
    height: 180px;
  }

  .destination-card h3 {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section.destinations {
    padding: 60px 15px;
    margin-top: 80px;
  }

  .header-line h1 {
    font-size: 26px;
    text-align: center;
  }

  .header-line .decor {
    width: 90px;
    height: 24px;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-image {
    height: 160px;
  }

  .card-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .price, .rating {
    font-size: 13px;
    padding: 5px 10px;
  }
}

/* Extra Small (HP kecil) */
@media (max-width: 480px) {
  .header-line h1 {
    font-size: 22px;
  }

  .destinations-grid {
    gap: 15px;
  }

  .card-image {
    height: 140px;
  }

  .destination-card h3 {
    font-size: 15px;
  }

  .price, .rating {
    font-size: 12px;
    padding: 4px 8px;
  }
}
